ios_getVideoCaptureDevice method
@platform ios @detail api @author zhangzhenyu.samuel @brief Get the currently-using video capture device @param deviceID video device ID @return - 0: Success. +! 0: failure
Implementation
Future<int?> ios_getVideoCaptureDevice(string deviceID) async {
$() => ($instance as $p_i.ByteRTCVideoDeviceManager)
.getVideoCaptureDevice(deviceID);
if (Platform.isIOS) {
return $();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}');
}
}