NERtc iOS SDK  V4.4.301
构造函数 | 所有成员列表
<NERtcEngineMediaStatsObserver>协议 参考

Occurs when the stats are collected. 更多...

#import <NERtcEngineStatistics.h>

类 <NERtcEngineMediaStatsObserver> 继承关系图:

构造函数

(void) - onRtcStats:
 Occurs when the stats of the current call is collected The SDK reports the stats of the current call to the app on a regular basis. 更多...
 
(void) - onLocalAudioStat:
 Occurs when the stats of the local audio stream are collected. 更多...
 
(void) - onRemoteAudioStats:
 Occurs when the stats of the remote audio stream in the call are collected. 更多...
 
(void) - onLocalVideoStat:
 Occurs when the stats of the video stream are collected. 更多...
 
(void) - onRemoteVideoStats:
 Occurs when the stats of the remote video stream in the call are collected The message sent by this callback describes the stats of the video stream in a peer-to-peer call from the remote user. 更多...
 
(void) - onNetworkQuality:
 Returns the uplink and downlink network quality report for each user during the call The message sent by this callback describes the network status of each user during the call. 更多...
 

详细描述

Occurs when the stats are collected.

函数文档

◆ onLocalAudioStat:

- (void) onLocalAudioStat: (NERtcAudioSendStats *)  stat
optional

Occurs when the stats of the local audio stream are collected.

The message sent by this callback describes the stats of the audio stream published by the local device. The callback is triggered every 2 seconds.

参数
statThe stats of the local audio stream. For more information, see NERtcAudioSendStats.

◆ onLocalVideoStat:

- (void) onLocalVideoStat: (NERtcVideoSendStats *)  stat
optional

Occurs when the stats of the video stream are collected.

The message sent by this callback describes the stats of the video stream published by the local device. The callback is triggered every 2 seconds.

参数
statThe stats of the local video stream. For more information, see NERtcVideoSendStats.
注解
The API is disabled in the audio-only SDK. If you need to use the API, you can download the standard SDK from the official website of YunXin and replace the audio-only SDK.

◆ onNetworkQuality:

- (void) onNetworkQuality: (NSArray< NERtcNetworkQualityStats * > *)  stats
optional

Returns the uplink and downlink network quality report for each user during the call The message sent by this callback describes the network status of each user during the call.

The callback is triggered every 2 seconds.

参数
statsUser network status array

◆ onRemoteAudioStats:

- (void) onRemoteAudioStats: (NSArray< NERtcAudioRecvStats * > *)  stats
optional

Occurs when the stats of the remote audio stream in the call are collected.

The message sent by this callback describes the stats of the audio stream in a peer-to-peer call from the remote user. The callback is triggered every 2 seconds.

参数
statsAn array of audio stats of the audio stream from each remote user. For more information, see NERtcAudioRecvStats.

◆ onRemoteVideoStats:

- (void) onRemoteVideoStats: (NSArray< NERtcVideoRecvStats * > *)  stats
optional

Occurs when the stats of the remote video stream in the call are collected The message sent by this callback describes the stats of the video stream in a peer-to-peer call from the remote user.

The callback is triggered every 2 seconds.

参数
statsAn array of stats of the video stream from a remote user. For more information, see NERtcVideoRecvStats
注解
The API is disabled in the audio-only SDK. If you need to use the API, you can download the standard SDK from the official website of YunXin and replace the audio-only SDK.

◆ onRtcStats:

- (void) onRtcStats: (NERtcStats *)  stat
optional

Occurs when the stats of the current call is collected The SDK reports the stats of the current call to the app on a regular basis.

The callback is triggered every 2 seconds.

参数
statNERTC engine statistics: NERtcStats

该协议的文档由以下文件生成: