DisplayMediaStreamOptions Class
The options of getDisplayMedia() (https://w3c.github.io/mediacapture-screen-share/#dom-displaymediastreamoptions).
public sealed class DisplayMediaStreamOptionsConstructors
| Name | Description |
|---|---|
| DisplayMediaStreamOptions() |
DisplayMediaStreamOptions()
DisplayMedia.cspublic DisplayMediaStreamOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Audio | Gets whether the audio is requested, or the constraints of the audio track. |
| AudioSelection | Gets whether the user chooses the audio, or null. |
| Controller | Gets the controller of the capture, or null. |
| MonitorTypeSurfaces | Gets whether the monitors should be offered, or null. |
| SelfBrowserSurface | Gets whether the surface of the application should be offered, or null. |
| SurfaceSwitching | Gets whether the user can switch the surface, or null. |
| SystemAudio | Gets whether the audio of the system should be offered, or null. |
| Video | Gets whether the video is requested (it must be), or the constraints of the video track. |
| WindowAudio | Gets which audio should be offered with a window, or null. |
Audio
DisplayMedia.csGets whether the audio is requested, or the constraints of the audio track.
public BooleanOrMediaTrackConstraints Audio { get; init; }AudioSelection
DisplayMedia.csGets whether the user chooses the audio, or null.
public AudioSelectionPreference? AudioSelection { get; init; }Controller
DisplayMedia.csGets the controller of the capture, or null.
public CaptureController? Controller { get; init; }MonitorTypeSurfaces
DisplayMedia.csGets whether the monitors should be offered, or null.
public MonitorTypeSurfaces? MonitorTypeSurfaces { get; init; }SelfBrowserSurface
DisplayMedia.csGets whether the surface of the application should be offered, or null.
public SelfCapturePreference? SelfBrowserSurface { get; init; }SurfaceSwitching
DisplayMedia.csGets whether the user can switch the surface, or null.
public SurfaceSwitchingPreference? SurfaceSwitching { get; init; }SystemAudio
DisplayMedia.csGets whether the audio of the system should be offered, or null.
public SystemAudioPreference? SystemAudio { get; init; }Video
DisplayMedia.csGets whether the video is requested (it must be), or the constraints of the video track.
public BooleanOrMediaTrackConstraints Video { get; init; }WindowAudio
DisplayMedia.csGets which audio should be offered with a window, or null.
public WindowAudioPreference? WindowAudio { get; init; }