AudioChannel enum Null safety

直播音频所在声道。

Constants

Channel0 → const AudioChannel

默认混音设置,最多支持双声道,与主播端上行音频相关。

@JsonValue(0)
const AudioChannel(0)
Channel1 → const AudioChannel

对应主播的音频,推流中位于 FL 声道。如果主播上行为双声道,会先把多声道混音成单声道。

@JsonValue(1)
const AudioChannel(1)
Channel2 → const AudioChannel

对应主播的音频,推流中位于 FC 声道。如果主播上行为双声道,会先把多声道混音成单声道。

@JsonValue(2)
const AudioChannel(2)
Channel3 → const AudioChannel

对应主播的音频,推流中位于 FR 声道。如果主播上行为双声道,会先把多声道混音成单声道。

@JsonValue(3)
const AudioChannel(3)
Channel4 → const AudioChannel

对应主播的音频,推流中位于 BL 声道。如果主播上行为双声道,会先把多声道混音成单声道。

@JsonValue(4)
const AudioChannel(4)
Channel5 → const AudioChannel

对应主播的音频,推流中位于 BR 声道。如果主播上行为双声道,会先把多声道混音成单声道。

@JsonValue(5)
const AudioChannel(5)
values → const List<AudioChannel>

A constant List of the values in this enum, in order of their declaration.

const List<AudioChannel>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited