OTPublisherKitAudioNetworkStats
パブリッシャーのオーディオ統計について説明します。詳しくは[OTPublisherKit setNetworkStatsDelegate:]。
プロパティ
| 名称 |
タイプ |
説明 |
connectionId |
NSString * |
サブスクライブしているクライアントの接続ID。 |
subscriberId |
NSString * |
(中継セッションにおいて)ストリームを購読しているクライアントの購読者ID。ルーティングセッションでは、これは空の文字列に設定されます。 |
audioPacketsLost |
int64_t |
加入者(またはOpenTok Media Router)に到達しなかったオーディオパケットの推定数。 |
audioPacketsSent |
int64_t |
加入者(またはOpenTok Media Router)に送信されたオーディオパケットの数。 |
audioBytesSent |
int64_t |
加入者(またはOpenTok Media Router)に送信されるオーディオバイト数 |
timestamp |
ダブル |
これらの統計情報が収集された時点のタイムスタンプ(Unixエポックからの経過時間(ミリ秒単位))。 |
startTime |
ダブル |
累積合計の集計が開始された時点のタイムスタンプ(Unixエポックからの経過時間(ミリ秒単位))。 |
transport |
OTTransportStats * |
ネットワーク推定の統計値。 |
方法
| 名称 |
説明 |
initWithConnectionId:subscriberId:packetsLost:packetsSent:bytesSent:timestamp:startTime:transport:(connectionId, subscriberId, packetsLost, packetsSent, bytesSent, timestamp, startTime, transport) → {instancetype} |
|
initWithConnectionId:subscriberId:packetsLost:packetsSent:bytesSent:timestamp:startTime:transport:(connectionId, subscriberId, packetsLost, packetsSent, bytesSent, timestamp, startTime, transport) →{instancetype}
パラメータ:
| 名称 |
タイプ |
説明 |
connectionId |
NSString * |
|
subscriberId |
NSString * |
|
packetsLost |
int64_t |
|
packetsSent |
int64_t |
|
bytesSent |
int64_t |
|
timestamp |
ダブル |
|
startTime |
ダブル |
|
transport |
OTTransportStats * |
|
リターンズ