8

我很好奇如何在多个 android 设备上同步播放相同的音频?iOS 的seedio就是我所说的一个例子。

我可以想到两种可能的情况。缓存每个设备上的音频并精确同步播放开始时间。使用类似 RTP 的协议实时同步播放。

4

1 回答 1

0

My suggestion would be to cache the audio an every device and then synchronize the playback.

NTP can get you surprisingly good clock synchronization.

Then maybe you redo the clock sync ever so often and restart playback from a common point in the file after to account for drift in clock speeds. How often you need this will vary based on how much clock drift there is on the devices.

An interesting research project.

于 2013-03-21T02:38:54.503 回答