3

How can i make a live stream in openCv, knowing that an android device stream his camera preview at local host http://192.168.4.185:8095, and the encoding is h264. So if i type in browser of the computer "http://192.168.4.185:8095" i will see the live video camera from android device. How can i get this live video to openCv either? Thanks.

Dany's
  • 943
  • 1
  • 7
  • 17

1 Answers1

1

Use a VideoCapture, and open it with the path as "http://device_ip:port".

Sam
  • 19,708
  • 4
  • 59
  • 82