stopAudioCapture method

FutureOr<int> stopAudioCapture()

@detail api @author dixing @brief Stop internal audio capture. The default is off.
Internal audio capture refers to: capturing audio using the built-in module.
The local client will be informed via onAudioDeviceStateChanged{@link #IRTCEngineEventHandler#onAudioDeviceStateChanged} after stopping audio capture by calling this API.
The remote clients in the room will be informed of the state change via onUserStopAudioCapture{@link #IRTCEngineEventHandler#onUserStopAudioCapture} after the visible client stops audio capture by calling this API. @return - 0: Success. - < 0 : Fail. See ReturnStatus{@link #ReturnStatus} for more details @note - Call startAudioCapture{@link #RTCEngine#startAudioCapture} to enable the internal audio capture. - Without calling this API the internal audio capture will sustain until you destroy the engine instance.

Implementation

FutureOr<int> stopAudioCapture() async {
  return await nativeCall('stopAudioCapture', []);
}