# VideoDeviceInfo (/zh-CN/api-reference/rtc/flutter/class-videodeviceinfo) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```dart class VideoDeviceInfo { const VideoDeviceInfo({this.deviceId, this.deviceName}); @JsonKey(name: 'deviceId') final String? deviceId; @JsonKey(name: 'deviceName') final String? deviceName; factory VideoDeviceInfo.fromJson(Map json) => _$VideoDeviceInfoFromJson(json); Map toJson() => _$VideoDeviceInfoToJson(this); } ``` ## 属性 [#属性] 设备 ID。 设备名称。