Measuring overall frame delay from server to client

184 views
Skip to first unread message

DarKingdoom almot

unread,
Jan 16, 2022, 11:47:51 AM1/16/22
to discuss-webrtc
Hey,

Given that I have WebRTC video producer and a consumer, and given that I am transmitting a video and the last frame that was transmitted is frame X, on the client side, How I can measure the total delay from the time that this frame X was transmitted until it was received ? and maybe until it was decoded ?

In the client side I have the frames received each second and the frames decoded each second, but I am not aware about the network delay and not aware what is the total difference in time from the moment that the frame is encoded-> transmitted until it received->decoded, is there a way to measure it and to build some KPI upon it so I can know how changing different attributes can affect the experience of the consumer ?

Best Regards

Philipp Hancke

unread,
Jan 17, 2022, 6:56:06 AM1/17/22
to discuss...@googlegroups.com
requestVideoFrameCallback together with capture time comes close.
However whether it provides any value of over simply measuring the STUN or RTCP RTT is unclear.

--

---
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 on the web visit https://groups.google.com/d/msgid/discuss-webrtc/a11fd0cb-d514-4b9d-84f4-5bedbaa7cdb0n%40googlegroups.com.

DarKingdoom almot

unread,
Jan 18, 2022, 12:24:53 PM1/18/22
to discuss-webrtc
Thanks,

Jernej Jerin

unread,
Jan 27, 2022, 1:15:54 AM1/27/22
to discuss-webrtc
There is also a section in the open source book webrtcforthecurious talking about hot to measure end-to-end latency, it might help you.
Reply all
Reply to author
Forward
0 new messages