mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-19 08:37:54 +01:00
![]() Before this CL, the packetsLost and jitter stats (as returned by GetStats, at the API level) were only being updated when an RTCP SR or RR is generated. According to the stats spec, "local" stats like this should be updated any time a packet is received. This CL also fixes some minor issues with the calculation of packetsLost (and fractionLost): * Packets weren't being count as lost if lost over a sequence number rollover. * Temporary periods of "negative" loss (caused by duplicate or out of order packets) weren't being accumulated into the cumulative loss counter. Example: Period 1: Received packets 1, 2, 4 Loss over that period: 1 (expected 4 packets, got 3) Reported cumulative loss: 1 Period 2: Received packets 3, 5 Loss over that period: -1 (expected 1 packet, got 2) Reported cumulative loss: 1 (should be 0!) Landing with NOTRY because Android compile bots are broken for an unrelated reason. NOTRY=True Bug: webrtc:8804 Change-Id: I840ba34de8957b1276f6bdaf93718f805629f5c8 Reviewed-on: https://webrtc-review.googlesource.com/50020 Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Oskar Sundbom <ossu@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23731} |
||
---|---|---|
.. | ||
test | ||
utility | ||
audio_level.cc | ||
audio_level.h | ||
audio_receive_stream.cc | ||
audio_receive_stream.h | ||
audio_receive_stream_unittest.cc | ||
audio_send_stream.cc | ||
audio_send_stream.h | ||
audio_send_stream_tests.cc | ||
audio_send_stream_unittest.cc | ||
audio_state.cc | ||
audio_state.h | ||
audio_state_unittest.cc | ||
audio_transport_impl.cc | ||
audio_transport_impl.h | ||
BUILD.gn | ||
channel.cc | ||
channel.h | ||
channel_proxy.cc | ||
channel_proxy.h | ||
conversion.h | ||
DEPS | ||
mock_voe_channel_proxy.h | ||
null_audio_poller.cc | ||
null_audio_poller.h | ||
OWNERS | ||
remix_resample.cc | ||
remix_resample.h | ||
remix_resample_unittest.cc | ||
time_interval.cc | ||
time_interval.h | ||
time_interval_unittest.cc | ||
transport_feedback_packet_loss_tracker.cc | ||
transport_feedback_packet_loss_tracker.h | ||
transport_feedback_packet_loss_tracker_unittest.cc |