From 8a47aec3581f0272677ffbbbc9d488c50fbd973d Mon Sep 17 00:00:00 2001
From: xengineering <me@xengineering.eu>
Date: Sun, 14 Jan 2024 20:27:05 +0100
Subject: 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
---
 doc/documentation.tex | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'doc/documentation.tex')

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.
-- 
cgit v1.2.3-70-g09d2

