ONVIF:...ension(3pm)
β¨ NAME β¨
ONVIF::Media::Types::PTZConfigurationExtension β bestie, it's a Perl data type class, and yes it's in section 3pm of the User Contributed Perl Documentation, we love a humble little library page π
πΈ DESCRIPTION πΈ
Okay so listen. This is a Perl data type class for the XML Schema defined complexType called PTZConfigurationExtension, and it lives in the namespace http://www.onvif.org/ver10/schema. That's it. That's the whole vibe. It's giving "glorified hash wrapper" and honestly? Iconic. π«Ά
π PROPERTIES π
These are the properties you can reach with the get_PROPERTY / set_PROPERTY methods β no cap, that's literally how you talk to them:
PTControlDirectionβ your PT control direction situation πExtensionβ the extension slot, because of course there's an extension slot π¦
π₯ METHODS π₯
β new β
Constructor, periodt. The following data structure may be passed to new() β and I mean it may be passed exactly like this, so here it is verbatim, no notes:
{ # ONVIF::Media::Types::PTZConfigurationExtension
PTControlDirection => { # ONVIF::Media::Types::PTControlDirection
EFlip => { # ONVIF::Media::Types::EFlip
Mode => $some_value, # EFlipMode
},
Reverse => { # ONVIF::Media::Types::Reverse
Mode => $some_value, # ReverseMode
},
Extension => { # ONVIF::Media::Types::PTControlDirectionExtension
},
},
Extension => { # ONVIF::Media::Types::PTZConfigurationExtension2
},
},
See how PTControlDirection opens up into EFlip (with its Mode, typed as EFlipMode) and Reverse (with its Mode, typed as ReverseMode) and then its own Extension (that's ONVIF::Media::Types::PTControlDirectionExtension)? And then the outer Extension is ONVIF::Media::Types::PTZConfigurationExtension2? Yeah. Nesting. We stan a little matryoshka of hashes. πͺβ¨
Heads up bestie: $some_value is a placeholder, not a real thing you can just type. Swap it for whatever your actual value is, okay? π
π AUTHOR π
Generated by SOAP::WSDL β so technically the author is a code generator, and honestly? Slay, machine, you ate. π€π
And that's the whole page, bestie β this was perl v5.40.1, dated 2026-02-01, from the ONVIF:...ension(3pm) corner of the manual. Mwah, take care of your PTZ configs π
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms