getDefaultVideoDeviceID method

Future<String> getDefaultVideoDeviceID()

Get the device ID of the default video device.

Only for Windows / macOS / Linux Note: This function is only available in ZegoExpressVideo SDK!

  • Returns Default video device ID

Implementation

Future<String> getDefaultVideoDeviceID() async {
  return await ZegoExpressImpl.instance.getDefaultVideoDeviceID();
}