[英]IP Camera working on port 1024 but not on port 1025 for ONVIF
I have a problem with my IP Camera.我的 IP 相机有问题。 I can enter the camera feed successfully on port 1024 which I have configured in the IP Camera and the router on this address in Chrome:我可以在我在 IP 摄像头和 Chrome 中此地址上的路由器中配置的端口 1024 上成功输入摄像头馈送:
http://192.168.1.4:1024/web/admin.html http://192.168.1.4:1024/web/admin.html
Now there is an ONVIF setting for the IP Camera which I have set like this on port 1025:现在我在端口 1025 上设置了 IP 相机的 ONVIF 设置:
I have also on the router done port forwarding for both port 1024 and 1025 like this:我还在路由器上完成了端口 1024 和 1025 的端口转发,如下所示:
Now when I enter the below URL in the Chrome Browser, I get the below error:现在,当我在 Chrome 浏览器中输入以下 URL 时,出现以下错误:
http://192.168.1.4:1025/web/admin.html http://192.168.1.4:1025/web/admin.html
<faultcode>SOAP-ENV:Client</faultcode> <faultstring>HTTP GET method not implemented</faultstring>
I wonder what this means and why no stream is coming for the above URL on port 1025?我想知道这意味着什么,为什么没有 stream 用于端口 1025 上的上述 URL?
[![enter image description here][3]][3]
I see two issues here:我在这里看到两个问题:
For the first problem, ONVIF works with soap, and therefore it expects to have POST requests.对于第一个问题,ONVIF 与 soap 一起工作,因此它预计会有 POST 请求。 Your browser thinks that it is connecting to a web page and sends a HTTP GET request that makes no sense for soap-based protocols, such as ONVIF.您的浏览器认为它正在连接到 web 页面并发送 HTTP GET 请求,这对于基于肥皂的协议(例如 ONVIF)没有意义。
The second problem is that your router is doing NAT, and moving RTSP streams through NAT is painful.第二个问题是你的路由器正在做 NAT,通过 NAT 移动 RTSP 流很痛苦。 You will find a lot of literature for VOIP, that uses RTSP and here the problem is exactly the same.你会发现很多使用 RTSP 的 VOIP 文献,这里的问题是完全相同的。 You have two possible solutions:您有两种可能的解决方案:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.