ONVIF:...oSource(3pm)
π 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:
FramerateResolutionImagingExtension
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-ishExtension => ,-looking spots and theWindow => ,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
- 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