ONVIF:...oSource(3pm)

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

πŸ’– ONVIF::Device::Types::VideoSource β€” from the User Contributed Perl Documentation ✨

okay bestie, sit down, hydrate, because we're about to get into ONVIF::Device::Types::VideoSource(3pm) and honestly? it's giving "small module, enormous nested hash." no cap. πŸŽ€


🌸 NAME 🌸

ONVIF::Device::Types::VideoSource β€” yes that's the whole name, she's not subtle, she knows what she is πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So. This is a Perl data type class for the XML Schema defined complexType VideoSource, and it comes straight out of the namespace http://www.onvif.org/ver10/schema.

And what does that mean in human words? It's the representation of a physical video input. That's it. That's the vibe. One camera, one lens, one whole personality. πŸ“Ήβœ¨


🌈 PROPERTIES 🌈

These are the properties you can get at with the get_PROPERTY / set_PROPERTY methods β€” like, that's the whole access pattern, no drama, no surprises:

  • Framerate
  • Resolution
  • Imaging
  • Extension

four properties. iconic. πŸ‘‘


πŸ’œ METHODS πŸ’œ

🧚 new 🧚

Constructor time!! πŸŽ‰ Here's the data structure you may pass to new() β€” and bestie, I'm not gonna lie to you, it is long. It's nested. It's nesting. It's nesting again. It's giving matryoshka doll but make it imaging settings. But every single field is here, character for character, so don't come for me:

 { # ONVIF::Device::Types::VideoSource
   Framerate =>  $some_value, # float
   Resolution =>  { # ONVIF::Device::Types::VideoResolution
     Width =>  $some_value, # int
     Height =>  $some_value, # int
   },
   Imaging =>  { # ONVIF::Device::Types::ImagingSettings
     BacklightCompensation =>  { # ONVIF::Device::Types::BacklightCompensation
       Mode => $some_value, # BacklightCompensationMode
       Level =>  $some_value, # float
     },
     Brightness =>  $some_value, # float
     ColorSaturation =>  $some_value, # float
     Contrast =>  $some_value, # float
     Exposure =>  { # ONVIF::Device::Types::Exposure
       Mode => $some_value, # ExposureMode
       Priority => $some_value, # ExposurePriority
       Window => ,
       MinExposureTime =>  $some_value, # float
       MaxExposureTime =>  $some_value, # float
       MinGain =>  $some_value, # float
       MaxGain =>  $some_value, # float
       MinIris =>  $some_value, # float
       MaxIris =>  $some_value, # float
       ExposureTime =>  $some_value, # float
       Gain =>  $some_value, # float
       Iris =>  $some_value, # float
     },
     Focus =>  { # ONVIF::Device::Types::FocusConfiguration
       AutoFocusMode => $some_value, # AutoFocusMode
       DefaultSpeed =>  $some_value, # float
       NearLimit =>  $some_value, # float
       FarLimit =>  $some_value, # float
     },
     IrCutFilter => $some_value, # IrCutFilterMode
     Sharpness =>  $some_value, # float
     WideDynamicRange =>  { # ONVIF::Device::Types::WideDynamicRange
       Mode => $some_value, # WideDynamicMode
       Level =>  $some_value, # float
     },
     WhiteBalance =>  { # ONVIF::Device::Types::WhiteBalance
       Mode => $some_value, # WhiteBalanceMode
       CrGain =>  $some_value, # float
       CbGain =>  $some_value, # float
     },
     Extension =>  { # ONVIF::Device::Types::ImagingSettingsExtension
     },
   },
   Extension =>  { # ONVIF::Device::Types::VideoSourceExtension
     Imaging =>  { # ONVIF::Device::Types::ImagingSettings20
       BacklightCompensation =>  { # ONVIF::Device::Types::BacklightCompensation20
         Mode => $some_value, # BacklightCompensationMode
         Level =>  $some_value, # float
       },
       Brightness =>  $some_value, # float
       ColorSaturation =>  $some_value, # float
       Contrast =>  $some_value, # float
       Exposure =>  { # ONVIF::Device::Types::Exposure20
         Mode => $some_value, # ExposureMode
         Priority => $some_value, # ExposurePriority
         Window => ,
         MinExposureTime =>  $some_value, # float
         MaxExposureTime =>  $some_value, # float
         MinGain =>  $some_value, # float
         MaxGain =>  $some_value, # float
         MinIris =>  $some_value, # float
         MaxIris =>  $some_value, # float
         ExposureTime =>  $some_value, # float
         Gain =>  $some_value, # float
         Iris =>  $some_value, # float
       },
       Focus =>  { # ONVIF::Device::Types::FocusConfiguration20
         AutoFocusMode => $some_value, # AutoFocusMode
         DefaultSpeed =>  $some_value, # float
         NearLimit =>  $some_value, # float
         FarLimit =>  $some_value, # float
         Extension =>  { # ONVIF::Device::Types::FocusConfiguration20Extension
         },
       },
       IrCutFilter => $some_value, # IrCutFilterMode
       Sharpness =>  $some_value, # float
       WideDynamicRange =>  { # ONVIF::Device::Types::WideDynamicRange20
         Mode => $some_value, # WideDynamicMode
         Level =>  $some_value, # float
       },
       WhiteBalance =>  { # ONVIF::Device::Types::WhiteBalance20
         Mode => $some_value, # WhiteBalanceMode
         CrGain =>  $some_value, # float
         CbGain =>  $some_value, # float
         Extension =>  { # ONVIF::Device::Types::WhiteBalance20Extension
         },
       },
       Extension =>  { # ONVIF::Device::Types::ImagingSettingsExtension20
         ImageStabilization =>  { # ONVIF::Device::Types::ImageStabilization
           Mode => $some_value, # ImageStabilizationMode
           Level =>  $some_value, # float
           Extension =>  { # ONVIF::Device::Types::ImageStabilizationExtension
           },
         },
         Extension =>  { # ONVIF::Device::Types::ImagingSettingsExtension202
           IrCutFilterAutoAdjustment =>  { # ONVIF::Device::Types::IrCutFilterAutoAdjustment
             BoundaryType =>  $some_value, # string
             BoundaryOffset =>  $some_value, # float
             ResponseTime =>  $some_value, # duration
             Extension =>  { # ONVIF::Device::Types::IrCutFilterAutoAdjustmentExtension
             },
           },
           Extension =>  { # ONVIF::Device::Types::ImagingSettingsExtension203
           },
         },
       },
     },
     Extension =>  { # ONVIF::Device::Types::VideoSourceExtension2
     },
   },
 },
heads up bestie 🫢 β€” I copied that block exactly as she wrote it. Those empty-ish Extension => ,-looking spots and the Window => , line are literally how it appears in the original. Do not "fix" them, do not tidy them, do not touch them. That's the source, periodt. πŸ’€

πŸŽ€ AUTHOR πŸŽ€

Generated by SOAP::WSDL</purl> β€” yeah, the machine wrote her, she's a generated queen, we respect her anyway πŸ‘‘


and that's the whole page, bestie!! no cap, every property, every method, every nested type preserved πŸ’– this was documented with perl v5.40.1, dated 2026-02-01, and yes she really does have "User Contributed Perl Documentation" energy in the best way possible πŸŒΈπŸ¦‹βœ¨ mwah, stan a complexType πŸ’…

πŸ“¦ where this page comes from