ONVIF:...ibutes(3pm)

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

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

  • RecordingToken
  • TrackAttributes
  • From
  • Until

🧚 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