webrtc/modules/rtp_rtcp/source/rtcp_packet
Qingsi Wang b2db53998d Parse the number of packets lost in RTCP SR as a signed integer.
The cumulative number of packets lost in a RTCP sender report can be
negative if there are duplicates. This CL fixes a bug that the parser of
RTCP reports treats the field as an unsigned integer, and incorrectly
reports large packet losses when a negative loss is reported.

Bug: webrtc:9601
Change-Id: I1109ac0741614d61bda743e13a390b7d3e147a9c
Reviewed-on: https://webrtc-review.googlesource.com/92942
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Commit-Queue: Qingsi Wang <qingsi@google.com>
Cr-Commit-Position: refs/heads/master@{#24234}
2018-08-08 16:44:11 +00:00
..
app.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
app.h Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
app_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
bye.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
bye.h Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
bye_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
common_header.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
common_header.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
common_header_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
compound_packet.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
compound_packet.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
compound_packet_unittest.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
dlrr.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
dlrr.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
dlrr_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
extended_jitter_report.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
extended_jitter_report.h Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
extended_jitter_report_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
extended_reports.cc Replace rtc::Optional with absl::optional in modules/rtp_rtcp 2018-06-15 09:53:35 +00:00
extended_reports.h Replace rtc::Optional with absl::optional in modules/rtp_rtcp 2018-06-15 09:53:35 +00:00
extended_reports_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
fir.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
fir.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
fir_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
nack.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
nack.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
nack_unittest.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
pli.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
pli.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
pli_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
psfb.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
psfb.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
rapid_resync_request.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
rapid_resync_request.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
rapid_resync_request_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
receiver_report.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
receiver_report.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
receiver_report_unittest.cc Reland "Make RTCP cumulative_lost be a signed value" 2017-12-08 08:47:09 +00:00
remb.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
remb.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
remb_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
report_block.cc Parse the number of packets lost in RTCP SR as a signed integer. 2018-08-08 16:44:11 +00:00
report_block.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
report_block_unittest.cc Parse the number of packets lost in RTCP SR as a signed integer. 2018-08-08 16:44:11 +00:00
rrtr.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rrtr.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
rrtr_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
rtpfb.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtpfb.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
sdes.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
sdes.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
sdes_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
sender_report.cc Fix clang style errors in rtp_rtcp and dependant targets 2018-02-07 09:48:28 +00:00
sender_report.h Fix clang style errors in rtp_rtcp and dependant targets 2018-02-07 09:48:28 +00:00
sender_report_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
target_bitrate.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
target_bitrate.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
target_bitrate_unittest.cc Replace rtc::Optional with absl::optional in modules/rtp_rtcp 2018-06-15 09:53:35 +00:00
tmmb_item.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
tmmb_item.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
tmmbn.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
tmmbn.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
tmmbn_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
tmmbr.cc Change RtcpPacket::PacketReadyCallback to rtc::FunctionView 2017-12-07 11:20:08 +00:00
tmmbr.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
tmmbr_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
transport_feedback.cc Make rtcp::TransportFeedback copyable. 2018-02-28 08:06:20 +00:00
transport_feedback.h Make rtcp::TransportFeedback copyable. 2018-02-28 08:06:20 +00:00
transport_feedback_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
voip_metric.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
voip_metric.h Delete unneeded includes of basictypes.h. 2018-05-21 19:35:08 +00:00
voip_metric_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00