ONVIF:...ration(3pm)
β¨ NAME β¨
ONVIF::PTZ::Elements::VideoSourceConfiguration β bestie, that's the whole name, and yes it's a mouthful, we're gonna say it like five times so it sticks. It lives in section 3pm of the User Contributed Perl Documentation, so that's the vibe: a Perl module page, hand-rolled by the community, slaying in the 3pm section. π
πΈ DESCRIPTION πΈ
Okay so real talk: this is a Perl data type class for the XML Schema element called VideoSourceConfiguration, and it comes from the namespace http://www.onvif.org/ver10/schema. That's it. That's the whole job. It's a little data-holder class that knows how to be that element, no cap. π
π¦ METHODS π¦
π new π
my $element = ONVIF::PTZ::Elements::VideoSourceConfiguration->new($data);
It's the constructor, periodt. β¨ Here's the thing though β you can pass it a data structure, and it may be passed to new(). And here's that whole structure, laid out exactly as it is, so you don't have to guess a single field. Copy it, love it, respect it. π
{ # ONVIF::PTZ::Types::VideoSourceConfiguration
SourceToken => $some_value, # ReferenceToken
Bounds => ,
Extension => { # ONVIF::PTZ::Types::VideoSourceConfigurationExtension
Rotate => { # ONVIF::PTZ::Types::Rotate
Mode => $some_value, # RotateMode
Degree => $some_value, # int
Extension => { # ONVIF::PTZ::Types::RotateExtension
},
},
Extension => { # ONVIF::PTZ::Types::VideoSourceConfigurationExtension2
},
},
},
Let me walk you through it because the nesting is giving inception π:
SourceTokentakes$some_value, and its type isReferenceToken.Boundsis sitting there with literally nothing after the=>β that's just how it is, don't come for me, I'm only the messenger. πExtensionis a wholeONVIF::PTZ::Types::VideoSourceConfigurationExtension, and inside it:Rotateis aONVIF::PTZ::Types::Rotate, and inside that:Modetakes$some_value, typedRotateMode.Degreetakes$some_value, typedint.Extensionis aONVIF::PTZ::Types::RotateExtensionβ and it's empty inside, which is honestly so valid of it. π«Ά
Extensionagain, this time aONVIF::PTZ::Types::VideoSourceConfigurationExtension2, also empty inside. She said "my presence is enough." π
Heads up bestie: that code block is verbatim from the original page, indentation and all β I'm not touching a single character of it, because messing with example code is not the move. π«
β AUTHOR β
Generated by SOAP::WSDL. So no human to thank, the machine did that. Still iconic though. π€π
π bye bestie π
This page is riding with perl v5.40.1, dated 2026-02-01, and it's part of the User Contributed Perl Documentation. That's the whole scroll β go forth and construct your VideoSourceConfiguration, you absolute main character. πβ¨π
π¦ 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