ONVIF::...4Options(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… ONVIF::Media::Types::Mpeg4Options

okay so bestie, quick vibe check: this page is from the ONVIF::...4Options(3) corner of the perl universe (the filename gets truncated hardcore, but the actual class is the main character here, iykyk). It's the Perl data type class for the XML Schema defined complexType Mpeg4Options, and it lives in the namespace http://www.onvif.org/ver10/schema. Slay. ✨


πŸŽ€ PROPERTIES πŸŽ€

these are the properties you can get at, and the way you do it is with the get_PROPERTY / set_PROPERTY methods. periodt. πŸ’…

  • ResolutionsAvailable
  • GovLengthRange
  • FrameRateRange
  • EncodingIntervalRange
  • Mpeg4ProfilesSupported

like, five whole properties. she's got range fr fr. 🌈


πŸ¦‹ METHODS πŸ¦‹

⭐ new

the constructor, obviously. it's giving "birth of an object." πŸ‘‘

here's the data structure you may pass to new() β€” copy it exactly, no cap, do not freestyle this one:

 { # ONVIF::Media::Types::Mpeg4Options
   ResolutionsAvailable =>  { # ONVIF::Media::Types::VideoResolution
     Width =>  $some_value, # int
     Height =>  $some_value, # int
   },
   GovLengthRange =>  { # ONVIF::Media::Types::IntRange
     Min =>  $some_value, # int
     Max =>  $some_value, # int
   },
   FrameRateRange =>  { # ONVIF::Media::Types::IntRange
     Min =>  $some_value, # int
     Max =>  $some_value, # int
   },
   EncodingIntervalRange =>  { # ONVIF::Media::Types::IntRange
     Min =>  $some_value, # int
     Max =>  $some_value, # int
   },
   Mpeg4ProfilesSupported => $some_value, # Mpeg4Profile
 },

like, look at those nested hashes. ResolutionsAvailable is a ONVIF::Media::Types::VideoResolution with a Width and a Height (both int), then GovLengthRange, FrameRateRange and EncodingIntervalRange are all ONVIF::Media::Types::IntRange with a Min and a Max (again, int), and Mpeg4ProfilesSupported is just a plain $some_value typed as Mpeg4Profile. iconic structure, honestly. 🫢


🌸 AUTHOR 🌸

  • Generated by SOAP::WSDL β€” that's the whole author section, bestie. the machine did it. respect. 😭

and that's the whole page! πŸ’– huge shoutout to the footer for the receipts: this is perl v5.42.3, dated 1980-01-01, filed under User Contributed Perl Documentation. go forth and construct your Mpeg4Options, you gorgeous nerd. πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from