Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MissingPluginException(No implementation found for method cancel on channel com.llfbandit.record/eventsRecord/recordId #447

Open
gaochang1993 opened this issue Dec 3, 2024 · 2 comments
Labels

Comments

@gaochang1993
Copy link

Package version
flutter: 3.24
record: ^5.2.0

Environment

Describe the bug
MissingPluginException(No implementation found for method cancel on channel com.llfbandit.record/eventsRecord/3dc7542f-8ecf-4caf

RecordConfig(
sampleRate: sampleRate,
numChannels: 1,
bitRate: sampleRate,
echoCancel: true,
noiseSuppress: true,
autoGain: true,
encoder: AudioEncoder.pcm16bits,
androidConfig: const AndroidRecordConfig(
audioSource: AndroidAudioSource.voiceCommunication,
),
)

To Reproduce

Steps to reproduce the behavior:

  1. recrod.startStream()
  2. Just say something
  3. Close the page and dipose record
  4. Errors occur

Additional context

log:
I/flutter (11458): 12/04 13:18:08:509 DEBUG 🐛 dispose media
I/flutter (11458): 12/04 13:18:08:510 INFO 💡 disConnect
D/AudioTrack(11458): stop(983): 0xb400007dd1f80200, prior state:STATE_ACTIVE
D/AudioTrackShared(11458): this(0xb400007f475fd960), mCblk(0x7f47378000), front(0), mIsOut 1, interrupt() FUTEX_WAKE
D/AudioTrack(11458): stop(983): 0xb400007dd1f80200 stop done
D/AudioTrack(11458): stop(983): 0xb400007dd1f80200, prior state:STATE_STOPPED
D/AudioTrack(11458): ~AudioTrack(983): 0xb400007dd1f80200
D/AudioTrack(11458): stop(983): 0xb400007dd1f80200, prior state:STATE_STOPPED
[sentry] [debug] Capture from onError MissingPluginException(No implementation found for method cancel on channel com.llfbandit.record/eventsRecord/3dc7542f-8ecf-4caf-b6dc-8dd5f94ef515)
[sentry.flutterError] [error] Exception caught by services library
MissingPluginException(No implementation found for method cancel on channel com.llfbandit.record/eventsRecord/3dc7542f-8ecf-4caf...
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)

#1 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:688:9)

@llfbandit
Copy link
Owner

Thanks for reporting, I was unable to reproduce this.
Be sure to have your transitive dependencies up to date.

@Duzilin1994
Copy link

Duzilin1994 commented Jan 4, 2025

same error
flutter: 3.24
record: ^5.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants