DisplayMediaStreamOptions constructor
DisplayMediaStreamOptions({
- dynamic video,
- dynamic audio,
- SelfCapturePreferenceEnum? selfBrowserSurface,
- SystemAudioPreferenceEnum? systemAudio,
- SurfaceSwitchingPreferenceEnum? surfaceSwitching,
Implementation
factory DisplayMediaStreamOptions(
{dynamic video,
dynamic audio,
SelfCapturePreferenceEnum? selfBrowserSurface,
SystemAudioPreferenceEnum? systemAudio,
SurfaceSwitchingPreferenceEnum? surfaceSwitching}) =>
DisplayMediaStreamOptions._(
video: video ?? true,
audio: audio ?? false,
selfBrowserSurface: selfBrowserSurface?.value ?? undefined,
systemAudio: systemAudio?.value ?? undefined,
surfaceSwitching: surfaceSwitching?.value ?? undefined);