Re:Sonobus: Open-source app for low latency peer-to-peer audio
by MayeulC on Wednesday February 17, 2021 @06:01AM
(#26165046)
I think parent says that +/-200ms is acceptable for snapcast, but unacceptable for lip-syncing.
I am not sure snapcast can't sync down to a few ms. If so, the issue would be syncing video with the audio clients, which certainly sounds feasible if integrated in the video player. That's what jellyfin does: https://github.com/jellyfin/jellyfin-web/pull/1011 (I tried to help a bit with that one).
I wonder if you can't grab the latency correction factor from snapcast in real-time, and somehow apply it to you video stream as well? This has been raised before it seems [1], and in another issue, the snapcast author recommends looking at RTP based streaming instead of snapcast [2].
Seems like snapcast may not be ideal for this after-all :)
[1] https://github.com/badaix/snapcast/issues/57
[2] https://github.com/badaix/snapcast/issues/731#issuecomment-7...