ONVIF::...csStream(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’– NAME πŸ’–

ONVIF::Media::Types::VideoAnalyticsStream β€” bestie, that's the whole name, and yes it's a mouthful. Say it with your chest. This page lives in the User Contributed Perl Documentation section of the manual, so you already know it's community-coded, not some corporate lore. 🫢


✨ DESCRIPTION ✨

Okay so picture this: it's a Perl data type class for the XML Schema–defined complexType called VideoAnalyticsStream, and it comes straight out of the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole vibe β€” it's a class that exists so your Perl code can talk about a video analytics stream without crying. 🌈

πŸŽ€ PROPERTIES πŸŽ€

These are the properties you can actually touch, and you touch them the classic way β€” through get_PROPERTY / set_PROPERTY methods. Respect the underscore, it's iconic:

  • Frame β€” the frame itself, the main character of this whole struct πŸ’…
  • Extension β€” the extension slot, for when you need a lil extra ✨

🌸 METHODS 🌸

πŸ¦‹ new πŸ¦‹

Constructor, periodt. It's new() and here's the data structure you're allowed to pass into it β€” buckle up because this thing is deep like a group chat's reply chain 😭:

{ # ONVIF::Media::Types::VideoAnalyticsStream
  # One of the following elements.
  # No occurrence checks yet, so be sure to pass just one...
  Frame =>  { # ONVIF::Media::Types::Frame
    PTZStatus =>  { # ONVIF::Media::Types::PTZStatus
      Position =>  { # ONVIF::Media::Types::PTZVector
        PanTilt => ,
        Zoom => ,
      },
      MoveStatus =>  { # ONVIF::Media::Types::PTZMoveStatus
        PanTilt => $some_value, # MoveStatus
        Zoom => $some_value, # MoveStatus
      },
      Error =>  $some_value, # string
      UtcTime =>  $some_value, # dateTime
    },
    Transformation =>  { # ONVIF::Media::Types::Transformation
      Translate => ,
      Scale => ,
      Extension =>  { # ONVIF::Media::Types::TransformationExtension
      },
    },
    Object =>  { # ONVIF::Media::Types::Object
      Appearance =>  { # ONVIF::Media::Types::Appearance
        Transformation =>  { # ONVIF::Media::Types::Transformation
          Translate => ,
          Scale => ,
          Extension =>  { # ONVIF::Media::Types::TransformationExtension
          },
        },
        Shape =>  { # ONVIF::Media::Types::ShapeDescriptor
          BoundingBox => ,
          CenterOfGravity => ,
          Polygon =>  { # ONVIF::Media::Types::Polygon
            Point => ,
          },
          Extension =>  { # ONVIF::Media::Types::ShapeDescriptorExtension
          },
        },
        Color =>  { # ONVIF::Media::Types::ColorDescriptor
          ColorCluster =>  {
            Color => ,
            Weight =>  $some_value, # float
            Covariance => ,
          },
          Extension =>  { # ONVIF::Media::Types::ColorDescriptorExtension
          },
        },
        Class =>  { # ONVIF::Media::Types::ClassDescriptor
          ClassCandidate =>  {
            Type => $some_value, # ClassType
            Likelihood =>  $some_value, # float
          },
          Extension =>  { # ONVIF::Media::Types::ClassDescriptorExtension
            OtherTypes =>  { # ONVIF::Media::Types::OtherType
              Type =>  $some_value, # string
              Likelihood =>  $some_value, # float
            },
            Extension =>  { # ONVIF::Media::Types::ClassDescriptorExtension2
            },
          },
        },
        Extension =>  { # ONVIF::Media::Types::AppearanceExtension
        },
      },
      Behaviour =>  { # ONVIF::Media::Types::Behaviour
        Removed =>  {
        },
        Idle =>  {
        },
        Extension =>  { # ONVIF::Media::Types::BehaviourExtension
        },
      },
      Extension =>  { # ONVIF::Media::Types::ObjectExtension
      },
    },
    ObjectTree =>  { # ONVIF::Media::Types::ObjectTree
      Rename =>  { # ONVIF::Media::Types::Rename
        from => ,
        to => ,
      },
      Split =>  { # ONVIF::Media::Types::Split
        from => ,
        to => ,
      },
      Merge =>  { # ONVIF::Media::Types::Merge
        from => ,
        to => ,
      },
      Delete => ,
      Extension =>  { # ONVIF::Media::Types::ObjectTreeExtension
      },
    },
    Extension =>  { # ONVIF::Media::Types::FrameExtension
      MotionInCells =>  { # ONVIF::Media::Types::MotionInCells
      },
      Extension =>  { # ONVIF::Media::Types::FrameExtension2
      },
    },
  },
  Extension =>  { # ONVIF::Media::Types::VideoAnalyticsStreamExtension
  },
}
Lowkey important, bestie: notice the comment in there β€” One of the following elements. and No occurrence checks yet, so be sure to pass just one... β€” that's the module itself telling you it will not stop you from passing more than one. It's giving "no thoughts, head empty" energy. You gotta be the responsible one. πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. That's the whole author section, no cap β€” our mystery icon left it at that. πŸ’€


✨ That's a wrap, bestie β€” page footer said perl v5.42.3 and the date was 1980-01-01, so shoutout to the time-traveling Perl overlords who stamped this one. πŸ•°οΈπŸ’œ Slay, go build something. πŸŽ€

πŸ“¦ where this page comes from