C#控制ip网络摄像头
我最近购买了一个便宜的平移/倾斜网络摄像头,该相机非常酷,但界面还有很多不足之处。
它完全基于网络,但我希望制作一个 winform 应用程序,这样我可以更好地满足我的需求。 (将方向绑定到箭头键,删除一些英语)
我的问题是如何捕获通过 Web 界面发送的命令,然后在 C# 中重现它
I recently purchased a cheap pan/tilt webcam, the camera is pretty cool but the interface leaves alot to be desired.
Its all web based but I was hoping to make a winform application so I can fit it a little better to my needs. (bind directions to arrow keys, remove some of the engrish)
my question is how can I capture the comands that are being sent via the web interface and then reproduce it in c#
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您无法获取API 文档,您可以尝试使用wireshark 等嗅探发送到相机的数据包。希望命令以明文形式发送。
网络摄像机有一个名为 Onvif 的 API 标准,如果您幸运的话,摄像机符合该标准。
If you can't get hold of the API-documentation, you could try to sniff packets sent to the camera using e.g. wireshark. Hopefully the commands are sent in clear text.
There is a API-standard for networked cameras called Onvif, if you're lucky the camera conforms with that standard.