The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::MediaConnect::AddMediaStreamRequest

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::MediaConnect::AddMediaStreamRequest object:

  $service_obj->Method(Att1 => { Attributes => $value, ..., VideoFormat => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConnect::AddMediaStreamRequest object:

  $result = $service_obj->Method(...);
  $result->Att1->Attributes

DESCRIPTION

The media stream that you want to add to the flow.

ATTRIBUTES

Attributes => Paws::MediaConnect::MediaStreamAttributesRequest

The attributes that you want to assign to the new media stream.

ClockRate => Int

The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.

Description => Str

A description that can help you quickly identify what your media stream is used for.

REQUIRED MediaStreamId => Int

A unique identifier for the media stream.

REQUIRED MediaStreamName => Str

A name that helps you distinguish one media stream from another.

REQUIRED MediaStreamType => Str

The type of media stream.

VideoFormat => Str

The resolution of the video.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::MediaConnect

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues