onAudioDeviceStateChange method

void onAudioDeviceStateChange(
  1. int deviceType,
  2. int deviceState
)

音频设备状态已改变回调

deviceType 设备类型。详细信息请参考NERtcAudioDeviceType

deviceState 设备状态。详细信息请参考 NERtcAudioDeviceState

Implementation

void onAudioDeviceStateChange(int deviceType, int deviceState) {}