ONVIF::...ilities(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’– NAME πŸ’–

ok so bestie, this page is all about ONVIF::Device::Types::CodingCapabilities β€” like, that's the whole name, that's the whole class. We're in section 3 of the manual (the User Contributed Perl Documentation corner of the library), so if you were looking for a command to type, sorry babe, this is a Perl module page πŸŽ€

✨ DESCRIPTION ✨

This is a Perl data type class for the XML Schema defined complexType CodingCapabilities, straight out of the namespace http://www.onvif.org/ver10/schema. Iconic namespace, no notes πŸ’…

And what does the type actually do? It holds the Audio and Video coding capabilities of a display service. That's it, that's the whole vibe β€” it's a little container of "here's what this display can encode and decode" πŸ¦‹

πŸŽ€ PROPERTIES πŸŽ€

These are the properties you can reach with the get_PROPERTY / set_PROPERTY methods β€” memorise the names, they're lowkey long:

  • AudioEncodingCapabilities
  • AudioDecodingCapabilities
  • VideoDecodingCapabilities

yeah bestie, getters and setters, that's the whole access story πŸ’œ

πŸ”₯ METHODS πŸ”₯

new

Constructor time, bestie 🌸 And here's the part you actually came for: the data structure you're allowed to pass into new(). It's giving nested-hash-art-museum, so let me just hand it to you exactly as it is β€” every key, every comment, every $some_value, untouched:

{ # ONVIF::Device::Types::CodingCapabilities
  AudioEncodingCapabilities =>  { # ONVIF::Device::Types::AudioEncoderConfigurationOptions
    Options =>  { # ONVIF::Device::Types::AudioEncoderConfigurationOption
      Encoding => $some_value, # AudioEncoding
      BitrateList =>  { # ONVIF::Device::Types::IntList
        Items =>  $some_value, # int
      },
      SampleRateList =>  { # ONVIF::Device::Types::IntList
        Items =>  $some_value, # int
      },
    },
  },
  AudioDecodingCapabilities =>  { # ONVIF::Device::Types::AudioDecoderConfigurationOptions
    AACDecOptions =>  { # ONVIF::Device::Types::AACDecOptions
      Bitrate =>  { # ONVIF::Device::Types::IntList
        Items =>  $some_value, # int
      },
      SampleRateRange =>  { # ONVIF::Device::Types::IntList
        Items =>  $some_value, # int
      },
    },
    G711DecOptions =>  { # ONVIF::Device::Types::G711DecOptions
      Bitrate =>  { # ONVIF::Device::Types::IntList
        Items =>  $some_value, # int
      },
      SampleRateRange =>  { # ONVIF::Device::Types::IntList
        Items =>  $some_value, # int
      },
    },
    G726DecOptions =>  { # ONVIF::Device::Types::G726DecOptions
      Bitrate =>  { # ONVIF::Device::Types::IntList
        Items =>  $some_value, # int
      },
      SampleRateRange =>  { # ONVIF::Device::Types::IntList
        Items =>  $some_value, # int
      },
    },
    Extension =>  { # ONVIF::Device::Types::AudioDecoderConfigurationOptionsExtension
    },
  },
  VideoDecodingCapabilities =>  { # ONVIF::Device::Types::VideoDecoderConfigurationOptions
    JpegDecOptions =>  { # ONVIF::Device::Types::JpegDecOptions
      ResolutionsAvailable =>  { # ONVIF::Device::Types::VideoResolution
        Width =>  $some_value, # int
        Height =>  $some_value, # int
      },
      SupportedInputBitrate =>  { # ONVIF::Device::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
      SupportedFrameRate =>  { # ONVIF::Device::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
    },
    H264DecOptions =>  { # ONVIF::Device::Types::H264DecOptions
      ResolutionsAvailable =>  { # ONVIF::Device::Types::VideoResolution
        Width =>  $some_value, # int
        Height =>  $some_value, # int
      },
      SupportedH264Profiles => $some_value, # H264Profile
      SupportedInputBitrate =>  { # ONVIF::Device::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
      SupportedFrameRate =>  { # ONVIF::Device::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
    },
    Mpeg4DecOptions =>  { # ONVIF::Device::Types::Mpeg4DecOptions
      ResolutionsAvailable =>  { # ONVIF::Device::Types::VideoResolution
        Width =>  $some_value, # int
        Height =>  $some_value, # int
      },
      SupportedMpeg4Profiles => $some_value, # Mpeg4Profile
      SupportedInputBitrate =>  { # ONVIF::Device::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
      SupportedFrameRate =>  { # ONVIF::Device::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
    },
    Extension =>  { # ONVIF::Device::Types::VideoDecoderConfigurationOptionsExtension
    },
  },
},

Like, notice how the audio decode side has its own little trio β€” AACDecOptions, G711DecOptions, G726DecOptions β€” and the video side has JpegDecOptions, H264DecOptions, Mpeg4DecOptions, plus both sides have an Extension that's just… sitting there, empty, waiting for its moment 🫢 The $some_value placeholders are literally just that, placeholders β€” every # int comment tells you the real type, and the profile fields are H264Profile and Mpeg4Profile. Don't come for me, that's what the page says πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” not by a human, bestie, it was auto-generated and we respect the machine's hustle πŸ€–βœ¨


and that's the whole page, fr fr πŸ“ this little gem is version perl v5.42.3, dated the incredibly specific 1980-01-01, and it lives at the ONVIF::...ilities(3) address in the manual β€” periodt, mwah πŸ’‹

πŸ“¦ where this page comes from