stop method

Future<void> stop()

Stops the webrtc.MediaStreamTrack of this Track.

Implementation

Future<void> stop() async {
  Log.debug('stop()', '$runtimeType($debugLabel)');
  await Future.wait([track.getTrack().stop(), removeRenderer()]);
}