StreamDataCounters::last_packet_received_timestamp_ms added.
This a standard stat: https://w3c.github.io/webrtc-stats/#dom-rtcinboundrtpstreamstats-lastpacketreceivedtimestamp This is collected by StreamStatisticianImpl. A follow-up CL with plumb it to the RTCStatsCollector. Bug: webrtc:10449 Change-Id: I44e7f4735f9df78704ce21198f52e66d11e63740 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/130479 Reviewed-by: Åsa Persson <asapersson@webrtc.org> Commit-Queue: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27416}
This commit is contained in:
committed by
Commit Bot
parent
cf2df2fb97
commit
cb755b001c
@ -108,6 +108,7 @@ StreamDataCounters StreamStatisticianImpl::UpdateCounters(
|
||||
int64_t now_ms = clock_->TimeInMilliseconds();
|
||||
|
||||
incoming_bitrate_.Update(packet.size(), now_ms);
|
||||
receive_counters_.last_packet_received_timestamp_ms = now_ms;
|
||||
receive_counters_.transmitted.AddPacket(packet);
|
||||
|
||||
int64_t sequence_number =
|
||||
|
||||
Reference in New Issue
Block a user