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 MediaStreamTrackVideoStats

Properties

NameDescription
DeliveredFramesGets the number of frames delivered to the sinks of the track.
DiscardedFramesGets the number of frames that were not delivered (the frame rate of the track is lower than the one of its source).
TotalFramesGets the number of frames produced by the source while the track was enabled.

Gets the number of frames delivered to the sinks of the track.

public ulong DeliveredFrames { get; }

Gets 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; }

Gets the number of frames produced by the source while the track was enabled.

public ulong TotalFrames { get; }