switchCamera

fun switchCamera(deviceId: String? = null, position: CameraPosition? = null)

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.