I am looking for any example to stream a radio station eg https://sky.doscast.com/proxy/sf70s/stream
Used exoplayer but dont know how to control the stream eg pause stop and release.
Found a good example for PndAudio exoplayer but i use already exoplayer in my project.
Is there any example ?
Thank you
Sorry for the translation (google translate).:) Thanks to Erel for his new version of Exoplayer 1.50, without which it would not be possible to do so. After much testing I have found a way to read the song title directly from the exoplayer stream (IcyInfo). Surely the code can be improved since...
Dim stream As String = vars.X_cn_testlink(vars.radioselection) <--- here is my stream
Dim exoPlayer As SimpleExoPlayer
exoPlayer.Initialize("ExoPlayer")
SimpleExoPlayerView1.Player = exoPlayer
exoPlayer.Prepare(exoPlayer.CreateUriSource(stream))
exoPlayer.Play
exoPlayer.Volume=1