Video bitrate for push/view links

How to control video bitrates for basic push/view links

The default settings

The default video bitrate for simple push/view links is 2500-kbps.

https://vdo.ninja/?push=streamid https://vdo.ninja/?view=streamid By default, both outgoing and incoming video bitrates are set at 2500-kbps. This default setting and parameters are different if using Rooms and explained in detail here.

There are five parameters we will take a look at:

  1. &videobitrate (&vb) -> view side

On the source side (&push)

&outboundvideobitrate (&ovb) Sets the target and maximum outgoing video bitrate on the source side.

https://vdo.ninja/?push=streamid&ovb=4000 https://vdo.ninja/?view=streamid The push link sets the outgoing and incoming video bitrate to 4000-kbps. The view link doesn't need an additional parameter as its bitrate is set at 4000-kbps because the push link is using &ovb.

&maxvideobitrate (&mvb) &mvb is similar to &ovb but it sets the target and maximum bitrate per stream out.

https://vdo.ninja/?push=streamid&mvb=1000 https://vdo.ninja/?view=streamid Every view link has a video bitrate of 1000-kbps.

&limittotalbitrate (&ltb) Limits the total outbound video bitrate to a defined value.

https://vdo.ninja/?push=streamid&ltb=5000 https://vdo.ninja/?view=streamid The incoming video bitrate will still default to around 2500-kbps but permits the viewer to increase it on their end with &ltb telling the push link to not get higher than 5000-kbps total outgoing bitrate.

On the viewer side (&view)

&videobitrate (&vb) The view link is setting the target and maximum video bitrate per incoming stream.

https://vdo.ninja/?push=streamid https://vdo.ninja/?view=streamid&vb=2000 The view link is setting the bitrate per incoming stream (in this case 2000-kbps). So if you have a view link with three incoming video feeds: &view=stream1,stream2,stream3 - every source is pushing 2000-kbps as &vb=2000 and the view link has a combined bitrate of 6000-kbps.

&totalscenebitrate (&tsb) This is similar to &vb but it sets the target and maximum bitrate for all incoming streams combined.

https://vdo.ninja/?push=streamid https://vdo.ninja/?view=streamid&tsb=3000 So if you have a view link with three incoming video feeds: &view=stream1,stream2,stream3 - every source is pushing 1000-kbps as &tsb=3000.

Mixing the parameters

As doing some testing there were these results:

All the three push parameters are always limiting the maximum. So if you set one of the three parameters to a value, the outgoing video bitrate will never be higher than you set it.

&tsb also always limits the bitrate on the viewer side, whereas &vb is overwritten by &ovb and &mvb.

  • &ovb is overwriting &vb

  • &mvb is overwriting &vb

  • &tsb is stronger than &ovb

Video Bitrate ParametersVideo bitrate in rooms

Last updated