Toggle simulcast for content share. This should be called before calling startContentShare or
startContentShareFromScreenCapture. The default encoding parameters are:
Simulcast is only supported for the H.264 and VP8 codecs. On Chromium-based browsers the
default content share codec is AV1, which does not support simulcast; when the preferred
codec is AV1 or VP9 the SDK will automatically use SVC instead (see
enableSVCForContentShare). To use simulcast, additionally set an H.264 or VP8 preference
via setContentShareVideoCodecPreferences.
Enable/disable simulcast
OptionalencodingParams: ContentShareSimulcastEncodingParametersOveride the default encoding params for either layer in max bitrate, scale resolution down by, or max frame rate.
Toggle SVC for content share. This should be called before calling startContentShare or
startContentShareFromScreenCapture. This will only have impact if using an SVC supporting
codec for content share, which is currently only AV1 (the default content share codec on
Chromium-based browsers). It cannot be enabled at the same time as simulcast.
Enable/disable SVC
Pause content sharing. This (combined with unpauseContentShare is a lightweight alternative to stopping and
starting content share which requires use of a seperate peer connection and therefore has increased latency.
Remote receivers will continue to subscribe to content share video but there will be nothing transmitting (e.g. it may be a black frame)
Sets the audio profile to use for content sharing. The new audio profile takes effect
on the next call to startContentShare or startContentShareFromScreenCapture or if
already started, upon the next reconnect.
OptionalsetSet codec preferences for this content send stream. See AudioVideoControllerFacade.setVideoCodecSendPreferences
for more information.
Array of [[VideoCodecCapability]].
Start content sharing
Start screen sharing
OptionalsourceId: stringOptionalframeRate: numberStop content sharing
Unpause content sharing
Add an observer