Help save net neutrality! Learn more.
Close

Focus and Iris

2013-09-24
2013-09-30
  • Dave Covert

    Dave Covert - 2013-09-24

    Hi guys! Loving ODM...

    Question: Is there support for focus and iris somewhere? I thought maybe under the PTZ Control as Get/SetImageSettings, but no joy.

    Thank you for your time,
    Dave

     
  • Andrey Vrana

    Andrey Vrana - 2013-09-24

    Hi Dave!

    What you are looking for is placed in Imaging settings
    http://www.onvif.org/onvif/ver20/imaging/wsdl/imaging.wsdl

    But often cameras did not supports all imaging settings through ONVIF.

    You can get all supported settings and look what you can setup.
    var caps = await session.GetCapabilities(new[] { CapabilityCategory.all });

    Regards,
    Andrey Vrana

     
  • Dave Covert

    Dave Covert - 2013-09-30

    Is this the right way to move the focus closer?

    this.session.SetImagingSettings(
    selectedProfile.videoSourceConfiguration.sourceToken,
    new ImagingSettings20() {
    focus = new FocusConfiguration20() {
    autoFocusMode = AutoFocusMode.manual
    }
    },
    true);

    this.session.Move(
    selectedProfile.videoSourceConfiguration.sourceToken,
    new FocusMove() {
    relative = new RelativeFocus() {
    distance = -10.0f
    }
    });

    Dave

     

Log in to post a comment.