ONVIF:...Stream(3pm)
π ONVIF::Analytics::Elements::MetadataStream π
okay bestie, sit down, hydrate, because we're doing Perl data type classes today and honestly? it's giving iconic. this page is from the User Contributed Perl Documentation collection, and the module we're hyping up is ONVIF::Analytics::Elements::MetadataStream (yeah the page title gets truncated to ONVIF:...Stream(3pm) in the header, we don't talk about it π).
β¨ NAME β¨
ONVIF::Analytics::Elements::MetadataStream β that's the whole vibe, that's the whole name, periodt.
πΈ DESCRIPTION πΈ
so basically? this is a Perl data type class for the XML Schema defined element MetadataStream, and it lives in the namespace http://www.onvif.org/ver10/schema. that's it. that's the job. she's a class. she represents an element. she slays. π«Ά
π METHODS π
π new
my $element = ONVIF::Analytics::Elements::MetadataStream->new($data);
this is the constructor β the main character entrance, if you will. β¨
the data structure you can pass to new() looks like this, and bestie, it is LONG. buckle up. no cap, every single line is here, we're not skipping anything, we don't do that:
{ # ONVIF::Analytics::Types::MetadataStream
# One of the following elements.
# No occurrence checks yet, so be sure to pass just one...
VideoAnalytics => { # ONVIF::Analytics::Types::VideoAnalyticsStream
# One of the following elements.
# No occurrence checks yet, so be sure to pass just one...
Frame => { # ONVIF::Analytics::Types::Frame
PTZStatus => { # ONVIF::Analytics::Types::PTZStatus
Position => { # ONVIF::Analytics::Types::PTZVector
PanTilt => ,
Zoom => ,
},
MoveStatus => { # ONVIF::Analytics::Types::PTZMoveStatus
PanTilt => $some_value, # MoveStatus
Zoom => $some_value, # MoveStatus
},
Error => $some_value, # string
UtcTime => $some_value, # dateTime
},
Transformation => { # ONVIF::Analytics::Types::Transformation
Translate => ,
Scale => ,
Extension => { # ONVIF::Analytics::Types::TransformationExtension
},
},
Object => { # ONVIF::Analytics::Types::Object
Appearance => { # ONVIF::Analytics::Types::Appearance
Transformation => { # ONVIF::Analytics::Types::Transformation
Translate => ,
Scale => ,
Extension => { # ONVIF::Analytics::Types::TransformationExtension
},
},
Shape => { # ONVIF::Analytics::Types::ShapeDescriptor
BoundingBox => ,
CenterOfGravity => ,
Polygon => { # ONVIF::Analytics::Types::Polygon
Point => ,
},
Extension => { # ONVIF::Analytics::Types::ShapeDescriptorExtension
},
},
Color => { # ONVIF::Analytics::Types::ColorDescriptor
ColorCluster => {
Color => ,
Weight => $some_value, # float
Covariance => ,
},
Extension => { # ONVIF::Analytics::Types::ColorDescriptorExtension
},
},
Class => { # ONVIF::Analytics::Types::ClassDescriptor
ClassCandidate => {
Type => $some_value, # ClassType
Likelihood => $some_value, # float
},
Extension => { # ONVIF::Analytics::Types::ClassDescriptorExtension
OtherTypes => { # ONVIF::Analytics::Types::OtherType
Type => $some_value, # string
Likelihood => $some_value, # float
},
Extension => { # ONVIF::Analytics::Types::ClassDescriptorExtension2
},
},
},
Extension => { # ONVIF::Analytics::Types::AppearanceExtension
},
},
Behaviour => { # ONVIF::Analytics::Types::Behaviour
Removed => {
},
Idle => {
},
Extension => { # ONVIF::Analytics::Types::BehaviourExtension
},
},
Extension => { # ONVIF::Analytics::Types::ObjectExtension
},
},
ObjectTree => { # ONVIF::Analytics::Types::ObjectTree
Rename => { # ONVIF::Analytics::Types::Rename
from => ,
to => ,
},
Split => { # ONVIF::Analytics::Types::Split
from => ,
to => ,
},
Merge => { # ONVIF::Analytics::Types::Merge
from => ,
to => ,
},
Delete => ,
Extension => { # ONVIF::Analytics::Types::ObjectTreeExtension
},
},
Extension => { # ONVIF::Analytics::Types::FrameExtension
MotionInCells => { # ONVIF::Analytics::Types::MotionInCells
},
Extension => { # ONVIF::Analytics::Types::FrameExtension2
},
},
},
Extension => { # ONVIF::Analytics::Types::VideoAnalyticsStreamExtension
},
},
PTZ => { # ONVIF::Analytics::Types::PTZStream
# One of the following elements.
# No occurrence checks yet, so be sure to pass just one...
PTZStatus => { # ONVIF::Analytics::Types::PTZStatus
Position => { # ONVIF::Analytics::Types::PTZVector
PanTilt => ,
Zoom => ,
},
MoveStatus => { # ONVIF::Analytics::Types::PTZMoveStatus
PanTilt => $some_value, # MoveStatus
Zoom => $some_value, # MoveStatus
},
Error => $some_value, # string
UtcTime => $some_value, # dateTime
},
Extension => { # ONVIF::Analytics::Types::PTZStreamExtension
},
},
Event => $some_value, # anyType
Extension => { # ONVIF::Analytics::Types::MetadataStreamExtension
AudioAnalyticsStream => { # ONVIF::Analytics::Types::AudioAnalyticsStream
AudioDescriptor => { # ONVIF::Analytics::Types::AudioDescriptor
},
Extension => { # ONVIF::Analytics::Types::AudioAnalyticsStreamExtension
},
},
Extension => { # ONVIF::Analytics::Types::MetadataStreamExtension2
},
},
},
β οΈ okay important heads-up bestie, real talk: see those little comments saying# One of the following elements.and# No occurrence checks yet, so be sure to pass just one...? that is NOT decoration. the module does not check occurrences for you, so it's on you to pass just one. don't be the girl who passes two and then acts surprised. π
π AUTHOR π
Generated by SOAP::WSDL. yeah, it's auto-generated, she didn't even write herself, and she still ate. π
and that's the whole page, bestie! π this little icon was brought to you by perl v5.40.1 and dated 2026-02-01 β same source/version and date as the original footer, we just wrapped it in a bow instead of a boring line. mwah! πβ¨ππ¦
π¦ 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