Streaming video to openCv from the localHost port (http://192.168.1.1:8080)

How can I make a live stream in openCv, knowing that the Android device will disable the camera preview on the local host http://192.168.4.185:8095 , and the encoding is h264. Therefore, if I find in the computer’s browser “http://192.168.4.185:8095”, I will see a live video camera from an Android device. How can I get this video in liveCv? Thanks.

+3
source share
1 answer

Use VideoCapture and open it with a path like "http: // device_ip: port".

+1
source

Source: https://habr.com/ru/post/905986/


All Articles