start Camera
开启摄像头数据采集
切换摄像头请调用 switchCamera
public abstract void startCamera(int cameraId, boolean mirror, IRCRTCResultDataCallback<Boolean> cameraCallback)
开启指定摄像头数据采集
Parameters
camera Id
mirror
是否镜像视频流该参数设置仅对本地有效(发送出去的数据依然是未处理数据),如果本地视频流做了镜像处理,为了对端观看体验可以添加如下设置:
RongRTCVideoView remoteView = RongRTCEngine.getInstance().createVideoView(CallActivity.this.getApplicationContext()); remoteView.setMirror(boolean);
Content copied to clipboard
camera Callback