AWS::MediaConnect::Flow MediaStream
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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Attributes" :
MediaStreamAttributes
, "ClockRate" :Integer
, "Description" :String
, "Fmt" :Integer
, "MediaStreamId" :Integer
, "MediaStreamName" :String
, "MediaStreamType" :String
, "VideoFormat" :String
}
YAML
Attributes:
MediaStreamAttributes
ClockRate:Integer
Description:String
Fmt:Integer
MediaStreamId:Integer
MediaStreamName:String
MediaStreamType:String
VideoFormat:String
Properties
Attributes
-
Attributes that are related to the media stream.
Required: No
Type: MediaStreamAttributes
Update requires: No interruption
ClockRate
-
The sample rate for the stream. This value in measured in kHz.
Required: No
Type: Integer
Update requires: No interruption
Description
-
A description that can help you quickly identify what your media stream is used for.
Required: No
Type: String
Update requires: No interruption
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.
Required: No
Type: Integer
Update requires: No interruption
MediaStreamId
-
A unique identifier for the media stream.
Required: Yes
Type: Integer
Update requires: No interruption
MediaStreamName
-
A name that helps you distinguish one media stream from another.
Required: Yes
Type: String
Update requires: No interruption
MediaStreamType
-
The type of media stream.
Required: Yes
Type: String
Allowed values:
video | audio | ancillary-data
Update requires: No interruption
VideoFormat
-
The resolution of the video.
Required: No
Type: String
Allowed values:
2160p | 1080p | 1080i | 720p | 480p
Update requires: No interruption