MediaCaptureRequest Class

A request to start a capture device, given to MediaCaptureBackend.StartCapture.

public sealed class MediaCaptureRequest

Properties

NameDescription
DeviceGets the device to start.
SettingsGets the settings selected by the constraints of the request (e.g. the size of the frames, the sample rate).
TimeProviderGets the clock of the event loop of the document (BrowsingContextOptions.TimeProvider): the timestamps of the media are measured with it.

Gets the device to start.

public MediaCaptureDevice Device { get; }

Property value

MediaCaptureDevice

Gets the settings selected by the constraints of the request (e.g. the size of the frames, the sample rate).

public MediaTrackSettings Settings { get; }

Property value

MediaTrackSettings

Gets the clock of the event loop of the document (BrowsingContextOptions.TimeProvider): the timestamps of the media are measured with it.

public TimeProvider TimeProvider { get; }

Property value

TimeProvider