stopAudioCapture abstract method

Future<int?> stopAudioCapture()

Stops internal audio capturing.

After this API is called, the local user will receive RTCVideoEventHandler.onAudioDeviceStateChanged.
If this API is called by a visible user in the current room, the other users in the room will receive RTCVideoEventHandler.onUserStopAudioCapture.

Return value:

Notes:

  • Call RTCVideo.startAudioCapture to start internal capturing.
  • If you don't call this API after the internal capture is started, it will not stop until the engine is destroyed.

Implementation

Future<int?> stopAudioCapture();