hey @Daniel and @Sunil_Halvi
i have a similar problem too, just that i am getting it from an ESP32 camera, which is pretty much an MJPEG stream over HTTPS.
Im using it with gstreamer because i read somewhere that opencv cant do it directly, but it is not working as well even with gstreamer.
var fullGStreamerCommand = "gst-launch-1.0 " + streamAddress // gst-launch-1.0 souphttpsrc etc etc....
//actual code meant for reading from the gstreamer lib
lifecycleScope.launch {
var videoCapturing = VideoCapture(fullGStreamerCommand, CAP_GSTREAMER)
videoCapturing.open(fullGStreamerCommand, CAP_GSTREAMER)
for reference, my streamAddress is something like souphttpsrc location=http://someipaddress ! multipartdemux ! jpegdec ! videoconvert ! autovideosink
Any ideas?