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.

To make the audio sound available to all client devices and players, you must enable transcoding of the audio received from an IP camera.

To do so, install the flussonic-ffmpeg package:

apt-get install -y flussonic-ffmpeg

and enable sound transcoding in the camera:

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

or

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.