I’m currently working on implementing a audio recording functionality and I’m using the Recorder https://pub.dev/packages/record
library and I’m having issues playing the recorded audio using this Audio Players library https://pub.dev/packages/audioplayers
- The media file shows up on my device storage and I can play it using my media player but it doesn’t play at all using the library in the app ..
I keep getting state exception (Bad state: no element )
-
I also noticed one of the log messages was
MPEGWriter: media might not be streamable
but I ignored it since the media file shows up and plays using local media player -
Whenever I play the media file using local media player, it doesn’t show the duration at all
I’ve looked around and I haven’t found any solution or issue that mentions any of this, I followed the implementation form the docs and other relevant materials to the T. But I can’t seem to get what’s causing this