setVideoCaptureDevice method
@detail api @author zhangzhenyu.samuel @brief Set the current video capture device @param deviceID Video device ID. Get all video devices by calling which can be obtained through enumerateVideoCaptureDevices{@link #ByteRTCVideoDeviceManager#enumerateVideoCaptureDevices} @return - 0: Success. +! 0: failure
Implementation
FutureOr<int> setVideoCaptureDevice(NSString deviceID) async {
return await nativeCall('setVideoCaptureDevice:', [deviceID]);
}