获取指定类型的设备列表
Future<List<MediaDevice>> getDevices(String kind) async { return await Hardware.instance.enumerateDevices(type: kind); }