Giter VIP home page Giter VIP logo

onvif's Introduction

onvif

A lightweight ONVIF Client library.

onvif's People

Contributors

ezavaleta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

onvif's Issues

mainStream exposure time

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!

Protocol Security Exception

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?

PTZ Location returns '0' values

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

Add support for h265

Was going to fork it, but before I do, any chance you could refresh the wsdls and support the h265 profile?

image

Easy to use Lib. Just have a use case for h265 and caught a block.

Thanks!

AOT compilation fails

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

Xamarin Form support

Unfortunately your library is not working with xf
"MonoTouch does not support dynamic proxy code generation"

WPF support

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?

MainWindow.xaml.cs(partial)

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);
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.