ONVIF::...Options(3)
πΈ 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
- 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