Android(Java)[v1.7.5.0]
| Public 成员函数 | 所有成员列表
com.pano.rtc.api.RtcVideoDeviceManager接口 参考

RtcVideoDeviceManager 接口类对应用程序提供了所有的视频设备相关方法。 更多...

interface  CameraController
 CameraController, 相机控制器接口。 更多...
 

Public 成员函数

RtcDeviceInfo[] getCaptureDeviceList ()
 获取视频采集设备列表。 更多...
 
QResult setDeviceOrientation (String deviceId, Integer orientation)
 设置视频设备的初始方位。 更多...
 
QResult setMirrorCorrection (boolean correction)
 设置视频设备的镜像纠正。 更多...
 
CameraController getCameraController (String deviceId)
 获取相机控制器接口。 更多...
 

详细描述

RtcVideoDeviceManager 接口类对应用程序提供了所有的视频设备相关方法。

RtcVideoDeviceManager 对象可以通过 RtcEngine 实例获取。

成员函数说明

◆ getCameraController()

CameraController com.pano.rtc.api.RtcVideoDeviceManager.getCameraController ( String  deviceId)

获取相机控制器接口。

参数
deviceId相机设备ID。
返回
CameraController 对象。

◆ getCaptureDeviceList()

RtcDeviceInfo[] com.pano.rtc.api.RtcVideoDeviceManager.getCaptureDeviceList ( )

获取视频采集设备列表。

返回
返回视频采集设备列表。

◆ setDeviceOrientation()

QResult com.pano.rtc.api.RtcVideoDeviceManager.setDeviceOrientation ( String  deviceId,
Integer  orientation 
)

设置视频设备的初始方位。

参数
deviceId设备ID。
orientation方位值,单位:度。设置null值将会重置以使用系统配置的值。
返回
  • OK: 成功
  • 其它值: 失败

◆ setMirrorCorrection()

QResult com.pano.rtc.api.RtcVideoDeviceManager.setMirrorCorrection ( boolean  correction)

设置视频设备的镜像纠正。

参数
correction镜像纠正标志,默认已开启。
返回
  • OK: 成功
  • 其它值: 失败

该接口的文档由以下文件生成: