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 will be used.
OptionalmanagedWhether the peer should manage the lifecycle of the stream's tracks. If true, tracks will be stopped when the stream is unpublished or replaced.
Media stream to publish.
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.