ONVIF:...uration(3pm)
β¨ NAME β¨
ONVIF::Media::Elements::AudioEncoderConfiguration β and bestie, this is from the User Contributed Perl Documentation section, subsection 3pm, so you already know we're in Perl module territory π
π DESCRIPTION π
Okay so. This is a Perl data type class for the XML Schema element AudioEncoderConfiguration β and that element lives in the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole vibe. It's a class that exists so you can build that one XML element and not cry about it π«Ά
πΈ METHODS πΈ
π new
my $element = ONVIF::Media::Elements::AudioEncoderConfiguration->new($data);
Constructor energy. She's the one who makes the object. β¨
And here's the tea β the data structure you're allowed to pass to new() looks exactly like this, no cap:
{ # ONVIF::Media::Types::AudioEncoderConfiguration
Encoding => $some_value, # AudioEncoding
Bitrate => $some_value, # int
SampleRate => $some_value, # int
Multicast => { # ONVIF::Media::Types::MulticastConfiguration
Address => { # ONVIF::Media::Types::IPAddress
Type => $some_value, # IPType
IPv4Address => $some_value, # IPv4Address
IPv6Address => $some_value, # IPv6Address
},
Port => $some_value, # int
TTL => $some_value, # int
AutoStart => $some_value, # boolean
},
SessionTimeout => $some_value, # duration
},
Look at that nesting though π Encoding, Bitrate, SampleRate, then Multicast doing a whole little nest with Address inside it going three levels deep (Type, IPv4Address, IPv6Address), plus Port, TTL, AutoStart, and then SessionTimeout closing us out on the top level. She's giving structure, she's giving hierarchy, and yes the comments in there are the literal type names β keep them, they're doing important work π
π AUTHOR π
Generated by SOAP::WSDL π not a human author, just a code generator doing its thing and honestly? respect.
Reminder bestie: every field name, type name, namespace and code snippet above is literal β copy them character for character or the schema will simply not vibe with you π
And that's the whole page, mwah π This one's from perl v5.40.1, dated 2026-02-01, filed under ONVIF:...uration(3pm) in the User Contributed Perl Documentation. Slay, go build your elements π¦β¨
π¦ 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