ONVIF::...tributes(3)
π NAME π
okay so this is ONVIF::Device::Types::MediaAttributes β literally the whole page title, no notes. It's a Perl data type class for the XML Schema defined complexType MediaAttributes from the namespace http://www.onvif.org/ver10/schema. (also hi, you're reading a User Contributed Perl Documentation page, iykyk π«Ά)
β¨ DESCRIPTION β¨
bestie. listen. this class is literally just the Perl data type class for the XML Schema defined complexType MediaAttributes, and that complexType lives in the namespace http://www.onvif.org/ver10/schema. that's the whole vibe check.
what does it actually mean tho? it's a set of media attributes valid for a recording at a point in time or for a time interval. periodt. that's the definition, she ate.
π PROPERTIES π
these are the properties you can access, and the way you access them is with get_PROPERTY / set_PROPERTY methods. iconic naming convention honestly.
RecordingTokenTrackAttributesFromUntil
π₯ METHODS π₯
πΈ new
so this is the Constructor. main character energy fr. the following data structure may be passed to new():
{ # ONVIF::Device::Types::MediaAttributes
RecordingToken => $some_value, # RecordingReference
TrackAttributes => { # ONVIF::Device::Types::TrackAttributes
TrackInformation => { # ONVIF::Device::Types::TrackInformation
TrackToken => $some_value, # TrackReference
TrackType => $some_value, # TrackType
Description => $some_value, # Description
DataFrom => $some_value, # dateTime
DataTo => $some_value, # dateTime
},
VideoAttributes => { # ONVIF::Device::Types::VideoAttributes
Bitrate => $some_value, # int
Width => $some_value, # int
Height => $some_value, # int
Encoding => $some_value, # VideoEncoding
Framerate => $some_value, # float
},
AudioAttributes => { # ONVIF::Device::Types::AudioAttributes
Bitrate => $some_value, # int
Encoding => $some_value, # AudioEncoding
Samplerate => $some_value, # int
},
MetadataAttributes => { # ONVIF::Device::Types::MetadataAttributes
CanContainPTZ => $some_value, # boolean
CanContainAnalytics => $some_value, # boolean
CanContainNotifications => $some_value, # boolean
},
Extension => { # ONVIF::Device::Types::TrackAttributesExtension
},
},
From => $some_value, # dateTime
Until => $some_value, # dateTime
},
like look at that nesting. she's giving structure. she's giving hierarchy. TrackAttributes got TrackInformation, VideoAttributes, AudioAttributes, MetadataAttributes, and an Extension that's just... an empty hash, lowkey mysterious, we love her anyway π
ngl, note the emptyExtensionblock βONVIF::Device::Types::TrackAttributesExtensionhas nothing listed inside it. that's exactly what the page says, bestie, don't come for me, I'm just the messenger π
π AUTHOR π
Generated by SOAP::WSDL β yeah she was auto-generated, and honestly? she still slayed. no cap.
and that's the whole page, bestie!! π¦ before you go: this was ONVIF::...tributes(3), shipped as perl v5.42.3, dated 1980-01-01 (yes, literally 1980, she's vintage, she's an antique, she's iconic for it ππ). go forth and construct your MediaAttributes β¨π
π¦ where this page comes from
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms