audioChannel property

  1. @JsonKey(includeIfNull: false)
AudioChannel? audioChannel
getter/setter pair

The audio channel used by the host's audio in the output audio. The default value is 0, and the value range is 0, 5. 0: (Recommended) The defaut setting, which supports dual channels at most and depends on the upstream of the host. 1: The host's audio uses the FL audio channel. If the host's upstream uses multiple audio channels, the Agora server mixes them into mono first. 2: The host's audio uses the FC audio channel. If the host's upstream uses multiple audio channels, the Agora server mixes them into mono first. 3: The host's audio uses the FR audio channel. If the host's upstream uses multiple audio channels, the Agora server mixes them into mono first. 4: The host's audio uses the BL audio channel. If the host's upstream uses multiple audio channels, the Agora server mixes them into mono first. 5: The host's audio uses the BR audio channel. If the host's upstream uses multiple audio channels, the Agora server mixes them into mono first. 0xFF or a value greater than 5: The host's audio is muted, and the Agora server removes the host's audio. If the value is not 0, a special player is required.

Implementation

@JsonKey(includeIfNull: false)
AudioChannel? audioChannel;