视频对象,用于UI层方便操作视频
更多...
#import <JCMediaDeviceVideoCanvas.h>
◆ pause
◆ replace:
| - (bool) replace: |
|
(NSString *) |
videoSource |
|
@breif 更新视频渲染标识
- 参数
-
- 返回
- 成功返回 true,失败返回 false
◆ resume
◆ rotate:
| - (void) rotate: |
|
(int) |
angle |
|
旋转角度,必须是90的倍数,该角度表示与屏幕正方向旋转后的夹角
- 参数
-
◆ snapshot:heigh:filePath:
| - (bool) snapshot: |
|
(int) |
width |
| heigh: |
|
(int) |
height |
| filePath: |
|
(NSString *) |
filePath |
|
|
| |
视频通话截图
- 参数
-
| width | 截屏宽度像素,-1为视频源像素 |
| height | 截屏高度像素,-1为视频源像素 |
| filePath | 文件路径 |
- 返回
- 是否成功
◆ customData
◆ renderType
◆ videoSource
| - (NSString*) videoSource |
|
readnonatomicassign |
◆ videoView
该类的文档由以下文件生成: