Audio only live stream

Sending an audio-only stream

FFMpeg can be used to send an audio-only stream. An example of settings that work to stream a file to our systems:

ffmpeg -re -i test.flac -vn -c:a aac -b:a 96k -f flv rtmp://user-origin.secdn.net/user-origin/live/stream

Any source can be used, as long as you ensure the settings you are sending with are correct. Make sure the audio is AAC or MP3, and the container format is FLV.

If you are sending from a pre-recorded file, the -re flag makes it send the stream in 'real time', rather than as fast as it can. Do not use it if your source is already a stream.