Michael
Michael

Reputation: 548

Is it possible to stream endless audio in flutter?

I'm developing an online radio app in flutter and I'm looking for an audio player which supports endless audio streaming from a certain URL (e.g. http://us4.internet-radio.com:8258/stream?type=http). It is highly desirable for it to be supported both on iOS and Android.

Is there such an option in flutter?

From what I've found, there are no solutions that satisfy me needs. The closest one is fluttery_audio, but, apparently, it doesn't support endless audio.

I apologize for my jargon with 'endless audio streaming', I'm not really sure what's the technical name for an online radio player is.

Upvotes: 1

Views: 1685

Answers (2)

amangautam1
amangautam1

Reputation: 840

You can also try flutter radio package, Check working app here... Source code

Watch the video

Upvotes: 0

Maciej Pulikowski
Maciej Pulikowski

Reputation: 2517

Try with flutter_webview_plugin and hide it.

https://pub.dev/packages/flutter_webview_plugin

final flutterWebviewPlugin = new FlutterWebviewPlugin();

flutterWebviewPlugin.launch(url, hidden: true);

Upvotes: 1

Related Questions