aau-zid / BigBlueButton-liveStreaming

Streams a given BBB Meeting to an RTMP Server.
GNU General Public License v3.0
201 stars 160 forks source link

Unify ffmpeg commands for stream and download #138

Closed oxzi closed 2 years ago

oxzi commented 3 years ago

Previously, two ffmpeg commands were executed if the download flag was set. These two commands had hardcoded the same parameters. Further, since at least for the input they had the same task, they unnecessarily caused a lot of load. By unifying into one command with two outputs, the load on my test system dropped noticeably.

mtsonline commented 2 years ago

Thanks again for this contribution!