followSystemCaptureDevice method

FutureOr<void> followSystemCaptureDevice(
  1. BOOL followed
)

@detail api @author yezijian.me @brief 设置音频采集路由是否跟随系统。 @param followed
- true: 跟随。此时,调用 setAudioCaptureDevice:{@link #ByteRTCAudioDeviceManager#setAudioCaptureDevice} 会失败。默认值。 - false: 不跟随系统。此时,可以调用 setAudioCaptureDevice:{@link #ByteRTCAudioDeviceManager#setAudioCaptureDevice} 进行设置。

Implementation

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