recordingSampleRate property Null safety

AudioSampleRateType? recordingSampleRate
@JsonKey(includeIfNull: false), read / write

Recording sample rate (Hz). The following values are supported:

  • 16000
  • (Default) 32000
  • 44100
  • 48000


  • If this parameter is set to 44100 or 48000, for better recording effects, Agora recommends recording WAV files or AAC files whose recordingQuality is Medium or High.


@JsonKey(includeIfNull: false)
AudioSampleRateType? recordingSampleRate;