ONVIF:...ibutes(3pm)
β¨ ONVIF::PTZ::Types::MediaAttributes β¨
okay bestie, so this is a page from the ONVIF:...ibutes(3pm) manual (yes the name is chopped, that's just how it renders, don't panic π«Ά) and it's all about one very specific little Perl class. sit down, hydrate, let's go π
πΈ NAME πΈ
ONVIF::PTZ::Types::MediaAttributes
π¦ DESCRIPTION π¦
So basically this is a Perl data type class for the XML Schema defined complexType MediaAttributes, and it lives in the namespace http://www.onvif.org/ver10/schema. slay π
And what is it, you ask? It's a set of media attributes valid for a recording at a point in time or for a time interval. that's the whole vibe, no cap.
π PROPERTIES π
These are the properties you can access using the get_PROPERTY / set_PROPERTY methods β yes, literally those two methods, that's the whole access story:
RecordingTokenπTrackAttributesπFromβUntilπ
π₯ METHODS π₯
π new
Constructor bestie!! The following data structure may be passed to new() β copy it exactly, do not freestyle, I am begging π
{ # ONVIF::PTZ::Types::MediaAttributes
RecordingToken => $some_value, # RecordingReference
TrackAttributes => { # ONVIF::PTZ::Types::TrackAttributes
TrackInformation => { # ONVIF::PTZ::Types::TrackInformation
TrackToken => $some_value, # TrackReference
TrackType => $some_value, # TrackType
Description => $some_value, # Description
DataFrom => $some_value, # dateTime
DataTo => $some_value, # dateTime
},
VideoAttributes => { # ONVIF::PTZ::Types::VideoAttributes
Bitrate => $some_value, # int
Width => $some_value, # int
Height => $some_value, # int
Encoding => $some_value, # VideoEncoding
Framerate => $some_value, # float
},
AudioAttributes => { # ONVIF::PTZ::Types::AudioAttributes
Bitrate => $some_value, # int
Encoding => $some_value, # AudioEncoding
Samplerate => $some_value, # int
},
MetadataAttributes => { # ONVIF::PTZ::Types::MetadataAttributes
CanContainPTZ => $some_value, # boolean
CanContainAnalytics => $some_value, # boolean
CanContainNotifications => $some_value, # boolean
},
Extension => { # ONVIF::PTZ::Types::TrackAttributesExtension
},
},
From => $some_value, # dateTime
Until => $some_value, # dateTime
},
like, look at that nesting. it's giving main character energy for real. nested types inside nested types, we love a structured queen π
π«Ά AUTHOR π«Ά
Generated by SOAP::WSDL. it didn't write itself, the machine did it β¨
aaaand that's the whole page!! this one's running on perl v5.40.1, dated 2026-02-01, and honestly? iconic. go forth and build your MediaAttributes objects, bestie πππ¦
π¦ 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