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
getter/setter pair
channel ZegoAudioChannel
Audio channel, default is Mono. The setting only take effect before publishing stream
getter/setter pair
codecID ZegoAudioCodecID
codec ID, default is ZegoAudioCodecIDDefault. The setting only take effect before publishing stream
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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