Open sraja415 opened 4 years ago
thanks for adding the code to the issue tracker. anybody feel free to add this to the code and providing a pull request. the streaming url environment variable in the docker-compose will have to be changed to a list to allow multiple urls. I would suggest a comma separated string ...
It will be great if we can stream to Multiple RTMP URL. It will be great if we can have an update based on the solution provided by Antonio Guirado
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bigbluebutton-dev/G8nB8iMia2k/E1KC4UeNBgAJ
Hi,
you can edit code and use ffmpeg commands to do a "tee" to encode only one time and have 2 or more outputs (you don't need more CPU or Memory resources).
For example, I use the following command (see mainly bold parameters):
$FFMPEG -thread_queue_size 1024 -f x11grab -draw_mouse 0 -s 1920x1080 -i :1000 -f alsa -i pulse -ac 2 -c:a aac -b:a 64k -threads 0 -flags +global_header -c:v libx264 -pix_fmt yuv420p -s 1920x1080 -preset ultrafast -threads 0 -f tee -map 0:0 -map 1:0 "[f=flv]$BBB_STREAM_URL1|[f=flv]$BBB_STREAM_URL2"