Giter Site home page Giter Site logo

getpresets not working about easy_onvif HOT 2 CLOSED

DongsubShin avatar DongsubShin commented on August 14, 2024
getpresets not working

from easy_onvif.

Comments (2)

DongsubShin avatar DongsubShin commented on August 14, 2024
await onvif.ptz.gotoPreset(profs[0].token, "001");

Exception (Exception: Error code: {Code: {Value: {$: SOAP-ENV:Sender}}, Reason: {Text: {@xml:lang: en, $: Method 'GotoPreset' not implemented: method name or namespace not recognized}}})

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

Hi @DongsubShin,

Does this work when you use another Onvif software package to list presets? The error listed above is saying that your Onvif device is responding with a "not implemented/supported" to the API request. Meaning that the device does not support "preset" capability.

I've been learning through people's feedback that many manufacturers are very loose in following the official Onvif spec. For instance, related to issue #26 that you submitted, some devices don't support RelativeMove, the software can work-around this by retrieving the current pan/tilt/zoom settings of the camera and then doing an AbsoluteMove for the additional amount specified by the user.

If you an find an open source package that works for your device then I might be able to look at the work-around used there and add that same functionality to the easy_onvif package.

from easy_onvif.

Related Issues (20)

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.