ONVIF::...taStream(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so this is the ONVIF::...taStream(3) page β€” yes, that’s literally the manual name in the header, bestie, and it’s part of User Contributed Perl Documentation 🫢. The actual star is ONVIF::Device::Elements::MetadataStream πŸ‘‘. That’s the class this page is serving, and honestly? slay.


🌸 DESCRIPTION 🌸

Perl data type class for the XML Schema defined element MetadataStream from the namespace http://www.onvif.org/ver10/schema.

That’s the whole description, and it’s doing exactly what it says on the tin: this is the Perl-side data type class for that XML Schema element, in that namespace. No cap ✨.


✨ METHODS ✨

πŸŽ€ new πŸŽ€

Constructor time, bestie πŸ’…. You call it like this:

my $element = ONVIF::Device::Elements::MetadataStream->new($data);

Constructor. The following data structure may be passed to new():

{ # ONVIF::Device::Types::MetadataStream
  # One of the following elements.
  # No occurrence checks yet, so be sure to pass just one...
  VideoAnalytics =>    { # ONVIF::Device::Types::VideoAnalyticsStream
    # One of the following elements.
    # No occurrence checks yet, so be sure to pass just one...
    Frame =>  { # ONVIF::Device::Types::Frame
      PTZStatus =>  { # ONVIF::Device::Types::PTZStatus
        Position =>  { # ONVIF::Device::Types::PTZVector
          PanTilt => ,
          Zoom => ,
        },
        MoveStatus =>  { # ONVIF::Device::Types::PTZMoveStatus
          PanTilt => $some_value, # MoveStatus
          Zoom => $some_value, # MoveStatus
        },
        Error =>  $some_value, # string
        UtcTime =>  $some_value, # dateTime
      },
      Transformation =>  { # ONVIF::Device::Types::Transformation
        Translate => ,
        Scale => ,
        Extension =>  { # ONVIF::Device::Types::TransformationExtension
        },
      },
      Object =>  { # ONVIF::Device::Types::Object
        Appearance =>  { # ONVIF::Device::Types::Appearance
          Transformation =>  { # ONVIF::Device::Types::Transformation
            Translate => ,
            Scale => ,
            Extension =>  { # ONVIF::Device::Types::TransformationExtension
            },
          },
          Shape =>  { # ONVIF::Device::Types::ShapeDescriptor
            BoundingBox => ,
            CenterOfGravity => ,
            Polygon =>  { # ONVIF::Device::Types::Polygon
              Point => ,
            },
            Extension =>  { # ONVIF::Device::Types::ShapeDescriptorExtension
            },
          },
          Color =>  { # ONVIF::Device::Types::ColorDescriptor
            ColorCluster =>  {
              Color => ,
              Weight =>  $some_value, # float
              Covariance => ,
            },
            Extension =>  { # ONVIF::Device::Types::ColorDescriptorExtension
            },
          },
          Class =>  { # ONVIF::Device::Types::ClassDescriptor
            ClassCandidate =>  {
              Type => $some_value, # ClassType
              Likelihood =>  $some_value, # float
            },
            Extension =>  { # ONVIF::Device::Types::ClassDescriptorExtension
              OtherTypes =>  { # ONVIF::Device::Types::OtherType
                Type =>  $some_value, # string
                Likelihood =>  $some_value, # float
              },
              Extension =>  { # ONVIF::Device::Types::ClassDescriptorExtension2
              },
            },
          },
          Extension =>  { # ONVIF::Device::Types::AppearanceExtension
          },
        },
        Behaviour =>  { # ONVIF::Device::Types::Behaviour
          Removed =>  {
          },
          Idle =>  {
          },
          Extension =>  { # ONVIF::Device::Types::BehaviourExtension
          },
        },
        Extension =>  { # ONVIF::Device::Types::ObjectExtension
        },
      },
      ObjectTree =>  { # ONVIF::Device::Types::ObjectTree
        Rename =>  { # ONVIF::Device::Types::Rename
          from => ,
          to => ,
        },
        Split =>  { # ONVIF::Device::Types::Split
          from => ,
          to => ,
        },
        Merge =>  { # ONVIF::Device::Types::Merge
          from => ,
          to => ,
        },
        Delete => ,
        Extension =>  { # ONVIF::Device::Types::ObjectTreeExtension
        },
      },
      Extension =>  { # ONVIF::Device::Types::FrameExtension
        MotionInCells =>  { # ONVIF::Device::Types::MotionInCells
        },
        Extension =>  { # ONVIF::Device::Types::FrameExtension2
        },
      },
    },
    Extension =>  { # ONVIF::Device::Types::VideoAnalyticsStreamExtension
    },
  },
  PTZ =>    { # ONVIF::Device::Types::PTZStream
    # One of the following elements.
    # No occurrence checks yet, so be sure to pass just one...
    PTZStatus =>  { # ONVIF::Device::Types::PTZStatus
      Position =>  { # ONVIF::Device::Types::PTZVector
        PanTilt => ,
        Zoom => ,
      },
      MoveStatus =>  { # ONVIF::Device::Types::PTZMoveStatus
        PanTilt => $some_value, # MoveStatus
        Zoom => $some_value, # MoveStatus
      },
      Error =>  $some_value, # string
      UtcTime =>  $some_value, # dateTime
    },
    Extension =>  { # ONVIF::Device::Types::PTZStreamExtension
    },
  },
  Event =>  $some_value, # anyType
  Extension =>  { # ONVIF::Device::Types::MetadataStreamExtension
    AudioAnalyticsStream =>  { # ONVIF::Device::Types::AudioAnalyticsStream
      AudioDescriptor =>  { # ONVIF::Device::Types::AudioDescriptor
      },
      Extension =>  { # ONVIF::Device::Types::AudioAnalyticsStreamExtension
      },
    },
    Extension =>  { # ONVIF::Device::Types::MetadataStreamExtension2
    },
  },
},
🚨 Bestie PSA: the comments in that structure repeatedly say # No occurrence checks yet, so be sure to pass just one... β€” so for the β€œone of the following elements” spots, please pass just one, okay? Don’t make it weird 😭.

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” that’s the author line, and yes, it’s giving β€œthe machine did it and we’re all grateful” energy 🌈.


xoxo, your Perl bestie πŸ’– β€” this page is from perl v5.42.3, dated 1980-01-01, and the manual label at the very end is ONVIF::...taStream(3) πŸŽ€.

πŸ“¦ where this page comes from