summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-05 20:58:34 +0100
committerxengineering <me@xengineering.eu>2024-01-05 20:58:34 +0100
commitcad96e8944a86df30376564dca15661ddef590a4 (patch)
treea6fa2b52bc10da70a89a183df204d43e666ca2c5
parent90286663aa293deeb91bed3ae2319bc77a461467 (diff)
downloadsoundbox-cad96e8944a86df30376564dca15661ddef590a4.tar
soundbox-cad96e8944a86df30376564dca15661ddef590a4.tar.zst
soundbox-cad96e8944a86df30376564dca15661ddef590a4.zip
doc: Switch from UDP port 1234 to UDP port 5316
This port should be used in the future as soundbox standard port.
-rw-r--r--doc/documentation.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index eea482a..967b89d 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -61,10 +61,10 @@ For a simple audio streaming test the following commands from the FFmpeg
streaming
guide\footnote{\href{https://trac.ffmpeg.org/wiki/StreamingGuide\#StreamingasimpleRTPaudiostreamfromFFmpeg}{https://trac.ffmpeg.org/wiki/StreamingGuide\#StreamingasimpleRTPaudiostreamfromFFmpeg}}
can be used. The following command has to be executed on the soundbox to start
-listening on port \texttt{1234} for incoming audio streams:
+listening on port \texttt{5316} for incoming audio streams:
\begin{verbatim}
- ffplay rtp://127.0.0.1:1234
+ ffplay rtp://127.0.0.1:5316
\end{verbatim}
As soon as the soundbox is listening the stream can be send from another
@@ -72,7 +72,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://<soundbox-ip>:1234
+ -f rtp rtp://<soundbox-ip>:5316
\end{verbatim}
It will send a simple sine wave with 400~Hz to the soundbox device.
@@ -80,7 +80,7 @@ Alternatively a mp3 file can be sent like this:
\begin{verbatim}
ffmpeg -i '/path/to/file.mp3' -acodec libmp3lame -ar 11025 \
- -f rtp rtp://<soundbox-ip>:1234
+ -f rtp rtp://<soundbox-ip>:5316
\end{verbatim}
These commands allow to test the \texttt{soundbox} device setup.