AudioPublishOptions class
Options used when publishing audio.
- Inheritance
-
- Object
- PublishOptions
- AudioPublishOptions
Constructors
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_audiofinalinherited
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