ONVIF:...ilities(3pm)

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

✨ NAME ✨

ONVIF::PTZ::Types::CodingCapabilities β€” okay bestie, this is a Perl data type class, and it lives in the User Contributed Perl Documentation, section 3pm. It's giving "one specific complexType, and it's serving exactly that." πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: this is the Perl data type class for the XML Schema defined complexType CodingCapabilities, and it comes from the namespace http://www.onvif.org/ver10/schema. No cap, that's the whole namespace. Periodt.

This type is the one holding the Audio and Video coding capabilities of a display service. Think of it as the vibe check for what your display service can actually do audio-and-video-wise. πŸ‘‘

🌸 PROPERTIES 🌸

These are the properties you can reach with get_PROPERTY / set_PROPERTY methods. Not me listing all of them, but yes, literally all of them:

  • AudioEncodingCapabilities
  • AudioDecodingCapabilities
  • VideoDecodingCapabilities

Three. That's the whole squad. 🫢


πŸ”₯ METHODS πŸ”₯

⭐ new

Constructor, bestie. The following data structure may be passed to new(). Copy it exactly, don't freestyle it, I'm serious πŸ™ˆ:

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

That's the whole structure, nested and everything. Look at those IntList and IntRange blocks just vibing in there. 🧚


πŸ’œ AUTHOR πŸ’œ

Generated by SOAP::WSDL. Not me, not you, not the group chat. The machine did it. πŸ€–βœ¨


perl v5.40.1 Β· 2026-02-01 Β· ONVIF:...ilities(3pm) β€” k bye bestie, go slay those coding capabilities πŸ’–πŸŽ€πŸ¦‹πŸŒΈπŸŒˆβ­πŸ‘‘

πŸ“¦ where this page comes from