Synchronized audio playback on selected Android devices

I am curious how I will play the same sound on multiple Android devices in sync? seedio for iOS is an example of what I'm talking about.

I can imagine two possible scenarios. Download audio on each device and accurately synchronize the start time of playback. Use the RTP protocol to synchronize live playback.

+7
source share
1 answer

My suggestion was to cache sound on each device and then sync playback.

NTP can give you amazingly good clock synchronization.

Then, maybe, you repeat the clock synchronization so often and restart playback from the common point in the file after taking into account the drift in the clock frequency. How often do you need it, it depends on how many hours it takes on devices.

An interesting research project.

0
source

All Articles