AudioPublishOptions class
Options used when publishing audio.
Constructors
- AudioPublishOptions({bool dtx = true, int audioBitrate = AudioPreset.music, bool stopMicTrackOnMute = true, String? name})
-
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.
read-onlyinherited
- name → String?
-
Name of the audio track.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- stopMicTrackOnMute → bool
-
Turn off the audio track when muted, to avoid the microphone
indicator light on.
final
Methods
-
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
-
'microphone'