switch Camera
fun switchCamera(deviceId: String? = null, position: CameraPosition? = null)
Content copied to clipboard
Switch to a different camera. Only works if this track is backed by a camera capturer.
If neither deviceId or position is provided, or the specified camera cannot be found, this will switch to the next camera, if one is available.
Sources
SDK source
Link copied to clipboard