Contact emails
Spec
This specification has been proposed as a WICG item, but not yet transferred there.
Summary
WebRTC Frame Event Logging API will allow web applications that use WebRTC to record timestamps when each frame is processed by different parts of the processing pipeline. Each frame is uniquely identified, which allows to correlate timestamps on both ends of the connection and then measure total end-to-end latency for each individual frame. This will allow to measure click-to-effect performance, camera-to-screen lag and so on.
Motivation
Applications that use WebRTC APIs do not control directly the data sent over media streams. Browser is responsible for all steps of media processing from the capture device on the sender side (microphone or camera) to the render device on the receiver (audio playback device or screen). This means that currently it’s not possible for an application to measure end-to-end performance of a WebRTC connection. It's also not possible to know how much time is spent in each part of the pipeline.
Interoperability and Compatibility Risk
The API will be used mainly for performance evaluation. Application that use WebRTC will still work on browsers that don’t support the new API, but they won’t be able to measure end-to-end performance.
Edge: No signals
Firefox: No signals
Safari: No signals
Web developers: Positive. Several teams at Google expressed interest. Particularly it will be useful for Chrome Remote Desktop.
Compatibility risk
None. This is a new API that doesn’t affect other features.
Ongoing technical constraints
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
OWP launch tracking bug
Link to entry on the feature dashboard
Requesting approval to ship?
No