[Live-devel] StatsIterator sometimes doesn't return any stats
Ross Finlayson
finlayson at live555.com
Thu Feb 15 00:52:10 PST 2024
The number of “RTPReceptionStats” records can decrease if a source ends (e.g., it if sends a RTCP “BYE” packet, and/or if it gets closed down by the proxy server). When this happens, the corresponding “RTPReceptionStats” record is removed from the database. And thus, it will also no longer contribute to the “Total” of “totNumKBytesReceived()” byte counts.
So, if you use this data, you need to take into account the possibility of a “RTPReceptionStats” record getting removed.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list