snapclient icon indicating copy to clipboard operation
snapclient copied to clipboard

Silent sections in stream causes Resyncing Hard 2

Open blattm opened this issue 2 months ago • 3 comments

I just noticed the following issue (maybe related to #117). When I stream some content with silent sections (e.g. https://www.youtube.com/watch?v=ucZl6vQ_8Uo ) The snapclient resyncs in every little break, and when it restarts, the timing is off at first. If I mix constant white noise to the signal and therefore eliminate the silent parts, the issue does not occur. The linux snapclient does not have this issue. The setup was: Laptop -> Bluetooth -> Snapserver 0.34 on Raspberry Pi -> Snapclient (AI Thinker esp32 audio kit v2.2.).

I guess some part of the chain detects the silent sections and prevents data packages from being sent out. And then we handle this somewhat differently than the Linux package.

blattm avatar Nov 11 '25 21:11 blattm