Repository navigation
Advise players to list a format every server can stream - #79
Open
maximmaxim345 wants to merge 1 commit into
Open
maximmaxim345 wants to merge 1 commit into
maximmaxim345 wants to merge 1 commit into
Conversation
✅ Deploy Preview for sendspin-website ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
1 task done
kahrendt
pushed a commit
to Sendspin/spec
that referenced
this pull request
Oct 28, 2026
<!-- Describe the change and why it is needed. --> The spec promised that a player listing `flac` or `pcm` can be served by every server, but `bit_depth`, `channels` and `sample_rate` had no bounds. A player listing only formats outside what a server produces was compliant but never got a stream, with no error sent to it. A server producing just one narrow format was also compliant. This names a set every server has to produce. `flac`: - 16 bit, 1 channel, 44100 Hz - 16 bit, 1 channel, 48000 Hz - 16 bit, 2 channels, 44100 Hz - 16 bit, 2 channels, 48000 Hz - 24 bit, 1 channel, 44100 Hz - 24 bit, 1 channel, 48000 Hz - 24 bit, 2 channels, 44100 Hz - 24 bit, 2 channels, 48000 Hz `pcm`: - 16 bit, 1 channel, 44100 Hz - 16 bit, 1 channel, 48000 Hz - 16 bit, 2 channels, 44100 Hz - 16 bit, 2 channels, 48000 Hz I don't think this is a hard requirement for servers. Most audio is already at 44.1 or 48 kHz, so at most one sample rate conversion is needed. Converting bit depth, mixing down to mono and FLAC encoding are all cheap. `pcm` only needs 16 bit, which keeps its bandwidth at about 1.5 Mbit/s for stereo at 48 kHz, while `flac` covers 24 bit. `aiosendspin` already does all of this. The player side moves out of the spec: the rule that players list `flac` or `pcm` is removed, and the implementation guide recommends listing at least one entry from this set instead. Related: - Sendspin/sendspin-audio.com#79 - [x] I accept the [Contributor License Agreement](../blob/main/CONTRIBUTOR-LICENSE-AGREEMENT.md) for this contribution.
maximmaxim345
marked this pull request as ready for review
October 29, 2026 09:48
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The player format requirement left the spec, so the guide now recommends listing at least one
flacorpcmentry that every server produces.It also says what happens without one: the server never starts a stream.
Related: