MediaCapture.CameraStreamState MediaCapture.CameraStreamState MediaCapture.CameraStreamState MediaCapture.CameraStreamState MediaCapture.CameraStreamState Property

Definition

Gets the current stream state of the camera stream.

public : CameraStreamState CameraStreamState { get; }
CameraStreamState CameraStreamState();
public CameraStreamState CameraStreamState { get; }
Public ReadOnly Property CameraStreamState As CameraStreamState
var cameraStreamState = mediaCapture.cameraStreamState;

Property Value

The current stream state of the camera stream.

Additional features and requirements

Capabilities
backgroundMediaRecording

Remarks

The state of the camera stream will change when recording is paused or resumed, when the system drops frames for privacy reasons, or when the camera stream is lost. To be notified when the camera stream state changes, handle the CameraStreamStateChanged event.

See also