ONVIF::...tributes(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’– 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.

  • RecordingToken
  • TrackAttributes
  • From
  • Until

πŸ”₯ 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 empty Extension block β€” ONVIF::Device::Types::TrackAttributesExtension has 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