Flussonic Media Server documentation

Processing audio from IP cameras

Most IP cameras are able to output sound only in PCMA/PCMU codecs (also known as G. 711a and G. 711u).

Flussonic can record this codec into the archive and send it to those protocols that can transmit this codec: RTMP and HDS. Other protocols do not imply transmitting the codec, so it is impossible to send such a sound via HLS or upload it to MP4 so that the client hears it.

In order to make all customers hear the sound, one can enable sound transcoding from the camera's IP.

To do so, one has to install the flussonic-ffmpeg packet:

apt-get install -y flussonic-ffmpeg

and enable sound transcoding in the camera:

stream cam1 {
  url rtsp2://....;


stream cam1 {
  url rtsp://.... aac=true;

In this configuration, Flussonic will transcode the audio to aac, and send it to all clients on all protocols.