|
|
|
|
|
by recursive
412 days ago
|
|
It's a less hard problem than the duet. If the round-trip is 38ms, you can estimate that the one-way latency is 19ms. You tell the the other client to play the audio now, and you schedule it for 19ms in the future. That's assuming standard OS and hardware and drivers can manage latency with that degree of precision, which I have serious doubts about. In a duet, your partner needs to hear you now and you need to hear them now. With pre-recorded audio, you can buffer into the future. |
|
If you _don’t_ have real time communication, then you don’t really need to solve this problem. But the problem is fundamentally unsolvable because the speed of light (in a vacuum) is the speed of causality and, as I say, puts a hard cap on simultaneity. This tends to be regarded as obvious at interstellar distances but it affects us at transatlantic distances too.