[Live-devel] Bitrate estimation.

Ross Finlayson finlayson at live555.com
Wed Nov 29 08:30:07 PST 2023



> On Nov 30, 2023, at 2:27 AM, Ayik Ahmet <a.ayik at constantrobotics.com> wrote:
> 
> Hello, I have implemented a RTSP server based on live555 from my live source it works well with h264 and mjpeg. My question is that is there any feature of live555 such as estimated bitrate for provided frames. By this way I can control my codec while encoding h264 frames. 

Yes, you can look at the statistics provided by incoming RTCP “RR” (Reception Report) packets, which receivers (i.e., RTSP clients) send back automatically.  I.e., you can use the “RTPTransmissionStatsDB” database.  Unfortunately there’s currently no example code to show you how to access the “RTPTransmissionStatsDB” database, but you could look at the similar code in “openRTSP” (a RTSP client) that looks at the “RTPReceptionStatsDB” database (in “testProgs/playCommon.cpp”).


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list