antweb
10th February 2015, 08:35
I have been using the IP Camera of a company called RCom and I want to interface it through Qt.
Presently with the help of networkaccessmanager I am able to ping every moment on this URL,
"http://192.168.0.12:8080/snapshot.cgi?user=admin&pwd="
and I am displaying it on a label and able to view my video. The problem with this approach is that if I use multiple cameras and keep on pinging every moment that will be very heavy on my processor. So now I want to handle by accessing the mjpeg URL. It is as follows:
"http://192.168.0.12:8080/videostream.cgi?user=admin&pwd="
The issue that I am facing is that this URL does not give me any network reply so I am unable to take my process further but when I use this same URL on VLC's network stream it shows me a proper live output which means that the URL is correct.
Please help me by telling how can I get a network reply and how can I handle mjpegs?
Thanks.
Presently with the help of networkaccessmanager I am able to ping every moment on this URL,
"http://192.168.0.12:8080/snapshot.cgi?user=admin&pwd="
and I am displaying it on a label and able to view my video. The problem with this approach is that if I use multiple cameras and keep on pinging every moment that will be very heavy on my processor. So now I want to handle by accessing the mjpeg URL. It is as follows:
"http://192.168.0.12:8080/videostream.cgi?user=admin&pwd="
The issue that I am facing is that this URL does not give me any network reply so I am unable to take my process further but when I use this same URL on VLC's network stream it shows me a proper live output which means that the URL is correct.
Please help me by telling how can I get a network reply and how can I handle mjpegs?
Thanks.