switchCamera abstract method

Future<bool> switchCamera()

旋转本地视频 bool rotateMyVideo(int rotation); 查询本地摄像头设备 List

Implementation

/// 查询本地摄像头设备
///List<CameraDevice> getCameraDeviceList();

/// 获取当前所使用的摄像头ID
// String getSelectedCameraId();

/// 当前使用的是后置摄像头
// bool isBackCamera(String cameraId);

/// 当前使用前置摄像头
// bool isFrontCamera(String cameraId);

/// 切换至对应的摄像头
Future<bool> switchCamera();