audioplayer
audioplayer copied to clipboard
run it under web, threw below exception
state == AudioPlayerState.PLAYING
is not true, null)
at Object.throw [as throw] (http://localhost:61390/dart_sdk.js:4334:11)
at StandardMethodCodec.decodeEnvelope (http://localhost:61390/packages/flutter/src/services/system_channels.dart.lib.js:780:19)
at platform_channel.MethodChannel.new._invokeMethod (http://localhost:61390/packages/flutter/src/services/system_channels.dart.lib.js:943:32)
at _invokeMethod.next (
flutter --version
Flutter 1.21.0-9.1.pre • channel beta • https://github.com/flutter/flutter.git Framework • revision be9bc8cb39 (5 days ago) • 2020-08-18 09:46:08 -0700 Engine • revision 267070c17a Tools • Dart 2.10.0 (build 2.10.0-7.2.beta)
I have the same problem, anyone have the answer?
same problem here, any fix?
same problem when call play() again after player stopped. also. I tried call play() after recreate AudioPlayer object, but same problem has occured.