stopPreview method
Stops the local video preview and the video.
After calling startPreview
, if you want to stop the local video preview, call stopPreview
.
Note
Call this method before you join the channel or after you leave the channel.
Implementation
@override
Future<void> stopPreview() {
return _invokeMethod('stopPreview');
}