zhuovi / xiaofeng.onvif Goto Github PK
View Code? Open in Web Editor NEWXiaoFeng.Onvif 基于.NET平台使用C#封装Onvif常用接口、设备、媒体、云台等功能, 拒绝WCF服务引用动态代理生成wsdl类文件 , 使用原生XML扩展标记语言封装参数,所有的数据流向都可控
License: MIT License
XiaoFeng.Onvif 基于.NET平台使用C#封装Onvif常用接口、设备、媒体、云台等功能, 拒绝WCF服务引用动态代理生成wsdl类文件 , 使用原生XML扩展标记语言封装参数,所有的数据流向都可控
License: MIT License
OnvifAuth中GetHeadToken里面的时间错误
string created = onvifUTCDateTime.ToString("yyyy-MM-ddThh:mm:ssZ");
应该改为HH
不然12点之前没问题,超过12点就出问题了,13点变1点,鉴权失败
System.Xml.XmlException
HResult=0x80131940
Message='>' is an unexpected token. The expected token is '"' or '''. Line 1, position 50.
Source=System.Private.Xml
StackTrace:
在 System.Xml.XmlTextReaderImpl.Throw(Exception e)
在 System.Xml.XmlTextReaderImpl.DtdParserProxy_Throw(Exception e)
在 System.Xml.XmlTextReaderImpl.DtdParserProxy.System.Xml.IDtdParserAdapter.Throw(Exception e)
在 System.Xml.DtdParser.ParseExternalId(Token idTokenType, Token declType, String& publicId, String& systemId)
在 System.Xml.DtdParser.ParseInDocumentDtd(Boolean saveInternalSubset)
在 System.Xml.DtdParser.Parse(Boolean saveInternalSubset)
在 System.Xml.DtdParser.System.Xml.IDtdParser.ParseInternalDtd(IDtdParserAdapter adapter, Boolean saveInternalSubset)
在 System.Xml.XmlTextReaderImpl.ParseDtd()
在 System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
在 System.Xml.XmlTextReaderImpl.ParseDocumentContent()
在 System.Xml.XmlReader.MoveToContent()
在 System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
在 System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
在 XiaoFeng.Onvif.OnvifAuth.ErrorResponse(String xnode) 在 G:\Downloaded\XiaoFeng.Onvif-master\XiaoFeng.Onvif-master\OnvifAuth.cs 中: 第 151 行
在 XiaoFeng.Onvif.DeviceService.d__4.MoveNext() 在 G:\Downloaded\XiaoFeng.Onvif-master\XiaoFeng.Onvif-master\DeviceService.cs 中: 第 132 行
在 MyTest.Program.Main(String[] args) 在 G:\Downloaded\XiaoFeng.Onvif-master\MyTest\Program.cs 中: 第 15 行
如果onvif端口不是80那么调用GetDeviceInformation方法就会报错
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.