---
name: "ONVIF::Media::Elements::SetVideoEncoderConfiguration"
section: "3pm"
platform: "linux"
package: "zoneminder"
version: "1.36.35+dfsg1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ONVIF::Media::Elements::SetVideoEncoderConfiguration"
---

# ONVIF::Media::Elements::SetVideoEncoderConfiguration(3pm)

## NAME

ONVIF::Media::Elements::SetVideoEncoderConfiguration

## DESCRIPTION

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

## PROPERTIES

The following properties may be accessed using get\_PROPERTY / set\_PROPERTY methods:

- •

  Configuration

  ```
   $element->set_Configuration($data);
   $element->get_Configuration();
  ```

- •

  ForcePersistence

  ```
   $element->set_ForcePersistence($data);
   $element->get_ForcePersistence();
  ```

## METHODS

### new

```
 my $element = ONVIF::Media::Elements::SetVideoEncoderConfiguration->new($data);
```

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

```
 {
   Configuration =>  { # ONVIF::Media::Types::VideoEncoderConfiguration
     Encoding => $some_value, # VideoEncoding
     Resolution =>  { # ONVIF::Media::Types::VideoResolution
       Width =>  $some_value, # int
       Height =>  $some_value, # int
     },
     Quality =>  $some_value, # float
     RateControl =>  { # ONVIF::Media::Types::VideoRateControl
       FrameRateLimit =>  $some_value, # int
       EncodingInterval =>  $some_value, # int
       BitrateLimit =>  $some_value, # int
     },
     MPEG4 =>  { # ONVIF::Media::Types::Mpeg4Configuration
       GovLength =>  $some_value, # int
       Mpeg4Profile => $some_value, # Mpeg4Profile
     },
     H264 =>  { # ONVIF::Media::Types::H264Configuration
       GovLength =>  $some_value, # int
       H264Profile => $some_value, # H264Profile
     },
     Multicast =>  { # ONVIF::Media::Types::MulticastConfiguration
       Address =>  { # ONVIF::Media::Types::IPAddress
         Type => $some_value, # IPType
         IPv4Address => $some_value, # IPv4Address
         IPv6Address => $some_value, # IPv6Address
       },
       Port =>  $some_value, # int
       TTL =>  $some_value, # int
       AutoStart =>  $some_value, # boolean
     },
     SessionTimeout =>  $some_value, # duration
   },
   ForcePersistence =>  $some_value, # boolean
 },
```

## AUTHOR

Generated by SOAP::WSDL
