stop method
override
Stop this Track if not stopped. Returns true if stopped, false if already stopped
Implementation
@override
Future<bool> stop() async {
final didStop = await _disposeMediaTrack(await super.stop());
// Also runs when a stop-on-mute already stopped the media track and kept
// the processor for the restart.
try {
await stopProcessor();
} catch (error) {
logger.severe('LocalTrack.stopProcessor did throw: $error');
}
return didStop;
}