enableAudio property

bool enableAudio
getter/setter pair

Whether to test audio. The device to be tested is the default audio device.

  • true: Yes, and the device microphone will automatically turn on and RTCVideoEventHandler.onLocalAudioPropertiesReport will be triggered when the value of audioReportInterval is set to greater than 0, from which you can judge the working status of the microphone.
  • false: No.

Implementation

bool enableAudio;