ONVIF:...ration(3pm)

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

✨ NAME ✨

ONVIF::PTZ::Elements::VideoSourceConfiguration β€” bestie, that's the whole name, and yes it's a mouthful, we're gonna say it like five times so it sticks. It lives in section 3pm of the User Contributed Perl Documentation, so that's the vibe: a Perl module page, hand-rolled by the community, slaying in the 3pm section. πŸ’…


🌸 DESCRIPTION 🌸

Okay so real talk: this is a Perl data type class for the XML Schema element called VideoSourceConfiguration, and it comes from the namespace http://www.onvif.org/ver10/schema. That's it. That's the whole job. It's a little data-holder class that knows how to be that element, no cap. πŸŽ€


πŸ¦‹ METHODS πŸ¦‹

πŸ’– new πŸ’–

my $element = ONVIF::PTZ::Elements::VideoSourceConfiguration->new($data);

It's the constructor, periodt. ✨ Here's the thing though β€” you can pass it a data structure, and it may be passed to new(). And here's that whole structure, laid out exactly as it is, so you don't have to guess a single field. Copy it, love it, respect it. πŸ‘‘

{ # ONVIF::PTZ::Types::VideoSourceConfiguration
  SourceToken => $some_value, # ReferenceToken
  Bounds => ,
  Extension =>  { # ONVIF::PTZ::Types::VideoSourceConfigurationExtension
    Rotate =>  { # ONVIF::PTZ::Types::Rotate
      Mode => $some_value, # RotateMode
      Degree =>  $some_value, # int
      Extension =>  { # ONVIF::PTZ::Types::RotateExtension
      },
    },
    Extension =>  { # ONVIF::PTZ::Types::VideoSourceConfigurationExtension2
    },
  },
},

Let me walk you through it because the nesting is giving inception πŸŒ€:

  • SourceToken takes $some_value, and its type is ReferenceToken.
  • Bounds is sitting there with literally nothing after the => β€” that's just how it is, don't come for me, I'm only the messenger. πŸ™ˆ
  • Extension is a whole ONVIF::PTZ::Types::VideoSourceConfigurationExtension, and inside it:
    • Rotate is a ONVIF::PTZ::Types::Rotate, and inside that:
      • Mode takes $some_value, typed RotateMode.
      • Degree takes $some_value, typed int.
      • Extension is a ONVIF::PTZ::Types::RotateExtension β€” and it's empty inside, which is honestly so valid of it. 🫢
    • Extension again, this time a ONVIF::PTZ::Types::VideoSourceConfigurationExtension2, also empty inside. She said "my presence is enough." πŸ’œ
Heads up bestie: that code block is verbatim from the original page, indentation and all β€” I'm not touching a single character of it, because messing with example code is not the move. 🚫

⭐ AUTHOR ⭐

Generated by SOAP::WSDL. So no human to thank, the machine did that. Still iconic though. πŸ€–πŸ’–


πŸŽ€ bye bestie πŸŽ€

This page is riding with perl v5.40.1, dated 2026-02-01, and it's part of the User Contributed Perl Documentation. That's the whole scroll β€” go forth and construct your VideoSourceConfiguration, you absolute main character. πŸŒˆβœ¨πŸ’…

πŸ“¦ where this page comes from