ONVIF:...ibutes(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

✨ 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