Add totalDecodeTime to RTCInboundRTPStreamStats
Pull request to WebRTC stats specification: https://github.com/w3c/webrtc-stats/pull/450 Bug: webrtc:10775 Change-Id: Id032cb324724329fee284ebc84595b9c39208ab8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/144035 Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28440}
This commit is contained in:
committed by
Commit Bot
parent
419aae2ed3
commit
bfd343b9be
@ -277,8 +277,7 @@ void VideoStreamDecoderImpl::Decoded(VideoFrame& decoded_image,
|
||||
absl::optional<int> casted_decode_time_ms(decode_time_ms.value_or(
|
||||
decode_stop_time_ms - frame_timestamps->decode_start_time_ms));
|
||||
|
||||
timing_.StopDecodeTimer(0, *casted_decode_time_ms, decode_stop_time_ms,
|
||||
frame_timestamps->render_time_us / 1000);
|
||||
timing_.StopDecodeTimer(*casted_decode_time_ms, decode_stop_time_ms);
|
||||
|
||||
VideoFrame copy = decoded_image;
|
||||
copy.set_timestamp_us(frame_timestamps->render_time_us);
|
||||
|
||||
Reference in New Issue
Block a user