OTSubscriberKitVideoNetworkStats

特定の購読者の動画統計について説明します。詳しくは[OTSubscriberKit setNetworkStatsDelegate:]。

プロパティ

名称 タイプ 説明
videoPacketsLost uint64_t この加入者において、失われたと推定されるビデオパケットの数。
videoPacketsReceived uint64_t この加入者が受信したビデオパケットの数。
videoBytesReceived uint64_t この加入者が受信した動画データのバイト数。
timestamp ダブル これらの統計情報が収集された時点のタイムスタンプ(Unixエポックからの経過時間(ミリ秒単位))。
senderStats OTSenderStats * 送信側ネットワーク推定統計情報。このプロパティはオプションであり、データが利用できない場合はnilとなる場合があります。ネットワークの遅延により、最初の統計情報リクエストの後、送信側の統計情報がすぐには利用できない場合があります。 非推奨: 加入者向けメディアリンクの統計情報を使用する(OTSubscriberKitMediaLinkStats) を使用すると、リモートパブリッシャーのトランスポートやネットワーク品質低下の原因に関する情報を含む、完全なネットワークメトリクスを取得できます。
width int32_t 動画フレームの幅(ピクセル単位)。
height int32_t 動画フレームの高さ(ピクセル単位)。
decodedFrameRate ダブル デコード後のフレームレート(1秒あたりのフレーム数)。
bitrate int64_t ビットレート(ビット/秒)。
totalBitrate int64_t RTPヘッダー、パディング、およびペイロードを含む総ビットレート(ビット/秒)。
pauseCount int64_t 加入者の動画再生が一時停止した回数。前回のレンダリングフレームから経過した時間が5秒を超えた場合、動画は一時停止状態とみなされます。
totalPausesDuration int64_t すべての動画の一時停止の合計時間(ミリ秒単位)。
freezeCount int64_t 加入者の動画がフリーズした回数。「フリーズ」は、以下の基準に基づいて定義されます。 https://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-freezecount
totalFreezesDuration int64_t すべての映像のフリーズの合計時間(ミリ秒単位)。
codec NSString * この加入者に対して現在使用されているコーデック。
senderQualityRestriction OT品質制限 送信者側による動画品質の制限がある場合、それを示します。これは、現在の送信ホップ(例:P2Pトポロジーにおけるメディアルーターやダイレクトパブリッシャー)で適用されている制限を反映したものです。送信者側の統計情報が無効になっている場合は、制限される可能性があります。
remotePublisherQualityRestriction OT品質制限 リモートパブリッシャーによって課された動画品質の制限がある場合、それを示します。これは、上流の配信元パブリッシャーによって適用され、最終的に受信ストリームの品質に影響を与える制限を反映したものです。送信側での統計情報の収集が無効になっている場合、制限されることがあります。

方法

名称 説明
initWithPacketsLost:packetsReceived:bytesReceived:timestamp:(packetsLost, packetsReceived, bytesReceived, timestamp) → {instancetype}
initWithPacketsLost:packetsReceived:bytesReceived:timestamp:senderStats:(packetsLost, packetsReceived, bytesReceived, timestamp, senderStats) → {instancetype}
initWithPacketsLost:packetsReceived:bytesReceived:timestamp:senderStats:width:height:decodedFrameRate:bitrate:totalBitrate:pauseCount:totalPausesDuration:freezeCount:totalFreezesDuration:codec:senderQualityRestriction:remotePublisherQualityRestriction:(packetsLost, packetsReceived, bytesReceived, timestamp, senderStats, width, height, decodedFrameRate, bitrate, totalBitrate, pauseCount, totalPausesDuration, freezeCount, totalFreezesDuration, codec, senderQualityRestriction, remotePublisherQualityRestriction) → {instancetype}

initWithPacketsLost:packetsReceived:bytesReceived:timestamp:(packetsLost, packetsReceived, bytesReceived, timestamp) →{instancetype}

パラメータ:
名称 タイプ 説明
packetsLost uint64_t
packetsReceived uint64_t
bytesReceived uint64_t
timestamp ダブル
リターンズ

initWithPacketsLost:packetsReceived:bytesReceived:timestamp:senderStats:(packetsLost, packetsReceived, bytesReceived, timestamp, senderStats) →{instancetype}

パラメータ:
名称 タイプ 説明
packetsLost uint64_t
packetsReceived uint64_t
bytesReceived uint64_t
timestamp ダブル
senderStats OTSenderStats *
リターンズ

initWithPacketsLost:packetsReceived:bytesReceived:timestamp:senderStats:width:height:decodedFrameRate:bitrate:totalBitrate:pauseCount:totalPausesDuration:freezeCount:totalFreezesDuration:codec:senderQualityRestriction:remotePublisherQualityRestriction:(packetsLost, packetsReceived, bytesReceived, timestamp, senderStats, width, height, decodedFrameRate, bitrate, totalBitrate, pauseCount, totalPausesDuration, freezeCount, totalFreezesDuration, codec, senderQualityRestriction, remotePublisherQualityRestriction) →{instancetype}

パラメータ:
名称 タイプ 説明
packetsLost uint64_t
packetsReceived uint64_t
bytesReceived uint64_t
timestamp ダブル
senderStats OTSenderStats *
width int32_t
height int32_t
decodedFrameRate ダブル
bitrate int64_t
totalBitrate int64_t
pauseCount int64_t
totalPausesDuration int64_t
freezeCount int64_t
totalFreezesDuration int64_t
codec NSString *
senderQualityRestriction OT品質制限
remotePublisherQualityRestriction OT品質制限
リターンズ