OptionalaudioPreferred audio encoding parameters to apply to the stream's audio tracks, such as bitrate or priority.
OptionalmaxBitrate?: numberPreferred maximum bitrate in bits per second to encode the audio tracks.
Optionalpriority?: RTCPriorityTypePreferred priority for encoding the audio tracks.
OptionallabelStream label. If omitted, the default label is used. A MediaStream
passed to share() or unshare() directly uses its id as the label.
OptionalmanagedWhether the caller manages the lifecycle of the stream's tracks. If true, tracks are not stopped when the stream is unshared or replaced, and the stream is not unshared automatically when its tracks end.
Media stream to share.
OptionalvideoPreferred video encoding parameters to apply to the stream's video tracks, such as bitrate, frame rate, or priority.
OptionalmaxBitrate?: numberPreferred maximum bitrate in bits per second to encode the video tracks.
OptionalmaxFramerate?: numberPreferred maximum frame rate to encode the video tracks.
Optionalpriority?: RTCPriorityTypePreferred priority for encoding the video tracks.
OptionalscaleResolutionDownBy?: numberPreferred scale factor to downscale the video resolution.
Local stream publication options.