ONVIF:...esponse(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ‘‘ ONVIF::Media::Elements::GetCompatibleAudioEncoderConfigurationsResponse πŸ’…

okay bestie, listen β€” you know ONVIF:...esponse(3pm) from the perl docs? Yeah, this is that page, but make it make sense. It's a Perl data type class for the XML Schema defined element GetCompatibleAudioEncoderConfigurationsResponse, and it lives in the namespace http://www.onvif.org/ver10/media/wsdl. slay. that's the whole vibe. ✨


🌸 PROPERTIES 🌸

these are the lil' things you can poke at with get_PROPERTY / set_PROPERTY methods. the way that perl just... lets you do that? iconic honestly 🫢

  • Configurations πŸŽ€
$element->set_Configurations($data);
$element->get_Configurations();

πŸ¦‹ METHODS πŸ¦‹

✨ new

my $element = ONVIF::Media::Elements::GetCompatibleAudioEncoderConfigurationsResponse->new($data);

it's the constructor, bestie. it builds the thing. πŸ’–

the following data structure may be passed to new() β€” copy this exactly, do NOT freestyle it, I'm so serious:

{
  Configurations =>  { # 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 all those nested hashes. it's giving russian dolls but make it XML. 🌈 lowkey obsessed with how deep Address goes ngl β€” Type, IPv4Address, IPv6Address, all cozy in there like a little group chat. πŸ’œ


πŸ’€ AUTHOR

Generated by SOAP::WSDL. yeah. it was generated. not me writing this by hand like a peasant, no ma'am. πŸ™ˆ


and that's the tea, bestie πŸ“ β€” this page is from perl v5.40.1, dated 2026-02-01, and it's part of the User Contributed Perl Documentation. go forth and configure those compatible audio encoders. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from