You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decide timing and seams of format changes via in-place stream/start #294
roles/player/v1.md says the first chunk in the new format MUST follow the last chunk in the previous format, and that servers MUST NOT resend audio already sent.
When should the player hear the new format?
After the audio already sent (current spec). Gapless and nothing is sent twice, but it's only heard once the buffer plays out.
Same, but audio still queued on the server doesn't count as sent, so the server can drop it. Spec clarification only.
Right away, with a new opt-in message that drops buffered audio from a timestamp onward (kepstin's idea on Discord, also useful for changing the next track).
Right away, with stream/clear. Works today, but leaves a gap and resends the whole buffer.
A server sharing one encoder between players can only switch at that encoder's next chunk boundary. How should that be handled?
Allow a gap shorter than one chunk, no overlap. No client change, since players already fill gaps with silence. aiosendspin does this today.
Keep the exact rule and bridge with a short chunk from a separate encoder. More server work, and awkward for Opus.
Allow an overlap and define which copy the player keeps. Needs a client change.
changed the title [-]Allow a small seam when a format change continues the player timeline[/-][+]Decide timing and seams of format changes via in-place `stream/start`[/+]on Oct 7, 2026
Activity
shadialhasan commentedon Oct 1, 2026
Fix resent audio at mid-stream player format changes (#456)
[-]Allow a small seam when a format change continues the player timeline[/-][+]Decide timing and seams of format changes via in-place `stream/start`[/+]Allow a gap at player format changes (Sendspin#301)