ONVIF::...ributes(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

✨ 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:

  • Bitrate
  • Width
  • Height
  • Encoding
  • Framerate

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