AudioPublishOptions class

Options used when publishing audio.

Inheritance

Constructors

AudioPublishOptions({String? name, String? stream, bool dtx = true, bool? red = true, int audioBitrate = AudioPreset.music})
const

Properties

audioBitrate int
max audio bitrate
final
dtx bool
Whether to enable DTX (Discontinuous Transmission) or not. https://en.wikipedia.org/wiki/Discontinuous_transmission Defaults to true.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
Name of the track.
finalinherited
red bool?
red (Redundant Audio Data)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream String?
Set stream name for the track. Audio and video tracks with the same stream name will be placed in the same MediaStream and offer better synchronization. By default, camera and microphone will be placed in a stream; as would screen_share and screen_share_audio
finalinherited

Methods

copyWith({bool? dtx, int? audioBitrate, String? name, String? stream, bool? red}) AudioPublishOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultMicrophoneName → const String