CameraManagerStore
@microblink/camera-manager / CameraManagerStore
Type Alias: CameraManagerStore
CameraManagerStore =
object
The camera manager store.
Properties
cameras
cameras:
Camera[]
The list of cameras that are available to the user.
errorState?
optionalerrorState:Error|CameraError
If the Camera manager has encountered an error, this will be set to the error.
facingFilter?
optionalfacingFilter:FacingMode[]
The facing mode filter that will be used to filter the available cameras. Can be a single facing mode or an array of facing modes.
isQueryingCameras
isQueryingCameras:
boolean
Indicates if camera list is currently being queried.
isSwappingCamera
isSwappingCamera:
boolean
Indicates if the camera is currently being swapped.
mirrorX
mirrorX:
boolean
Indicates if the captured frames will be mirrored horizontally
playbackState
playbackState:
PlaybackState
Capturing / playing / idle.
selectedCamera?
optionalselectedCamera:Camera
The currently selected camera.
videoElement?
optionalvideoElement:HTMLVideoElement
The video element that will display the camera stream.