Android Question Change video url

Almora

Well-Known Member
Licensed User
Longtime User
B4X:
    .......
    
    Dim Url As String = cur.GetString("VideoURL")
    
    .....
    
    Media3PlayerView1.Player = addoPlayer
    addoPlayer.Prepare
    addoPlayer.Prepare_Source(addoPlayer.CreateHLSSource(Url))
    addoPlayer.Play

Hello
How can I query the links that do not work in the video player again? The video link is retrieved from the database.
link example

What I want to do is query https://xxxx.xxx.x/mrc4/vls/ppsl1.stream when it doesn't work, query https://xxxx.xxx.x/mrc5/vls/ppsl1.stream, and when that doesn't work either, query https://xxxx.xxx.x/mrc6/vls/ppsl1.stream.

If not connected within 2 seconds (mrc5), if not connected within 2 seconds (mrc6)

I just want to change the numbers in (mrc4) 4,5,6...
and my source comes from database.

thanks..
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…