Douglas Farias Expert Licensed User Longtime User Mar 7, 2017 #1 Hi all. this code is working fine on android 5.1.1 but on 6.0+ dont works Code: Copy '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
Hi all. this code is working fine on android 5.1.1 but on 6.0+ dont works Code: Copy '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
Erel B4X founder Staff member Licensed User Longtime User Mar 8, 2017 #2 Works fine here: Code: Copy 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 Upvote 0
Works fine here: Code: Copy 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
Douglas Farias Expert Licensed User Longtime User Mar 8, 2017 #3 Erel said: Works fine here: Code: Copy 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 Click to expand... 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
Erel said: Works fine here: Code: Copy 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 Click to expand... 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
zhangke Member Licensed User May 28, 2020 #4 @Douglas Farias Could you please provide me with your development demo about b4a playing RTMP stream thanks Upvote 0
@Douglas Farias Could you please provide me with your development demo about b4a playing RTMP stream thanks
DonManfred Expert Licensed User Longtime User May 28, 2020 #5 You should NEVER post to existing threads. Instead you should create a new thread for any issue/question you have. Upvote 0
You should NEVER post to existing threads. Instead you should create a new thread for any issue/question you have.
Eugenio Member Licensed User Longtime User May 28, 2020 #6 DonManfred said: You should NEVER post to existing threads. Instead you should create a new thread for any issue/question you have. Click to expand... 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
DonManfred said: You should NEVER post to existing threads. Instead you should create a new thread for any issue/question you have. Click to expand... 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.
DonManfred Expert Licensed User Longtime User May 29, 2020 #7 Eugenio said: Dear DonManfred, this is not your business! Click to expand... True but not relevant here. Upvote 0
Eugenio said: Dear DonManfred, this is not your business! Click to expand... True but not relevant here.