getDefaultAudioDeviceID method

Future<String> getDefaultAudioDeviceID(
  1. ZegoAudioDeviceType deviceType
)

Get the device ID of the default audio device.

Only for Windows / macOS / Linux

  • deviceType Audio device type
  • Returns Default Audio device ID

Implementation

Future<String> getDefaultAudioDeviceID(ZegoAudioDeviceType deviceType) async {
  return await ZegoExpressImpl.instance.getDefaultAudioDeviceID(deviceType);
}