Canardoux / flutter_sound

Flutter plugin for sound. Audio recorder and player.
Mozilla Public License 2.0
877 stars 573 forks source link

[HELP]: MissingPluginException #752

Open sergiyvergun01 opened 3 years ago

sergiyvergun01 commented 3 years ago

I'm using flutter_sound_lite and that's the issue I see when try to play the recording:

E/flutter (15514): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: MissingPluginException(No implementation found for method executeFFmpegWithArguments on channel flutter_sound_ffmpeg)
E/flutter (15514): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:7)
E/flutter (15514): <asynchronous suspension>
E/flutter (15514): #1      FlutterSoundFFmpeg.executeWithArguments (package:flutter_sound_lite/public/util/flutter_sound_ffmpeg.dart:589:20)
E/flutter (15514): <asynchronous suspension>
E/flutter (15514): #2      FlutterSoundHelper.convertFile (package:flutter_sound_lite/public/util/flutter_sound_helper.dart:307:12)
E/flutter (15514): <asynchronous suspension>
E/flutter (15514): #3      _AudioRecorderPageState.play (package:flutter_companion/features/audio_recorder_page.dart:105:5)
E/flutter (15514): <asynchronous suspension>

How to fix this?

Larpoux commented 3 years ago

Your code is calling FlutterSoundHelper.convertFile () either explicitly or indirectly. This function is not implemented in the LITE flavor of Flutter Sound.

If you need this function you must switch to the FULL flavor

vernalclareai commented 2 years ago

Hi, FlutterSoundHelper().convertFile function is removed in the flutter_sound 9.2.12. How can I replace the function ? bc I need to convert opus file to mp3 on my app. I was using the 8.5.0 version before. Thanks.

Larpoux commented 2 years ago

You can use the Flutter plugin ffmpeg kit

vernalclareai commented 2 years ago

okay, thanks I will try with the plugin.

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.