stopPreview method

Future<void> stopPreview()

Implementation

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