Android Question Mjpeg

Almora

Well-Known Member
Licensed User
Longtime User
Hi
I am using mjpeg class...
but the link is not opening. where am i doing wrong?

B4X:
    ....
    
    mjpeg1.Initialize(Me, "mjpg")
    mjpeg1.Connect("http://87.54.59.228/mjpg/video.mjpg", 80)
    
    ...
    
    Sub mjpeg1_Frame(bmp As Bitmap)
    ImageView1.SetBackgroundImage(bmp)
    End Sub
 

DonManfred

Expert
Licensed User
Longtime User
On targetsdk 30 it will not work with a nonssl-connection.
Did you enabled cleartext-communication in manifest?
 
Upvote 1

Almora

Well-Known Member
Licensed User
Longtime User
this project does not work in targetSdkVersion=30.

added cleartext..
 

Attachments

  • mj.zip
    10.3 KB · Views: 177
Upvote 0
Top