diff options
author | xengineering <me@xengineering.eu> | 2024-01-14 20:27:05 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-01-14 20:27:05 +0100 |
commit | 8a47aec3581f0272677ffbbbc9d488c50fbd973d (patch) | |
tree | 1ea8b927d1aa158683bc3c35971641ef1e7e3562 | |
parent | 929e1052d822f8b18f9545375e4f07b9a5c7121a (diff) | |
download | soundbox-8a47aec3581f0272677ffbbbc9d488c50fbd973d.tar soundbox-8a47aec3581f0272677ffbbbc9d488c50fbd973d.tar.zst soundbox-8a47aec3581f0272677ffbbbc9d488c50fbd973d.zip |
doc: Switch from RTP to Matroska and UDP
The Matroska format has to advantage that a stream can be stopped and
the restarted at any time without executing new commands on the soundbox
device.
Since Matroska and RTP have similar / redundant features [1] the
transport protocol is switched to plain UDP.
[1]: https://en.wikipedia.org/wiki/Comparison_of_video_container_formats#cite_note-22
-rw-r--r-- | doc/documentation.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex index ae18485..a74403d 100644 --- a/doc/documentation.tex +++ b/doc/documentation.tex @@ -65,7 +65,7 @@ audio streams. Since multicast is used, this can be executed on multiple soundbox devices to stream to all of them. \begin{verbatim} - ffplay rtp://224.0.0.99:5316 + ffplay udp://224.0.0.99:5316 \end{verbatim} As soon as the soundbox is listening the stream can be send from another @@ -73,7 +73,7 @@ computer in the same network with this command: \begin{verbatim} ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw \ - -f rtp rtp://224.0.0.99:5316 + -f matroska udp://224.0.0.99:5316 \end{verbatim} It will send a simple sine wave with 400~Hz to the soundbox device. @@ -81,7 +81,7 @@ Alternatively a MP3 file can be sent like this: \begin{verbatim} ffmpeg -re -i <file-path> -acodec copy -ar 11025 \ - -f rtp rtp://224.0.0.99:5316 + -f matroska udp://224.0.0.99:5316 \end{verbatim} These commands allow to test the \texttt{soundbox} device setup. |