ONVIF::...Options(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

🌸 ONVIF::...Options(3) β€” bestie, it's a Perl type class πŸŽ€

okay so real talk, this little page lives in section 3 of the manual (that's the library functions zone, iykyk), and the manual name is literally ONVIF::...Options β€” yes the dots are part of the vibe, the shell truncated it for us and honestly? iconic. πŸ’…


✨ NAME ✨

ONVIF::Device::Types::AudioDecoderConfigurationOptions

like, that's the whole name, no cap. it's a mouthful but she's worth it 🫢


🌈 DESCRIPTION 🌈

bestie. listen. this is a Perl data type class for the XML Schema defined complexType called AudioDecoderConfigurationOptions, and it comes from the namespace http://www.onvif.org/ver10/schema. that's it, that's the whole personality. it's giving ✨typed data structure representation✨ and we stan a lowkey glue class. πŸ¦‹

πŸ’– PROPERTIES πŸ’–

these properties are the ones you can actually touch β€” access them with the get_PROPERTY / set_PROPERTY methods (yes, literally those method names, the capitalization is part of the deal, don't come for me):

  • AACDecOptions 🎧
  • G711DecOptions ☎️
  • G726DecOptions πŸ“ž
  • Extension 🧚

four properties. that's the roster. she's compact and she knows it.


πŸ”₯ METHODS πŸ”₯

⭐ new ⭐

Constructor time!! πŸŽ‰ this is the main character method fr fr. the following data structure may be passed to new():

 { # ONVIF::Device::Types::AudioDecoderConfigurationOptions
   AACDecOptions =>  { # ONVIF::Device::Types::AACDecOptions
     Bitrate =>  { # ONVIF::Device::Types::IntList
       Items =>  $some_value, # int
     },
     SampleRateRange =>  { # ONVIF::Device::Types::IntList
       Items =>  $some_value, # int
     },
   },
   G711DecOptions =>  { # ONVIF::Device::Types::G711DecOptions
     Bitrate =>  { # ONVIF::Device::Types::IntList
       Items =>  $some_value, # int
     },
     SampleRateRange =>  { # ONVIF::Device::Types::IntList
       Items =>  $some_value, # int
     },
   },
   G726DecOptions =>  { # ONVIF::Device::Types::G726DecOptions
     Bitrate =>  { # ONVIF::Device::Types::IntList
       Items =>  $some_value, # int
     },
     SampleRateRange =>  { # ONVIF::Device::Types::IntList
       Items =>  $some_value, # int
     },
   },
   Extension =>  { # ONVIF::Device::Types::AudioDecoderConfigurationOptionsExtension
   },
 },

okay let's vibe check this nest πŸ’€ β€” you've got AACDecOptions, G711DecOptions, and G726DecOptions all doing the exact same bit: each one holds a Bitrate that's an ONVIF::Device::Types::IntList with an Items field (that's an int, hence $some_value), and a SampleRateRange that's also an ONVIF::Device::Types::IntList with its own Items (int again πŸ“). then Extension hangs out at the end as an ONVIF::Device::Types::AudioDecoderConfigurationOptionsExtension β€” and notice she's got nothing nested inside in this example, so she's just sitting there being mysterious. πŸ‘‘

ngl the nesting goes deep enough that you'll want to keep your braces matched. copy the structure exactly, don't freestyle it. πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” a machine did this, not a human, and honestly? she ate. πŸ”₯


🌸 okay that's the whole page bestie, hope it slayed for you! this little gem comes from perl v5.42.3, dated 1980-01-01 (yes, the epoch-adjacent birthday, iconic πŸ’œ), and it's filed under ONVIF::...Options(3). go forth and construct your audio decoder options βœ¨πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from