rxlabz / audioplayer

A flutter plugin to play audio files iOS / Android / MacOS / Web ( Swift/Java )
https://pub.dartlang.org/packages/audioplayer
494 stars 189 forks source link

problem with url link #66

Open arsewizz opened 5 years ago

arsewizz commented 5 years ago

when i use a url link, it takes two or three seconds to play the music

eddywm commented 5 years ago

It's because it has to fetch it from the network.

The audio is not local, you are experiencing a network delay.

arsewizz commented 5 years ago

possible to solve this ?or how to improve? ?

OperKH commented 5 years ago

If you using IceCast you can tune it by increase burst-size value. More details here: https://stackoverflow.com/questions/6582908/why-does-it-take-so-long-for-androids-mediaplayer-to-prepare-some-live-streams

arsewizz commented 5 years ago

I'm using firebase, how to do it ? Thanks