ios_getVideoCaptureDevice method
@platform ios @detail api @author zhangzhenyu.samuel @brief 获取当前 SDK 正在使用的视频采集设备信息 @param deviceID 视频设备 ID @return - 0:方法调用成功 - !0:方法调用失败
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}');
}
}