stopVideoCapture abstract method

Future<int?> stopVideoCapture()

Stops internal video capturing immediately.

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

Return value:

Notes:

  • Call RTCVideo.startVideoCapture to start internal video 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?> stopVideoCapture();