Declare the RTCP packets_lost field as signed in the API.
The definition of this field in RFC 3550 says that under certain conditions it may have a negative value. This change exposes that property in the WebRTC API. Bug: webrtc:8626 Change-Id: I4ee249da045dcee940db66ebd915268a97fc13db Reviewed-on: https://webrtc-review.googlesource.com/31260 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21159}
This commit is contained in:

committed by
Commit Bot

parent
99b1bd1553
commit
c7c4191325
@ -104,7 +104,7 @@ struct RtcpStatistics {
|
||||
|
||||
uint8_t fraction_lost;
|
||||
union {
|
||||
uint32_t packets_lost;
|
||||
int32_t packets_lost; // Defined as a 24 bit signed integer in RTCP
|
||||
RTC_DEPRECATED uint32_t cumulative_lost;
|
||||
};
|
||||
union {
|
||||
|
Reference in New Issue
Block a user