ONVIF:...uration(3pm)

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

πŸ’– ONVIF::PTZ::Types::OSDConfiguration πŸ’–

okay bestie, welcome to the ONVIF PTZ types corner of Perl β€” this one's the 3pm man page for ONVIF::PTZ::Types::OSDConfiguration, part of the User Contributed Perl Documentation. yes it's a mouthful, no we're not scared of it, let's go 🫢


✨ NAME ✨

ONVIF::PTZ::Types::OSDConfiguration β€” literally the whole point of this page, no notes πŸ’…


🌸 DESCRIPTION 🌸

So basically: this is a Perl data type class for the XML Schema defined complexType OSDConfiguration, and it lives in the namespace http://www.onvif.org/ver10/schema. that's it, that's the vibe. it's giving "structured data, but make it Perl" ✨

πŸŽ€ PROPERTIES πŸŽ€

here's the tea β€” you can get and set all of these with the get_PROPERTY / set_PROPERTY methods:

  • VideoSourceConfigurationToken πŸ’–
  • Type ⭐
  • Position πŸ¦‹
  • TextString 🌸
  • Image πŸŽ€
  • Extension πŸ’œ

periodt. six properties, all accessible, all yours.


πŸ‘‘ METHODS πŸ‘‘

🧚 new

the constructor, bestie. and the way you can pass it a whole data structure?? iconic. here's exactly what that looks like:

        { # ONVIF::PTZ::Types::OSDConfiguration
          VideoSourceConfigurationToken =>  { value => $some_value },
          Type => $some_value, # OSDType
          Position =>  { # ONVIF::PTZ::Types::OSDPosConfiguration
            Type =>  $some_value, # string
            Pos => ,
            Extension =>  { # ONVIF::PTZ::Types::OSDPosConfigurationExtension
            },
          },
          TextString =>  { # ONVIF::PTZ::Types::OSDTextConfiguration
            Type =>  $some_value, # string
            DateFormat =>  $some_value, # string
            TimeFormat =>  $some_value, # string
            FontSize =>  $some_value, # int
            FontColor =>  { # ONVIF::PTZ::Types::OSDColor
              Color => ,
            },
            BackgroundColor =>  { # ONVIF::PTZ::Types::OSDColor
              Color => ,
            },
            PlainText =>  $some_value, # string
            Extension =>  { # ONVIF::PTZ::Types::OSDTextConfigurationExtension
            },
          },
          Image =>  { # ONVIF::PTZ::Types::OSDImgConfiguration
            ImgPath =>  $some_value, # anyURI
            Extension =>  { # ONVIF::PTZ::Types::OSDImgConfigurationExtension
            },
          },
          Extension =>  { # ONVIF::PTZ::Types::OSDConfigurationExtension
          },
        },

look at those nested types β€” OSDPosConfiguration, OSDTextConfiguration, OSDColor, OSDImgConfiguration, and every single one of their Extensions. it's a whole family tree and we love her for it 🌈

fr fr, copy that structure exactly if you're passing it to new() β€” the comments in there are telling you which type each $some_value wants to be. iykyk 😭

πŸ’€ AUTHOR πŸ’€

Generated by SOAP::WSDL β€” not me, not you, the machine did that ✨


and that's the whole page, bestie!! slay πŸ’… this lil gem came from perl v5.40.1, dated 2026-02-01, and it's the ONVIF:...uration(3pm) page from the User Contributed Perl Documentation. go forth and configure your OSDs, you absolute main character πŸ‘‘πŸ¦‹

πŸ“¦ where this page comes from