ZegoMixerAudioConfig class
Mix stream audio configuration.
Configure video frame rate, bitrate, and resolution for mixer task
Constructors
- ZegoMixerAudioConfig(int bitrate, ZegoAudioChannel channel, ZegoAudioCodecID codecID, ZegoAudioMixMode mixMode)
- ZegoMixerAudioConfig.defaultConfig()
- Create a default mix stream audio configuration
Properties
- bitrate ↔ int
-
Audio bitrate in kbps, default is 48 kbps, cannot be modified after starting a mixer task
getter/setter pair
- channel ↔ ZegoAudioChannel
-
Audio channel, default is Mono
getter/setter pair
- codecID ↔ ZegoAudioCodecID
-
codec ID, default is ZegoAudioCodecIDDefault
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mixMode ↔ ZegoAudioMixMode
-
Multi-channel audio stream mixing mode. If ZegoAudioMixMode is selected as
Focused
, the SDK will select 4 input streams withisAudioFocus
set as the focus voice highlight. If it is not selected or less than 4 channels are selected, it will automatically fill in 4 channels. On web platforms, this property does not take effect.getter/setter pair - 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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited