CameraStreamController
public protocol CameraStreamController : MediaStreamController
Control local video streams captured from the device camera
-
Camera name
Declaration
Swift
var cameraName: String { get set }
-
Switches the stream to a new camera
Declaration
Swift
func switchCamera(_ camera: CameraFormat) -> Promise<Void>
-
Changes the capture format of the current camera
Declaration
Swift
func changeFormat(_ format: FrameFormat) -> Promise<Void>