ONVIF::...ributes(3)
β¨ NAME β¨
Okay bestie, so this page β the manual name is ONVIF::...ributes(3) btw, yes it's abbreviated, they really said "we're not typing allat" β is literally just about one thing: ONVIF::PTZ::Types::VideoAttributes. That's it. That's the whole main character. π
πΈ DESCRIPTION πΈ
It's a Perl data type class, no cap. Like, it exists so that the XML Schema defined complexType called VideoAttributes has somewhere to live in Perl-land. And where does that complexType come from? The namespace http://www.onvif.org/ver10/schema. That's the whole origin story. π
π¦ PROPERTIES π¦
These are the properties you can poke at, and the way you poke at them is with get_PROPERTY / set_PROPERTY methods β that's the vibe check for getting and setting, iykyk:
BitrateWidthHeightEncodingFramerate
That's five (5) properties, bestie. Count 'em. Obsessed with how there's exactly five. π
π₯ METHODS π₯
β new
The constructor. Simple. Iconic. Here's the data structure you're allowed to pass to new(), and honestly it's giving "just hand me a hashref, it'll be fine":
{ # ONVIF::PTZ::Types::VideoAttributes
Bitrate => $some_value, # int
Width => $some_value, # int
Height => $some_value, # int
Encoding => $some_value, # VideoEncoding
Framerate => $some_value, # float
},
Look at those little comments telling you the types β Bitrate is an int, Width is an int, Height is an int, Encoding is a VideoEncoding, and Framerate is a float. Copy it exact, don't get creative with the keys unless you enjoy debugging at 2am π
π AUTHOR π
It was Generated by SOAP::WSDL. That's the whole credit. No human to thank, no email, just the machine that made it. Fr fr. π«Ά
So that's the pageeee π and if you made it this far, here's the cute sign-off: this little number comes from perl v5.42.3, dated 1980-01-01 (yes, really, that's the date, absolutely giving time-travel main character energy π), slay, bye bestie πβ¨
π¦ where this page comes from
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms