使用IP Camera Panasonic(BL-C111CE)时遇到问题。如何使用网络摄像机进行身份验证?
我想从这台相机获得运动JPEG流。所以我做以下步骤:当我启用摄像头的设置一般用户的特权视点视频
1. Open socket on HTTP port:
mySocket = connect("192.168.1.253" /*ip*/, "80" /*port*/);
2. Send the following string command to camera:
"GET /nphMotionJpeg?&Resolution=640x480&Quality=Motion&Framerate=30 HTTP/1.1\r\n\r\n"
此命令做工精细。但是,当我禁用此特权时,上述命令失败。
我搜索了,我知道我需要发送管理员的用户名和密码才能向Camera进行身份验证。
但我不知道发送我的用户名和密码的语法。我必须发送哪一步?
非常感谢,
海防勒
尝试使用libcurl之类的东西。 – v01d 2012-02-22 14:47:13
当您打开类型为“http:// username:[email protected]/foo/blah.jpeg”的文件名时,大多数媒体库(ffmpeg's libavformat)都不会为您做这件事吗? – Lalaland 2012-02-22 14:56:24