Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/oop/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 尝试使用RGE连接到IP摄像头(使用Onvif URL)时关闭连接?_C#_Aforge_Onvif - Fatal编程技术网

C# 尝试使用RGE连接到IP摄像头(使用Onvif URL)时关闭连接?

C# 尝试使用RGE连接到IP摄像头(使用Onvif URL)时关闭连接?,c#,aforge,onvif,C#,Aforge,Onvif,我希望使用库AForge.NET连接到具有ONVIF设备服务URI的IP摄像头,类似于: http://admin:admin@192.168.1.142/onvif/device_service 但请发送此错误: the underlying connection was closed: the connection was closed unexpectedly 如何在AForge.NET中使用ONVIF协议 感谢您连接的是ONVIF设备服务,而不是流媒体URI。你最好用手机连接came

我希望使用库AForge.NET连接到具有ONVIF设备服务URI的IP摄像头,类似于:

http://admin:admin@192.168.1.142/onvif/device_service
但请发送此错误:

the underlying connection was closed: the connection was closed
unexpectedly
如何在AForge.NET中使用ONVIF协议


感谢您连接的是ONVIF设备服务,而不是流媒体URI。你最好用手机连接camepra。如果我没记错的话,当您请求实时视频时,它会显示视频源的流URI。

您确定这是流的正确URL吗?你的相机型号是什么?