This is what i've noticed.
Sub Activity_Create
If FirstTime Then
mp.Initialize("mp")
.......
End If
mp.Load(url_stream)
End Sub
Sub mp_StreamReady
mp.play
End Sub
Using this code, for a simple mp3 streaming, after 2/3 second of playing ... the stream was "silenced" for 2 seconds ... and then restart alone.
If in streamReady I comment mp.play and delegate the start at a PLAY button .... what i've noticed in first case ... it does not happen.
Why???? What's the difference from an "auto play" mode when the stream is ready and a "posticipate" mode, that simply activate a PLAY BUTTON that I use to start manually the play???
Sub Activity_Create
If FirstTime Then
mp.Initialize("mp")
.......
End If
mp.Load(url_stream)
End Sub
Sub mp_StreamReady
mp.play
End Sub
Using this code, for a simple mp3 streaming, after 2/3 second of playing ... the stream was "silenced" for 2 seconds ... and then restart alone.
If in streamReady I comment mp.play and delegate the start at a PLAY button .... what i've noticed in first case ... it does not happen.
Why???? What's the difference from an "auto play" mode when the stream is ready and a "posticipate" mode, that simply activate a PLAY BUTTON that I use to start manually the play???