EricssonResearch / scream

SCReAM - Mobile optimised congestion control algorithm
BSD 2-Clause "Simplified" License
174 stars 53 forks source link

Does the gstreamer plugin subtract the RTP overhead? #15

Open j-licht opened 5 years ago

j-licht commented 5 years ago

As I read in your presentation, it's necessary to subtract the RTP overhead from the given bitrate, before set it to the encoder. From my understanding of the plugin code, this doesn't happen.

IngJohEricsson commented 5 years ago

Hi Ideally one should subtract the cost of the RTP overhead but because the RTP overhead is only ~1% of a typical MTU sized RTP packet it is not really necessary. The rate control algorithm in SCReAM compensates for moderate errors and the output rate also varies around the target bitrate. It becomes more important to subtract the overhead if you add FEC and the FEC overhead is e.g 20% of the encoder bitrate. /Ingemar