Configurations for the video track for screen sharing. Set these configurations when calling AgoraRTC.createScreenVideoTrack.
sourceId when you share the screen through Electron.
The video encoder configurations for screen sharing.
You can set the video encoder configurations in either of the following ways:
extensionId when you share the screen with a Chrome extension.
Transmission optimization mode. Whether to prioritize video quality or smoothness:
"detail": (Default) Prioritizes video quality.
"motion": Prioritizes video smoothness.
Note: This method is only supported on Chrome.
The type of the source for screen sharing.
This parameter is valid only on Firefox.