Just_audio: Live stream playback doesn't work

Created on 28 Mar 2020  路  2Comments  路  Source: ryanheise/just_audio

I am unable to play Live Stream URL
Server is using Icecast to stream.
Sample Stream URL: http://canada1.reliastream.com:8052/live?type=.mp3

Expected Solution
It should be able to play live stream audio

Most helpful comment

I tested it on android side, works fine.
If you are using android, too, these may help you.
First you need to turn on usesCleartextTraffic in AndroidManifest.xml if you haven't.
<?xml version="1.0" encoding="utf-8"?> <manifest ...> <uses-permission android:name="android.permission.INTERNET" /> <application ... android:usesCleartextTraffic="true" ...> ... </application> </manifest>
Then use the leatest version.
just_audio: git: url: https://github.com/ryanheise/just_audio.git

All 2 comments

I tested it on android side, works fine.
If you are using android, too, these may help you.
First you need to turn on usesCleartextTraffic in AndroidManifest.xml if you haven't.
<?xml version="1.0" encoding="utf-8"?> <manifest ...> <uses-permission android:name="android.permission.INTERNET" /> <application ... android:usesCleartextTraffic="true" ...> ... </application> </manifest>
Then use the leatest version.
just_audio: git: url: https://github.com/ryanheise/just_audio.git

Thanks a lot it is working now.
Can you add this into documentation? Easier for everyone

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ryanheise picture ryanheise  路  6Comments

Alphabets007 picture Alphabets007  路  8Comments

dankydev picture dankydev  路  6Comments

creativecreatorormaybenot picture creativecreatorormaybenot  路  7Comments

lain-ke picture lain-ke  路  4Comments