amazonka-mediaconnect-2.0: Amazon MediaConnect SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaConnect.Types.MediaStream

Description

 
Synopsis

Documentation

data MediaStream Source #

A single track or stream of media that contains video, audio, or ancillary data. After you add a media stream to a flow, you can associate it with sources and outputs on that flow, as long as they use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or output can consist of one or many media streams.

See: newMediaStream smart constructor.

Constructors

MediaStream' 

Fields

Instances

Instances details
FromJSON MediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.MediaStream

Generic MediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.MediaStream

Associated Types

type Rep MediaStream :: Type -> Type #

Read MediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.MediaStream

Show MediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.MediaStream

NFData MediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.MediaStream

Methods

rnf :: MediaStream -> () #

Eq MediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.MediaStream

Hashable MediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.MediaStream

type Rep MediaStream Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.MediaStream

newMediaStream Source #

Create a value of MediaStream with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:MediaStream', mediaStream_attributes - Attributes that are related to the media stream.

$sel:clockRate:MediaStream', mediaStream_clockRate - The sample rate for the stream. This value is measured in Hz.

$sel:description:MediaStream', mediaStream_description - A description that can help you quickly identify what your media stream is used for.

$sel:videoFormat:MediaStream', mediaStream_videoFormat - The resolution of the video.

$sel:mediaStreamType:MediaStream', mediaStream_mediaStreamType - The type of media stream.

$sel:mediaStreamId:MediaStream', mediaStream_mediaStreamId - A unique identifier for the media stream.

$sel:mediaStreamName:MediaStream', mediaStream_mediaStreamName - A name that helps you distinguish one media stream from another.

$sel:fmt:MediaStream', mediaStream_fmt - The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.

mediaStream_attributes :: Lens' MediaStream (Maybe MediaStreamAttributes) Source #

Attributes that are related to the media stream.

mediaStream_clockRate :: Lens' MediaStream (Maybe Int) Source #

The sample rate for the stream. This value is measured in Hz.

mediaStream_description :: Lens' MediaStream (Maybe Text) Source #

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

mediaStream_videoFormat :: Lens' MediaStream (Maybe Text) Source #

The resolution of the video.

mediaStream_mediaStreamId :: Lens' MediaStream Int Source #

A unique identifier for the media stream.

mediaStream_mediaStreamName :: Lens' MediaStream Text Source #

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

mediaStream_fmt :: Lens' MediaStream Int Source #

The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.