enumerateVideoDevices abstract method

Future<List<VideoDeviceInfo>> enumerateVideoDevices()

获取系统中所有的视频设备列表。

该方法仅适用于 Windows 和 macOS。

Returns 方法调用成功:返回一个 VideoDeviceInfo 数组,其中包含系统中所有视频设备。 方法调用失败: 返回空列表。

Implementation

Future<List<VideoDeviceInfo>> enumerateVideoDevices();