|
NERTC iOS SDK V5.10.1
|
#include <NERtcEngineDelegate.h>
实例方法 | |
| (void) | - onNERtcEnginePlayStreamingStateChange:state:error: |
| 拉流过程中拉流状态改变的回调。 | |
| (void) | - onNERtcEnginePlayStreamingReceiveSeiMessage:message: |
| 拉流过程中收到 SEI 消息的回调。 | |
| (void) | - onNERtcEnginePlayStreamingFirstVideoFrameRender:timeMs:width:height: |
| 拉流过程中首次渲染视频帧的回调。 | |
| (void) | - onNERtcEnginePlayStreamingFirstAudioFramePlayed:timeMs: |
| 拉流过程中首次渲染音频帧的回调。 | |
| (void) | - onNERtcEnginePlayStreamingDuration:totalDurationS:currentPtsS: |
| 拉流过程中播放时长改变的回调。 | |
|
optionalrequired |
拉流过程中播放时长改变的回调。
| streamId | 流 ID。 |
| totalDurationS | 拉流过程中播放的总时长。 |
| currentPtsS | 拉流过程中当前的 PTS。 |
|
optionalrequired |
拉流过程中首次渲染音频帧的回调。
| streamId | 流 ID。 |
| timeMs | 音频帧的时间戳。 |
|
optionalrequired |
拉流过程中首次渲染视频帧的回调。
| streamId | 流 ID。 |
| timeMs | 视频帧的时间戳。 |
| width | 视频帧的宽度。 |
| height | 视频帧的高度。 |
|
optionalrequired |
拉流过程中收到 SEI 消息的回调。
| streamId | 流 ID。 |
| message | SEI 消息。 |
|
optional |
拉流过程中拉流状态改变的回调。
| streamId | 流 ID。 |
| state | 拉流状态。详见 NERtcLivePlayStreamState。 |
| error | 状态改变的原因。详见 NERtcError。 |