deviceId property

String? deviceId
final

The deviceId of the capture device to use. Available deviceIds can be obtained through flutter_webrtc:

import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc;

List devices = await rtc.navigator.mediaDevices.enumerateDevices();

Implementation

final String? deviceId;