Android Question MediaPlayerStream dont working on android 6+

Status
Not open for further replies.

Douglas Farias

Expert
Licensed User
Longtime User
Hi all.
this code is working fine on android 5.1.1 but on 6.0+ dont works

B4X:
     'INICIA O MEDIA PLAYER E A STREAM
    If FirstTime Then
        mp.Initialize("mp")
    End If
    mp.Load("rtsp://rtmp1.srvstm.com/9570/9570.stream")

why?

no logs, no events, nothing.

thx
 

Douglas Farias

Expert
Licensed User
Longtime User
Works fine here:
B4X:
Sub Activity_Create(FirstTime As Boolean)
   If FirstTime Then
     mp.Initialize("mp")
   End If
   mp.Load("rtsp://rtmp1.srvstm.com/9570/9570.stream")
End Sub

Sub mp_StreamReady
   mp.Play
End Sub

you is right erel
only the sub mp_StreamBuffer is not called on android 6+

i made the app based on Percentage, if 100% i call mp.play, thats why not work.

thx
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
You should NEVER post to existing threads. Instead you should create a new thread for any issue/question you have.
 
Upvote 0

Eugenio

Member
Licensed User
Longtime User
You should NEVER post to existing threads. Instead you should create a new thread for any issue/question you have.


Dear DonManfred, this is not your business!
Just answer questions that you can help with.
As far as I know, you are not a forum moderator.
 
Upvote 0
Status
Not open for further replies.
Top