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.
25 lines
669 B
Bash
Executable File
25 lines
669 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Tested on Ubuntu 18.04
|
|
#
|
|
|
|
sudo apt update
|
|
sudo apt-get install -y psmisc
|
|
sudo apt-get install -y build-essential
|
|
sudo apt-get install -y clang
|
|
sudo apt-get install -y git
|
|
sudo apt-get install -y cmake
|
|
# sudo apt-get install -y npm
|
|
sudo apt-get install -y libboost-all-dev
|
|
sudo apt-get install -y valgrind
|
|
sudo apt-get install -y linux-sound-base
|
|
sudo apt-get install -y alsa-base
|
|
sudo apt-get install -y alsa-utils
|
|
sudo apt-get install -y libasound2-dev
|
|
sudo apt-get install -y linuxptp
|
|
sudo apt-get install -y libavahi-client-dev
|
|
sudo apt install -y linux-headers-$(uname -r)
|
|
sudo apt-get install -y libsystemd-dev
|
|
sudo apt-get install -y libfaac-dev
|
|
|