followSystemCaptureDevice method

FutureOr<void> followSystemCaptureDevice(
  1. BOOL followed
)

@detail api @author yezijian.me @brief Set the audio capture device to follow the OS default setting or not. @param followed
- true: follow the OS setting. You can not call setAudioCaptureDevice:{@link #ByteRTCAudioDeviceManager#setAudioCaptureDevice} at the same time. The default value. - false: do not follow the OS setting. You can call setAudioCaptureDevice:{@link #ByteRTCAudioDeviceManager#setAudioCaptureDevice} to set the audio capture device.

Implementation

FutureOr<void> followSystemCaptureDevice(BOOL followed) async {
  return await nativeCall('followSystemCaptureDevice:', [followed]);
}