ONVIF:...uration(3pm)
πΈ ONVIF::Device::Elements::VideoSourceConfiguration πΈ
okay bestie, we're in the 3pm zone β that's the User Contributed Perl Documentation corner of the man-page universe, and this page is a whole lil' icon. it's a Perl class. it's an XML element wrapper. it's giving β¨structured data realnessβ¨. let's get into it π
β¨ NAME β¨
ONVIF::Device::Elements::VideoSourceConfiguration β say it with your chest, it's a mouthful but she's worth it π
π¦ DESCRIPTION π¦
so, bestie, this is a Perl data type class. what does that even mean? it means it's the Perl-side representation of the XML Schema defined element VideoSourceConfiguration, and that element lives in this namespace:
http://www.onvif.org/ver10/schema
that's the whole vibe. no cap, that's literally it. it's a class that stands in for an XML element so you don't have to rawdog the XML yourself π«Ά
π METHODS π
new
the constructor, the main character, the moment π
my $element = ONVIF::Device::Elements::VideoSourceConfiguration->new($data);
you call new and hand it $data, and boom β you've got yourself an element object. iconic behaviour honestly.
the following data structure may be passed to new():
{ # ONVIF::Device::Types::VideoSourceConfiguration
SourceToken => $some_value, # ReferenceToken
Bounds => ,
Extension => { # ONVIF::Device::Types::VideoSourceConfigurationExtension
Rotate => { # ONVIF::Device::Types::Rotate
Mode => $some_value, # RotateMode
Degree => $some_value, # int
Extension => { # ONVIF::Device::Types::RotateExtension
},
},
Extension => { # ONVIF::Device::Types::VideoSourceConfigurationExtension2
},
},
},
look at her go π nested hashes all the way down, like a little matryoshka doll of configuration. let me walk you through the layers so nothing gets lost in the sauce:
- the top level is a
ONVIF::Device::Types::VideoSourceConfigurationhash SourceTokentakes a$some_value, typed as aReferenceTokenBoundsis there β and yeah, the value slot is just left open, that's how she's written, don't come for me πExtensionopens up aONVIF::Device::Types::VideoSourceConfigurationExtension- inside that,
Rotateopens aONVIF::Device::Types::RotateModetakes a$some_value, typed as aRotateModeDegreetakes a$some_value, typed as anintExtensionopens aONVIF::Device::Types::RotateExtensionβ and she's empty inside, a little hollow vibe, no fields, no drama π
- and back up a level,
Extensionopens aONVIF::Device::Types::VideoSourceConfigurationExtension2β also empty, also chillin', also just vibing β
- inside that,
pro tip from your girl: those two empty extension hashes aren't broken, that's just the shape. don't go inventing keys in there, bestie, they're not in the spec π
π AUTHOR π
Generated by SOAP::WSDL β yeah, she was auto-generated, and honestly? auto-generated and still ate π₯
and that's the whole page, babe! this was ONVIF:...uration(3pm) from the User Contributed Perl Documentation, and the footer energy is: perl v5.40.1, dated 2026-02-01. go forth and configure those video sources, you absolute legend πβ¨ππ¦
π¦ 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