MediaStreamTrackVideoStats Class
The statistics of the frames of a video track (https://w3c.github.io/mediacapture-extensions/#the-mediastreamtrackvideostats-interface): the frames produced by its source while the track is enabled, at the native frame rate of the source, and the ones delivered at the frame rate of the settings of the track (the other ones are discarded by the frame rate decimation).
public sealed class MediaStreamTrackVideoStatsProperties
| Name | Description |
|---|---|
| DeliveredFrames | Gets the number of frames delivered to the sinks of the track. |
| DiscardedFrames | Gets the number of frames that were not delivered (the frame rate of the track is lower than the one of its source). |
| TotalFrames | Gets the number of frames produced by the source while the track was enabled. |
DeliveredFrames
MediaStreamTrackStats.csGets the number of frames delivered to the sinks of the track.
public ulong DeliveredFrames { get; }DiscardedFrames
MediaStreamTrackStats.csGets the number of frames that were not delivered (the frame rate of the track is lower than the one of its source).
public ulong DiscardedFrames { get; }TotalFrames
MediaStreamTrackStats.csGets the number of frames produced by the source while the track was enabled.
public ulong TotalFrames { get; }