aes67-daemon/daemon/scripts/fetch_streamer_files.sh
Andrea Bondavalli 466f6b4fc4 First import of HTTP Streamer functionality in the daemon used to receive AES67 audio streams via HTTP file streaming.
The HTTP Streamer can be enabled via the _streamer_enabled_ daemon parameter.
When the Streamer is active the daemon starts capturing the configured _Sinks_ up to the maximum number of channels configured by the _streamer_channels_ parameters.

The captured PCM samples are split into _streamer_files_num_ files of _streamer_file_duration_ duration (in seconds) for each sink, compressed using AAC LC codec and served via HTTP.

The HTTP streamer requires the libfaac-dev package to compile.

Please note that since the HTTP Streamer uses the RAVENNA ALSA device for capturing it's not possible to use such device for other audio captures.
2024-07-06 17:27:49 +02:00

9 lines
528 B
Bash
Executable File

curl http://10.0.0.13:8080/api/streamer/stream/0/0 --output 0.aac
curl http://10.0.0.13:8080/api/streamer/stream/0/1 --output 1.aac
curl http://10.0.0.13:8080/api/streamer/stream/0/2 --output 2.aac
curl http://10.0.0.13:8080/api/streamer/stream/0/3 --output 3.aac
curl http://10.0.0.13:8080/api/streamer/stream/0/4 --output 4.aac
curl http://10.0.0.13:8080/api/streamer/stream/0/5 --output 5.aac
curl http://10.0.0.13:8080/api/streamer/stream/0/6 --output 6.aac
curl http://10.0.0.13:8080/api/streamer/stream/0/7 --output 7.aac