DisplayCaptureRequest Class

A request of getDisplayMedia(), given to MediaCaptureBackend.SelectDisplaySurface.

public sealed class DisplayCaptureRequest

Properties

NameDescription
AudioGets whether the audio of the surface is requested.
ContextGets the context of the window that requests the capture.
OptionsGets the options of the request (the constraints of the video and the audio, the preferences of the surfaces to offer).

Gets whether the audio of the surface is requested.

public bool Audio { get; }

Property value

bool

Gets the context of the window that requests the capture.

public CallbackContext Context { get; }

Property value

CallbackContext

Gets the options of the request (the constraints of the video and the audio, the preferences of the surfaces to offer).

public DisplayMediaStreamOptions Options { get; }