JRTCSDK-iOS
v1.0.9
API文档
|
视频对象,用于UI层方便操作视频 更多...
构造函数 | |
(bool) | - replace: |
(void) | - pause |
暂停视频渲染 | |
(void) | - resume |
恢复视频渲染 | |
(void) | - rotate: |
旋转角度,必须是90的倍数,该角度表示与屏幕正方向旋转后的夹角 更多... | |
(bool) | - snapshot:heigh:filePath: |
视频通话截图 更多... | |
(void) | - setFrameCallBack: |
设置视频帧回调 更多... | |
属性 | |
NSString * | videoSource |
UIView * | videoView |
JCMediaDeviceRender | renderType |
id | customData |
视频对象,用于UI层方便操作视频
- (bool) replace: | (NSString *) | videoSource |
@breif 更新视频渲染标识
videoSource | 视频源 |
- (void) rotate: | (int) | angle |
旋转角度,必须是90的倍数,该角度表示与屏幕正方向旋转后的夹角
angle | 角度值 |
- (void) setFrameCallBack: | (id< JCMediaDeviceVideoFrameCallback >) | frameCallBack |
设置视频帧回调
frameCallBack | 回调对象 |
- (bool) snapshot: | (int) | width | |
heigh: | (int) | height | |
filePath: | (NSString *) | filePath | |
视频通话截图
width | 截屏宽度像素,-1为视频源像素 |
height | 截屏高度像素,-1为视频源像素 |
filePath | 文件路径 |
|
readwritenonatomicassign |
自定义数据
|
readnonatomicassign |
渲染模式
|
readnonatomicassign |
渲染标识
|
readnonatomicstrong |
视频视图,用于UI显示