Skip to content

Commit 5d057a5

Browse files
jrdclaude
andcommitted
docs/JAMULUS_PROTOCOL.md: document raw audio option
Per review: mention the raw (uncompressed PCM) audio option alongside OPUS/OPUS64 — how it's advertised (FS_RAW_AUDIO in CLM_SERVER_FEATURES), disabled (--noraw), and how the Server tells it apart from OPUS (packet-size comparison against the exact raw-PCM byte count, since there's no distinct message type). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent bd397ed commit 5d057a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/JAMULUS_PROTOCOL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ A Directory is a Jamulus Server acting as a registry (implemented in `src/server
283283

284284
The OPUS codec is used to compress the audio over the network and the packets are documented [here](https://datatracker.ietf.org/doc/html/rfc6716).
285285

286-
Jamulus uses a custom OPUS encoder / decoder, giving some different frame sizes, but always uses a 48 kHz sample rate. OPUS and OPUS64 codecs are the only supported options currently.
286+
Jamulus uses a custom OPUS encoder / decoder, giving some different frame sizes, but always uses a 48 kHz sample rate. OPUS and OPUS64 codecs are the standard options; a Server can also accept raw (uncompressed 16-bit PCM) audio instead of OPUS-encoded audio, advertised via the `FS_RAW_AUDIO` bit in `CLM_SERVER_FEATURES` and disabled with the Server's `--noraw` option. A raw audio packet isn't tagged with a distinct message type — since the Server already learns the Client's chosen frame size via `NETW_TRANSPORT_PROPS`, it tells raw audio apart from OPUS by comparing the received packet's size against the exact byte count raw PCM would produce for that frame size and channel count.
287287

288288
The packet size will vary based on:
289289

0 commit comments

Comments
 (0)