Skip to content

v0.3.7

Choose a tag to compare

@rudyberends rudyberends released this 28 Jul 16:08
· 9 commits to main since this release
feat(server): expose the player's declared format list (v0.3.7)

A host could read the negotiated stream format but not the list the client
declared in client/hello, so it had no way to check whether a format other
than the client's first preference was acceptable.

Hosts need the whole list to match the *source* instead of always taking
entry 0: a client that lists 48 kHz first but also declares 96 kHz can be
served a 24-bit/96 kHz file untouched, with no resampling on the way.

Returns copies, and an empty array when the client declared nothing.