ONVIF:...esponse(3pm)
β¨ NAME β¨
okay bestie, listen up π ONVIF::Media::Elements::GetVideoSourcesResponse β that's the whole name, yes it's a mouthful, we love her anyway. It's part of the ONVIF Media elements crew (the 3pm manual, "User Contributed Perl Documentation" energy, iykyk).
π¦ DESCRIPTION π¦
so basically πΈ this is a Perl data type class for the XML Schema element called GetVideoSourcesResponse, and it lives in the namespace http://www.onvif.org/ver10/media/wsdl.
that's it. that's the whole vibe. it's giving "generated, does one thing, does it well." periodt π
π PROPERTIES π
you can poke at these properties with the get_PROPERTY / set_PROPERTY methods, no cap. here's what you get:
VideoSourcesβ the one and only, the main character π
$element->set_VideoSources($data);
$element->get_VideoSources();
π METHODS π
π new
my $element = ONVIF::Media::Elements::GetVideoSourcesResponse->new($data);
Constructor, bestie. She builds you a fresh object β¨. Here's the data structure you're allowed to hand to new() β and yes it goes deep, so buckle up π’:
{
VideoSources => { # ONVIF::Media::Types::VideoSource
Framerate => $some_value, # float
Resolution => { # ONVIF::Media::Types::VideoResolution
Width => $some_value, # int
Height => $some_value, # int
},
Imaging => { # ONVIF::Media::Types::ImagingSettings
BacklightCompensation => { # ONVIF::Media::Types::BacklightCompensation
Mode => $some_value, # BacklightCompensationMode
Level => $some_value, # float
},
Brightness => $some_value, # float
ColorSaturation => $some_value, # float
Contrast => $some_value, # float
Exposure => { # ONVIF::Media::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::Media::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::Media::Types::WideDynamicRange
Mode => $some_value, # WideDynamicMode
Level => $some_value, # float
},
WhiteBalance => { # ONVIF::Media::Types::WhiteBalance
Mode => $some_value, # WhiteBalanceMode
CrGain => $some_value, # float
CbGain => $some_value, # float
},
Extension => { # ONVIF::Media::Types::ImagingSettingsExtension
},
},
Extension => { # ONVIF::Media::Types::VideoSourceExtension
Imaging => { # ONVIF::Media::Types::ImagingSettings20
BacklightCompensation => { # ONVIF::Media::Types::BacklightCompensation20
Mode => $some_value, # BacklightCompensationMode
Level => $some_value, # float
},
Brightness => $some_value, # float
ColorSaturation => $some_value, # float
Contrast => $some_value, # float
Exposure => { # ONVIF::Media::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::Media::Types::FocusConfiguration20
AutoFocusMode => $some_value, # AutoFocusMode
DefaultSpeed => $some_value, # float
NearLimit => $some_value, # float
FarLimit => $some_value, # float
Extension => { # ONVIF::Media::Types::FocusConfiguration20Extension
},
},
IrCutFilter => $some_value, # IrCutFilterMode
Sharpness => $some_value, # float
WideDynamicRange => { # ONVIF::Media::Types::WideDynamicRange20
Mode => $some_value, # WideDynamicMode
Level => $some_value, # float
},
WhiteBalance => { # ONVIF::Media::Types::WhiteBalance20
Mode => $some_value, # WhiteBalanceMode
CrGain => $some_value, # float
CbGain => $some_value, # float
Extension => { # ONVIF::Media::Types::WhiteBalance20Extension
},
},
Extension => { # ONVIF::Media::Types::ImagingSettingsExtension20
ImageStabilization => { # ONVIF::Media::Types::ImageStabilization
Mode => $some_value, # ImageStabilizationMode
Level => $some_value, # float
Extension => { # ONVIF::Media::Types::ImageStabilizationExtension
},
},
Extension => { # ONVIF::Media::Types::ImagingSettingsExtension202
IrCutFilterAutoAdjustment => { # ONVIF::Media::Types::IrCutFilterAutoAdjustment
BoundaryType => $some_value, # string
BoundaryOffset => $some_value, # float
ResponseTime => $some_value, # duration
Extension => { # ONVIF::Media::Types::IrCutFilterAutoAdjustmentExtension
},
},
Extension => { # ONVIF::Media::Types::ImagingSettingsExtension203
},
},
},
},
Extension => { # ONVIF::Media::Types::VideoSourceExtension2
},
},
},
}
like. look at that nesting. she's thriving π every # comment is a type you can reach for, and the empty Extension => { } blocks are just vibes waiting for you to fill them in. no notes. obsessed π«Ά
π AUTHOR π
- Generated by
SOAP::WSDL
and that's the whole page, bestie π no cap, that was it. this beauty ships with perl v5.40.1, dated 2026-02-01 β so go forth and set your VideoSources, you absolute icon. slay πβ¨π
π¦ 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