MediaCaptureRequest Class
A request to start a capture device, given to MediaCaptureBackend.StartCapture.
public sealed class MediaCaptureRequestProperties
| Name | Description |
|---|---|
| Device | Gets the device to start. |
| Settings | Gets the settings selected by the constraints of the request (e.g. the size of the frames, the sample rate). |
| TimeProvider | Gets the clock of the event loop of the document (BrowsingContextOptions.TimeProvider): the timestamps of the media are measured with it. |
Device
MediaCaptureBackend.csSettings
MediaCaptureBackend.csGets 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
TimeProvider
MediaCaptureBackend.csGets the clock of the event loop of the document (BrowsingContextOptions.TimeProvider): the timestamps of the media are measured with it.
public TimeProvider TimeProvider { get; }