ONVIF:...esponse(3pm)

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

πŸ’– ONVIF::Media::Elements::GetAudioSourcesResponse πŸ’–

okay so bestie, welcome to ONVIF:...esponse(3pm) β€” yes that's the manual name, don't ask why it's abbreviated like that, the Perl docs just do that sometimes πŸ’…


✨ NAME ✨

ONVIF::Media::Elements::GetAudioSourcesResponse β€” literally the whole vibe of this page, no notes 🫢


🌸 DESCRIPTION 🌸

so this is a Perl data type class for the XML Schema defined element GetAudioSourcesResponse, and it lives in the namespace http://www.onvif.org/ver10/media/wsdl ✨

that's it. that's the description. short and iconic, we love a minimal queen πŸ‘‘


πŸŽ€ PROPERTIES πŸŽ€

these properties are accessed with the get_PROPERTY / set_PROPERTY methods, iykyk πŸ’«

  • AudioSources β€” the one and only property, main character energy fr fr
$element->set_AudioSources($data);
$element->get_AudioSources();

set it, get it, slay it πŸ¦‹


πŸ’… METHODS πŸ’…

new

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

it's the constructor, bestie πŸ’– the following data structure may be passed to new():

{
  AudioSources =>  { # ONVIF::Media::Types::AudioSource
    Channels =>  $some_value, # int
  },
},

so you're passing in a hashref with an AudioSources key, which itself is a hashref typed as ONVIF::Media::Types::AudioSource, and inside that you've got Channels which is an int. copy that structure exactly, no cap 🧚


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” not a human, just a very diligent code generator doing its thing πŸ™ˆβœ¨


okay that's the whole page bestie!! πŸ’œ this was perl v5.40.1, dated 2026-02-01, and honestly? iconic. periodt πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from