ONVIF:...ibutes(3pm)
π ONVIF::Media::Types::MediaAttributes π
okay bestie, pull up a chair, we're reading a Perl man page together and honestly? it's giving niche but iconic. this one lives in the Perl manual, section 3pm (you know, the "perl modules" shelf π), and it's all about a little data type class.
β¨ NAME β¨
ONVIF::Media::Types::MediaAttributes β say it with your chest. that's the whole name, that's the whole vibe. π¦
πΈ DESCRIPTION πΈ
so basically? this is a Perl data type class for the XML Schema defined complexType MediaAttributes, and it comes from the namespace http://www.onvif.org/ver10/schema. iykyk. π
and what is a MediaAttributes, you ask? it's a set of media attributes valid for a recording at a point in time or for a time interval. literally exactly that. no notes. β¨
π PROPERTIES π
these properties are all up for grabs using the get_PROPERTY / set_PROPERTY methods. get into it:
RecordingTokenTrackAttributesFromUntil
π§ METHODS π§
π new
constructor energy. the following data structure may be passed to new():
{ # ONVIF::Media::Types::MediaAttributes
RecordingToken => $some_value, # RecordingReference
TrackAttributes => { # ONVIF::Media::Types::TrackAttributes
TrackInformation => { # ONVIF::Media::Types::TrackInformation
TrackToken => $some_value, # TrackReference
TrackType => $some_value, # TrackType
Description => $some_value, # Description
DataFrom => $some_value, # dateTime
DataTo => $some_value, # dateTime
},
VideoAttributes => { # ONVIF::Media::Types::VideoAttributes
Bitrate => $some_value, # int
Width => $some_value, # int
Height => $some_value, # int
Encoding => $some_value, # VideoEncoding
Framerate => $some_value, # float
},
AudioAttributes => { # ONVIF::Media::Types::AudioAttributes
Bitrate => $some_value, # int
Encoding => $some_value, # AudioEncoding
Samplerate => $some_value, # int
},
MetadataAttributes => { # ONVIF::Media::Types::MetadataAttributes
CanContainPTZ => $some_value, # boolean
CanContainAnalytics => $some_value, # boolean
CanContainNotifications => $some_value, # boolean
},
Extension => { # ONVIF::Media::Types::TrackAttributesExtension
},
},
From => $some_value, # dateTime
Until => $some_value, # dateTime
},
look at that nesting. she's structured, she's organized, she has main character energy π«Ά copy it exactly, bestie, don't you dare rename a key.
π AUTHOR π
generated by SOAP::WSDL. that's it, that's the author line β the machine wrote it, we're just vibing with it. π
cute little sign-off: this page is chillin' in perl v5.40.1, dated 2026-02-01. that's a whole future date and she's still serving. periodt. π β¨πΈ
π¦ 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