JRTCSDK-iOS
v1.0.9
API文档
|
设备模块回调 更多...
构造函数 | |
(void) | - onCameraUpdate |
摄像头变化 | |
(void) | - onAudioOutputTypeChange: |
音频输出变化 更多... | |
(void) | - onRenderReceived: |
收到第一帧数据 更多... | |
(void) | - onRenderStart: |
渲染开始 更多... | |
(void) | - onVideoError: |
(void) | - onAudioInerruptAndResume: |
声音中断恢复 更多... | |
(void) | - onSnapshotComplete:width:height: |
(void) | - onVideoCaptureDidStart: |
设备模块回调
- (void) onAudioInerruptAndResume: | (bool) | interrupt |
声音中断恢复
interrupt | true 表示中断,false 表示恢复 |
- (void) onAudioOutputTypeChange: | (NSString *) | audioOutputType |
音频输出变化
audioOutputType | 音频输出类型 |
- (void) onRenderReceived: | (JCMediaDeviceVideoCanvas *) | canvas |
收到第一帧数据
canvas | 渲染对象 |
- (void) onRenderStart: | (JCMediaDeviceVideoCanvas *) | canvas |
渲染开始
canvas | 渲染对象 |
- (void) onSnapshotComplete: | (NSString *) | file | |
width: | (int) | width | |
height: | (int) | height | |
截图完成事件
file | 截图路径 |
width | 宽 |
height | 高 |
- (void) onVideoCaptureDidStart: | (NSString *) | captureId |
视频采集开始回调
captureId | 摄像头id |
- (void) onVideoError: | (NSString *) | error |
视频异常
error | 视频异常原因 |