3 ms·
That makes sense - I believe by default snapcast has a 1000ms buffer. I wonder if you can't grab the latency correction factor from snapcast in real-time, and
by radus 6y ago
That makes sense - I believe by default snapcast has a 1000ms buffer.
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 https://github.com/badaix/snapcast/issues/57
[2] https://github.com/badaix/snapcast/issues/731#issuecomment-734992148 https://github.com/badaix/snapcast/issues/731#issuecomment-7...
- MayeulC 6y agoI 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 https://github.com/jellyfin/jellyfin-web/pull/1011 (I tried to help a bit with that one).