OpenTok.Subscriber.VideoNetworkStatsEventArgs

public class VideoNetworkStatsEventArgs : EventArgs

Enclosing type: OpenTok.Subscriber

Defines arguments for VideoStatsUpdated events.

Properties

Name Type Description
PacketsLost UInt64 { get; } The total number of video packets lost by the subscriber.
PacketsReceived UInt64 { get; } The total number of video packets received by the subscriber.
BytesReceived UInt64 { get; } The total number of video bytes received by the subscriber.
Timestamp Double { get; } The timestamp for when these stats were gathered.
SenderStats SenderStats { get; } This property is deprecated. Use SubscriberMediaLinkStats instead, which provides complete network metrics including visibility into the remote publisher's transport performance and network degradation attribution. This property may be null if stats are not available. Due to network latency, sender statistics may not be immediately available after the initial stats request.
Width int { get; } The width of the video frame, in pixels.
Height int { get; } The height of the video frame, in pixels.
DecodedFrameRate double { get; } The decoded video frame rate (in frames per second).
Bitrate long { get; } The bitrate in bits per second.
TotalBitrate long { get; } The total bitrate (including RTP headers, padding, and payload).
PauseCount Int64 { get; }
TotalPausesDuration Int64 { get; } The cumulative duration (in milliseconds) of all video pauses.
FreezeCount Int64 { get; } The number of times the subscriber’s video has frozen. A freeze is defined according to the WebRTC stats specification .
TotalFreezesDuration Int64 { get; } The cumulative duration (in milliseconds) of all video freezes.
Codec string { get; } The name of the codec currently used for this subscriber's video stream.
SenderQualityRestriction QualityRestriction { get; } Indicates sender-imposed video quality restrictions, if any.
RemotePublisherQualityRestriction QualityRestriction { get; } Indicates remote publisher imposed video quality restrictions, if any.