stopVideoCapture abstract method
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:
0
: Success.<0
: Failure. See ReturnStatus for the reason.
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();