framesReceived stats

70 views
Skip to first unread message

Jozsef Vass

unread,
Aug 5, 2026, 1:16:10 PM (9 days ago) Aug 5
to discuss...@googlegroups.com
Hello,

We recently ran into a codec error issue in our Android implementation. This prompted me to check how framesReceived are counted. W3C stats document says these are the frames received by the network before decoding.

I am looking at ReceiveStatisticsProxy::OnDecodedFrame(), which counts decoded key frames and delta frames. In WebRtcVideoReceiveChannel::WebRtcVideoReceiveStream::GetVideoReceiverInfo() you have:
 info.frames_received = stats.frame_counts.key_frames + stats.frame_counts.delta_frames;
This then propagates to CreateInboundRTPStreamStatsFromVideoReceiverInfo().

This is probably not a big deal, but is my description correct?

Thank you.

Jozsef

Philipp Hancke

unread,
Aug 6, 2026, 1:35:34 AM (8 days ago) Aug 6
to discuss...@googlegroups.com

--
This list falls under the WebRTC Code of Conduct - https://webrtc.org/support/code-of-conduct.
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/discuss-webrtc/CACHtiy_uAta6AtvUR3BriiCvfWREfUwZrrQtrr6V8omcGP6tGg%40mail.gmail.com.

Jozsef Vass

unread,
Aug 6, 2026, 9:52:02 AM (8 days ago) Aug 6
to discuss...@googlegroups.com
Our mobile is in the process of upgrading to M146, but my test was on M130. Thank you so much!

Jozsef

Philipp Hancke

unread,
Aug 6, 2026, 9:53:33 AM (8 days ago) Aug 6
to discuss...@googlegroups.com
heh, that bug was indeed *very* unhelpful when debugging decoding failures ;-)

Jozsef Vass

unread,
Aug 6, 2026, 10:32:27 AM (8 days ago) Aug 6
to discuss...@googlegroups.com
Just a quick follow up, now it looks like keyFramesDecoded is actually key frames received.

Jozsef

Philipp Hancke

unread,
Aug 6, 2026, 12:09:02 PM (8 days ago) Aug 6
to discuss...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages