Music assistant streaming stuttering sometimes #129
Labels
No labels
ai-review
ai-tour
bug
enhancement
needs-info
needs-triage
ready-for-agent
ready-for-human
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SBDeveloper/medley#129
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Medley version
0.7.2
Platform
Linux (.deb)
Distribution or OS version
Ubuntu 26.04 LTS
Source or plugin involved
Music Assistant
What happened
Music sometimes stutters when streaming to a Sendspin device
Steps to reproduce
Logs
No response
Triage: ready for agent, as an investigation (no fix before the cause is found)
Repro facts from the reporter:
Hypotheses, to confirm or rule out:
crates/core/src/vban.rssend()sends one 256-frame packet every ~5.8 ms with no lead. When it falls behind it setsnext = now, so the lag of any stall over ~5.8 ms is lost for good instead of caught up. MA's VBAN receiver has a small jitter buffer, so a stall shows up as an underrun.stream_listener.rs(HTTP) has the same pattern at 23 ms.vban-sendthread.Player::renderdoes not block: if the decoder lags it returns silence, which is then sent as-is.Steps:
Might be related to Deezer, after a few songs I do not see the stuttering. Investigate further with me.