RTP dynamic bitrate depending on network condition

Nicolas Dufresne nicolas at ndufresne.ca
Wed Feb 20 15:36:27 UTC 2019


Le mercredi 20 février 2019 à 07:45 -0600, vk_gst a écrit :
> Hi Justin,
> 
> You can try accessing the sender report at the sender side, and get an idea
> about the bandwidth by accessing the following fields : 

Or just read the estimated bandwidth found in the stats. Something
closer to REMB would be to also use the variation of the round-trip-
time to do early detection of the remote queues filling.

  RTPSource of main RTP SSRC: see bitrate in stats structure
  RTPSource of the RTCP SSRC: see rb-round-trip in stats structure

You should increase the RTCP interval, as the default of 5s is not very
reactive for this type of measurement.

> 
> >                 SSRC_1 (SSRC of first source)                 | report
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ block
> > fraction lost |       cumulative number of packets lost       |   1
> -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >           extended highest sequence number received           |
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >                      interarrival jitter                      |
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >                         last SR (LSR)                         |
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >                   delay since last SR (DLSR)                  |
> 
> You still have to write a logic on how you would estimate the bandwidth
> based on these parameters.
> 
> Have a look  here <https://www.freesoft.org/CIE/RFC/1889/19.htm>  .
> 
> Regards
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190220/beb66e3c/attachment.sig>


More information about the gstreamer-devel mailing list