audioplayers
audioplayers copied to clipboard
record not saved and throw exception
Checklist
- [X] I read the troubleshooting guide before raising this issue
- [X] I made sure that the issue I am raising doesn't already exist
Current bug behaviour
E/ExoPlayerImplInternal( 9173): Playback error
E/ExoPlayerImplInternal( 9173): com.google.android.exoplayer2.ExoPlaybackException: Source error
E/ExoPlayerImplInternal( 9173): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:644)
E/ExoPlayerImplInternal( 9173): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:614)
E/ExoPlayerImplInternal( 9173): at android.os.Handler.dispatchMessage(Handler.java:102)
E/ExoPlayerImplInternal( 9173): at android.os.Looper.loop(Looper.java:263)
E/ExoPlayerImplInternal( 9173): at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal( 9173): Caused by: com.google.android.exoplayer2.source.UnrecognizedInputFormatException: None of the available extractors (WavExtractor, FlvExtractor, FlacExtractor, FragmentedMp4Extractor, Mp4Extractor, AmrExtractor, PsExtractor, OggExtractor, TsExtractor, MatroskaExtractor, AdtsExtractor, Ac3Extractor, Ac4Extractor, Mp3Extractor, AviExtractor, JpegExtractor) could read the stream.
E/ExoPlayerImplInternal( 9173): at com.google.android.exoplayer2.source.BundledExtractorsAdapter.init(BundledExtractorsAdapter.java:92)
E/ExoPlayerImplInternal( 9173): at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1017)
E/ExoPlayerImplInternal( 9173): at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
E/ExoPlayerImplInternal( 9173): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/ExoPlayerImplInternal( 9173): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/ExoPlayerImplInternal( 9173): at java.lang.Thread.run(Thread.java:923)
E/AudioPlayer( 9173): TYPE_SOURCE: None of the available extractors (WavExtractor, FlvExtractor, FlacExtractor, FragmentedMp4Extractor, Mp4Extractor, AmrExtractor, PsExtractor, OggExtractor, TsExtractor, MatroskaExtractor, AdtsExtractor, Ac3Extractor, Ac4Extractor, Mp3Extractor, AviExtractor, JpegExtractor) could read the stream.
I/ExoPlayerImpl( 9173): Release 4908473 [ExoPlayerLib/2.18.7] [OP4B80L1, CPH1937, OPPO, 30] [goog.exo.core, goog.exo.exoplayer, goog.exo.decoder, goog.exo.datasource, goog.exo.extractor]
E/flutter ( 9173): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: (0) Source error
E/flutter ( 9173): #0 AudioPlayer._load (package:just_audio/just_audio.dart:870:9)
E/flutter ( 9173):
Expected behaviour
to work correct and save the video
Steps to reproduce
- Execute
flutter run
on the code sample - ...
- ...
Code sample
Code sample
void main() {
}
Affected platforms
Android
Platform details
No response
AudioPlayers Version
6.0.0
Build mode
debug
Audio Files/URLs/Sources
No response
Screenshots
No response
Logs
my relevant logs
Full Logs
my full logs or a link to a gist
Flutter doctor:
Output of: flutter doctor -v
Related issues / more information
No response
Working on PR
no way