apti
Member
I have been looking over this and found most of my answers, however this one eludes me.
I want exoplayer to play a url stream but I am lost
an example url is... http://listen.trancebase.fm/tunein-mp3-pls all the urls are similar in that no file is given. These are the urls that work in audacious and windows media.
the code I used is below and I am sure I am wrong somehow because I do not quite understand the create things. MPL is defined as a simpleexoplayer.
I have tried createsmoothstreamingsource also. I get no errors, just no sound either.
I want exoplayer to play a url stream but I am lost
an example url is... http://listen.trancebase.fm/tunein-mp3-pls all the urls are similar in that no file is given. These are the urls that work in audacious and windows media.
the code I used is below and I am sure I am wrong somehow because I do not quite understand the create things. MPL is defined as a simpleexoplayer.
the play sub:
public Sub PlayURL
Log("mpf playurl "&RadioStationURL)
Service.StartForeground(2,CreateNotification("MPFree playing Radio"))
MPL.Prepare(MPL.CreateHLSSource(RadioStationURL))
MPL.Play
End Sub
I have tried createsmoothstreamingsource also. I get no errors, just no sound either.