ZegoAudioConfig class

Audio configuration.

Configure audio bitrate, audio channel, audio encoding for publishing stream

Constructors

ZegoAudioConfig(int bitrate, ZegoAudioChannel channel, ZegoAudioCodecID codecID)
ZegoAudioConfig.preset(ZegoAudioConfigPreset preset)
Create a audio configuration with preset enumeration values

Properties

bitrate ↔ int
Audio bitrate in kbps, default is 48 kbps. The settings before and after publishing stream can be effective
read / write
channel ZegoAudioChannel
Audio channel, default is Mono. The setting only take effect before publishing stream
read / write
codecID ZegoAudioCodecID
codec ID, default is ZegoAudioCodecIDDefault. The setting only take effect before publishing stream
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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