-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
audio stutters after several minutes of streaming #133
Comments
Is your Sonos wired or is it a WiFi connection? |
Thanks for your reply. |
This leaves 2 possibilities that I can see:
Edit: from 1.10.5 on you can also let swyh-rs do some buffering, what happens if you enable let's say a 100 msec buffer? Does the time before stuttering begins increase? |
Hey, currently having the same issue, yes i'm also on wifi (both sonos and laptop). I can understand sometimes it's because i hit 100% CPU due to what i do, but most time after 15/45m the audio start to stutter more and more (if i keep the audio in stutter for 5m i then have bigger stutters of .5s without audio). Also i don't think the wifi is busy as i'm alone with the sonos, my computer and my phone on it. And to finish, i think the most probable cause is yes the sonos that gets desync due to something (maybe the clock, but idk how to check). Maybe a test to check if it's the clock (replace the sonos with a pc/phone) :
|
I'm afraid that the only thing you can do is a quick stop/start streaming in swyh-rs to get the Sonos in sync again. |
Question: are you streaming flac format, and if not, does using flac make any difference? |
Hi @dheijl , i wasn't using FLAC but WAV, i switched to FLAC and saw that for whatever reason there was an increasing delay between the pc audio and the sonos (at start .5s beacause buffer time, after 10m it was 5s delay). Sadly i wasn't able to listen for very long as people came visit me, but after 15m there was not stutter, i will keep you updated on this. |
As flac compresses the output an increase in the delay on startup is unavoidable. But if the audio clocks on both devices are the same it should not increase after that. So this seems to point to a difference in clock speed between the pc and the Sonos. |
Hi,
First of all, I want to thank you for your great work. I only expected it would be suitable for music, but it turns out that the latency is enough for video/gaming.
However, there is an issue: Every time I start streaming the audio is fine, but after some time (I would say about 10-20 minutes) , the audio begins to stutter and crack a lot. Then if I restart streaming it would work well again.
Is there any tip you could show me about this issue? I stream to a Sonos Era 100 btw.
The text was updated successfully, but these errors were encountered: