Android Question Videomjpeg and authentication


Licensed User
Longtime User
Hi all,
I'm trying to understand how to manage the authentication to a video stream I'm accessing to using Videomjpeg library, but I didn't find a solution to my case.

The stream can be accessed via url using the classic syntax: http://user:pass@ip
Unfortunatelly, username and password aren't parameters of the url command-line so I cannot add them to it. How can I pass them to the Videomjpeg library?

In my code, I use this:
Dim cam1 As Videomjpeg"",80,"/control/faststream.jpg?stream=MxPEG")

This way, the app freeze.
I've tried to put the url syntax in the first parameter (without the "http://" at the begin), but it didn't work.