ONVIF:...ilities(3pm)

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

✨ NAME ✨

ok so bestie, this is ONVIF::Device::Types::MediaCapabilities β€” a Perl data type class, living its best life over in the User Contributed Perl Documentation section (3pm, iykyk). πŸ’–


🌸 DESCRIPTION 🌸

It's a Perl data type class for the XML Schema defined complexType MediaCapabilities, straight out of the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole vibe. It's giving "I exist to hold your capability data and look cute doing it." πŸ’…

πŸŽ€ PROPERTIES πŸŽ€

the way that you can just grab these with get_PROPERTY / set_PROPERTY methods... obsessed. here's what you get to play with:

  • XAddr
  • StreamingCapabilities
  • Extension

πŸ¦‹ METHODS πŸ¦‹

✨ new ✨

Constructor, periodt. 🫢 It's the main character of this whole page ngl.

The following data structure may be passed to new():

 { # ONVIF::Device::Types::MediaCapabilities
   XAddr =>  $some_value, # anyURI
   StreamingCapabilities =>  { # ONVIF::Device::Types::RealTimeStreamingCapabilities
     RTPMulticast =>  $some_value, # boolean
     RTP_TCP =>  $some_value, # boolean
     RTP_RTSP_TCP =>  $some_value, # boolean
     Extension =>  { # ONVIF::Device::Types::RealTimeStreamingCapabilitiesExtension
     },
   },
   Extension =>  { # ONVIF::Device::Types::MediaCapabilitiesExtension
     ProfileCapabilities =>  { # ONVIF::Device::Types::ProfileCapabilities
       MaximumNumberOfProfiles =>  $some_value, # int
     },
   },
 },

look at that nesting πŸ”₯ it's giving matryoshka doll but make it SOAP. RTPMulticast, RTP_TCP and RTP_RTSP_TCP are all boolean, MaximumNumberOfProfiles is an int, and XAddr is an anyURI β€” write that down bestie, fr fr. πŸ“


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL ✨ (no cap, it literally says that)


ok bye bestie, that's the whole page! this absolute icon of a doc was brought to you by perl v5.40.1, dated 2026-02-01 β€” thanks for coming to my TED talk, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from