JCSDK Java API Reference for Android
2.5.1
|
Public 成员函数 | |
SurfaceView | getVideoView () |
void | pause () |
void | resume () |
void | rotate (int angle) |
boolean | snapshot (int width, int height, String filePath) |
String | getVideoSource () |
Public 属性 | |
Object | customData |
视频对象
|
inline |
获取视频渲染视图
|
inline |
暂停视频渲染
|
inline |
恢复视频渲染
|
inline |
旋转角度,必须是90的倍数,该角度表示与屏幕正方向旋转后的夹角
angle | 角度值 |
|
inline |
视频通话截图
调用此方法时需要保证该视频对象正在渲染,否则将调用失败
width | 截屏宽度像素,-1为视频源像素 |
height | 截屏高度像素,-1为视频源像素 |
filePath | 文件路径,需精确到文件名及格式,例如:/sdcard/emulated/0/picture.png。请确保目录存在且可写。 |
|
inline |
返回渲染源标识