question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]: Duration null for remote audio file

See original GitHub issue

Flutter Sound Version :

  • FULL or LITE flavor ? Full

  • Important: Result of the command : flutter pub deps | grep flutter_sound |-- flutter_sound 7.5.3+1 | |-- flutter_sound_platform_interface 7.5.3+1 | |-- flutter_sound_web 7.5.3+1 | | |-- flutter_sound_platform_interface…

Severity

  • Result is not what expected

  • iOS/Android emulator and real device (I haven’t tried it in web)

Your problem

Describe the bug

[BUG]: Duration null for remote audio file (i.e. https://xxx/flutter_sound_yyy.aac)

To Reproduce Steps to reproduce the behavior:

  1. Invoke await flutterSoundHelper.duration(‘https://xxx/flutter_sound_yyy.aac’)

Logs!!!

D/flutter-ffmpeg( 2759): Getting media information for https://xxx/flutter_sound_yyy.aac. I/mobile-ffmpeg( 2759): https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled. I/mobile-ffmpeg( 2759): https://xxx/flutter_sound_yyy.aac: Protocol not found

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:31

github_iconTop GitHub Comments

1reaction
searchy2commented, Feb 13, 2021

Incredible, thanks for the quick turnaround and maintaining this library!

Is there a sponsor link?

1reaction
Larpouxcommented, Feb 3, 2021

Actually I am fighting with terrible asynchronous problems. The way τ handle asynchronous events is not good. But τ is at the middle of an App which does anythings and an OS which does what it wants.

Asynchronous processing is very very hard to handle correctely and need many tests before release. And even after many tests, I will not be sure that Flutter Sound users will not have problems.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG]: Duration null for remote audio file · Issue #613
flutterSoundHelper.duration() does not work on a remote file. If you want to have informations on a remote file, you must download it.
Read more >
Is it possible to get duration of the remote audio file without ...
I guess, the MediaPlayer class method getDuration() sequentially downloads these tracks (or some parts of them) to get their durations. Is there ...
Read more >
Bug ID: JDK-5085008 Clip does not play WAV files
Bug ID: JDK-5085008 Clip does not play WAV files. Duplicate : JDK-6251460 - REGRESSION: BUG:5070730 is NOT fixed - short sounds do not...
Read more >
just_audio | Flutter Package
A feature-rich audio player for Flutter. Loop, clip and concatenate any sound from any source (asset/file/URL/stream) in a variety of audio formats with ......
Read more >
Reading bug reports
The aggregated wake lock duration statistics track only the time a wake lock is actually responsible for keeping the device awake and do...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found