switch Camera
abstract fun switchCamera(switchEventsHandler: CameraVideoCapturer.CameraSwitchHandler)
Content copied to clipboard
Switch camera to the next valid camera id. This can only be called while the camera is running. This function can be called from any thread.
abstract fun switchCamera(switchEventsHandler: CameraVideoCapturer.CameraSwitchHandler, cameraName: String)
Content copied to clipboard
Switch camera to the specified camera id. This can only be called while the camera is running. This function can be called from any thread.