audioChannels property Null safety

AudioChannel? audioChannels
@JsonKey(includeIfNull: false), read / write

用于旁路推流的输出音频的声道数,取值范围为 1,5 中的整型,默认值为 1。建议取 1 或 2,如果取值为 3、4或5,需要特殊播放器支持:

  • 1:单声道
  • 2:双声道
  • 3:三声道
  • 4:四声道
  • 5:五声道

Implementation

@JsonKey(includeIfNull: false)
AudioChannel? audioChannels;