summaryrefslogtreecommitdiff
path: root/doc/documentation.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/documentation.tex')
-rw-r--r--doc/documentation.tex31
1 files changed, 6 insertions, 25 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index 65d0dc8..fe58ba6 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -71,35 +71,16 @@ seconds a new discovery packet is emitted by soundbox. Thus it can take up to
\section{Playing audio} \label{playing-audio}
-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{5316} of a local multicast IPv4 address for incoming
-audio streams. Since multicast is used, this can be executed on multiple
-soundbox devices to stream to all of them.
+Audio can be streamed to \texttt{soundbox} devices with the \texttt{ffmpeg}
+command. Audio files or internet stream addresses can be passed as input.
\begin{verbatim}
- ffplay udp://224.0.0.99:5316
+ffmpeg -re -i <input> -acodec libmp3lame -f matroska \
+ udp://224.0.0.99:5316
\end{verbatim}
-As soon as the soundbox is listening the stream can be send from another
-computer in the same network with this command:
-
-\begin{verbatim}
- ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" \
- -acodec libmp3lame -f matroska udp://224.0.0.99:5316
-\end{verbatim}
-
-It will send a simple sine wave with 400~Hz to the soundbox device.
-Alternatively a MP3 file can be sent like this:
-
-\begin{verbatim}
- ffmpeg -re -i <file-path> \
- -acodec libmp3lame -f matroska udp://224.0.0.99:5316
-\end{verbatim}
-
-These commands allow to test the \texttt{soundbox} device setup.
+More details about FFmpeg streaming can be read from the FFmpeg streaming
+guide\footnote{\href{https://trac.ffmpeg.org/wiki/StreamingGuide}{https://trac.ffmpeg.org/wiki/StreamingGuide}}.
\chapter{Production}