You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made sure that the issue I am raising doesn't already exist
Current bug behaviour
I had this error one time, but couldn't reproduce it for more detailed of what happened.
Below is the full error: main.<fn> io.flutter.plugins.firebase.crashlytics.FlutterError - PlatformException(AndroidAudioError, MEDIA_ERROR_UNKNOWN {what:-38}, MEDIA_ERROR_UNKNOWN {extra:0}, null)
And just after it: Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError TimeoutException after 0:00:30.000000: Future not completed FirebaseCrashlytics.recordError (firebase_crashlytics.dart:119) main. (main.dart:75)
Note:
This error is from android users.
I only use files to play audios, so i copy the file path after it has been created and fully written, as shown below:
if (url == null) return;
await _audioPlayer.play(UrlSource(url))
UPDATE:
Found the error related to the TimeoutException after 0:00:30.000000: Future not completed, it was triggered when we do a seekTo when the audioPlayer is on stopped state.
Not sure if this would resolves the {what:-38}, but i'll keep testing and digging deeper into it.
Expected behaviour
No errors.
Steps to reproduce
Execute flutter run on the code sample
...
...
Code sample
Code sample
voidmain() {
}
Affected platforms
Android
Platform details
No response
AudioPlayers Version
6.0.0
Build mode
release
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
The text was updated successfully, but these errors were encountered:
IhabMks
changed the title
PlatformException(AndroidAudioError, MEDIA_ERROR_UNKNOWN {what:-38}
PlatformException(AndroidAudioError, MEDIA_ERROR_UNKNOWN {what:-38} -> followed by a TimeoutException
Nov 21, 2024
Checklist
Current bug behaviour
I had this error one time, but couldn't reproduce it for more detailed of what happened.
Below is the full error:
main.<fn> io.flutter.plugins.firebase.crashlytics.FlutterError - PlatformException(AndroidAudioError, MEDIA_ERROR_UNKNOWN {what:-38}, MEDIA_ERROR_UNKNOWN {extra:0}, null)
And just after it:
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError TimeoutException after 0:00:30.000000: Future not completed FirebaseCrashlytics.recordError (firebase_crashlytics.dart:119) main. (main.dart:75)
Note:
And then use this url:
UPDATE:
TimeoutException after 0:00:30.000000: Future not completed
, it was triggered when we do a seekTo when the audioPlayer is on stopped state.Not sure if this would resolves the {what:-38}, but i'll keep testing and digging deeper into it.
Expected behaviour
No errors.
Steps to reproduce
flutter run
on the code sampleCode sample
Code sample
Affected platforms
Android
Platform details
No response
AudioPlayers Version
6.0.0
Build mode
release
Audio Files/URLs/Sources
No response
Screenshots
No response
Logs
Full Logs
Flutter doctor:
Related issues / more information
No response
Working on PR
no way
The text was updated successfully, but these errors were encountered: