A lightweight ONVIF Client library.
mictlanix / onvif Goto Github PK
View Code? Open in Web Editor NEWA lightweight ONVIF Client library.
License: MIT License
A lightweight ONVIF Client library.
License: MIT License
Hello, I am trying to retrieve the exposure, which is set to "Manual" but it always returns as "Auto". In {source.Imaging.Exposure.Mode}.
Is the "VideoSources" supposed to return the actual IP camera settings? or some default template. Additionally how to get / set the exposure time? Thanks!
Hi, thank you for this library.
I'm actually having this exception when I try to run the test program:
System.ServiceModel.ProtocolException: The header 'Security' from the namespace 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd' was not understood by the recipient of this message, causing the message to not be processed. This error typically indicates that the sender of this message has enabled a communication protocol that the receiver cannot process. Please ensure that the configuration of the client's binding is consistent with the service's binding.
I'm using .Net Core 3.0, Visual Studio 2019 and a simple Foscam IP Camera.
Any idea why I get that exception?
I just wanted to post this here in case I forgot. So all of the tests passed without any issues except for the presets. It's successfully returning the preset names but not the p/t/z values. I'll do a better write up tonight with more info. I'm testing against dahua, canon, and amcrest cameras.
Great work, this looks awesome
AOT compiling an app with this ONVIF client fails.
Precompiling failed for Mictlanix.DotNet.OnvifClient.dll with exit code 1.
Mono Ahead of Time compiler - compiling assembly Mictlanix.DotNet.OnvifClient.dll
Failed to load method 0x6000008 from 'Mictlanix.DotNet.OnvifClient.dll' due to Could not resolve type with token 0100001e from typeref (expected class 'System.ServiceModel.Channels.MessageHeader' in assembly 'System.ServiceModel.Primitives, Version=4.5.0.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.ServiceModel.Primitives, Version=4.5.0.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.ServiceModel.Channels.MessageHeader member:(null).
error : Run with MONO_LOG_LEVEL=debug for more information.
error : AOT of image Mictlanix.DotNet.OnvifClient.dll failed.
Version: 0.0.3
.NET 7.0.203
Unfortunately your library is not working with xf
"MonoTouch does not support dynamic proxy code generation"
I built Mictlanix.DotNet.Onvif into WPF,
and simple program was created with reference to test.
However, await does not return.
What should I do?
private void Button_Click(object sender, RoutedEventArgs e){
MainAsync("xx.xx.xx.xx", "", "").Wait();
}
static async Task MainAsync(string host, string username, string password) {
var device = await OnvifClientFactory.CreateDeviceClientAsync(host, username, password);
}
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.