View a markdown version of this page

RtmpMediaStreamInfo - AWS Elemental MediaConnect

RtmpMediaStreamInfo

Information about a single audio or video stream that is part of an RTMP source. This includes details about the stream type, codec, resolution, frame rate, audio channels, and sample rate.

Contents

codec

The codec used for the stream.

Type: String

Required: Yes

streamId

A unique identifier for the stream.

Type: Integer

Required: Yes

streamType

The type of stream (for example, VIDEO or AUDIO).

Type: String

Valid Values: VIDEO | AUDIO | DATA | UNKNOWN

Required: Yes

channels

The number of audio channels in the stream. Used when the streamType is AUDIO.

Type: Integer

Required: No

color

The color signaling of the video stream. Used when the streamType is VIDEO.

Type: ColorInformation object

Required: No

frameRate

The number of video frames displayed per second. Used when the streamType is VIDEO.

Type: String

Required: No

frameResolution

The width and height dimensions of the video frame in pixels. Used when the streamType is VIDEO.

Type: FrameResolution object

Required: No

language

The language of the audio stream. Used when the streamType is AUDIO.

Type: String

Required: No

sampleRate

The number of audio samples captured per second. Used when the streamType is AUDIO.

Type: Integer

Required: No

sampleSize

The sample bit size used by the audio stream. Used when the streamType is AUDIO.

Type: Integer

Required: No

scanMode

The method used to display video frames. Used when the streamType is VIDEO.

Type: String

Valid Values: progressive | interlace | progressive-segmented-frame

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: