stopPreview method
Implementation
Future<void> stopPreview() async {
if (!_engineHasInit) return;
await _engine.enableLocalVideo(false);
await _engine.stopPreview();
}
Future<void> stopPreview() async {
if (!_engineHasInit) return;
await _engine.enableLocalVideo(false);
await _engine.stopPreview();
}