AudioPublishOptions
Options for publishing audio tracks.Properties
Custom name for the audio track.
Preferred encoding parameters for the audio track.
Enable Discontinuous Transmission (DTX) for audio. When enabled, audio packets are not sent during silence, reducing bandwidth usage.
Enable Redundant Encoding (RED) for audio to improve reliability.
Custom stream name for the audio track.
Enable pre-connection buffering for the audio track.
Usage
VideoPublishOptions
Options for publishing video tracks.Properties
Custom name for the video track.
Preferred encoding parameters for the video track.
Encoding parameters specifically for screen share.
Enable simulcasting, which publishes three tracks at different sizes for adaptive streaming.
Custom simulcast layer configuration.
Custom simulcast layers for screen share.
Preferred video codec for encoding.
Preferred backup codec for encoding.
Controls how the encoder should degrade quality when bandwidth is limited.
Custom stream name for the video track.