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,
VIDEOorAUDIO).Type: String
Valid Values:
VIDEO | AUDIO | DATA | UNKNOWNRequired: Yes
- channels
-
The number of audio channels in the stream. Used when the
streamTypeisAUDIO.Type: Integer
Required: No
- color
-
The color signaling of the video stream. Used when the
streamTypeisVIDEO.Type: ColorInformation object
Required: No
- frameRate
-
The number of video frames displayed per second. Used when the
streamTypeisVIDEO.Type: String
Required: No
- frameResolution
-
The width and height dimensions of the video frame in pixels. Used when the
streamTypeisVIDEO.Type: FrameResolution object
Required: No
- language
-
The language of the audio stream. Used when the
streamTypeisAUDIO.Type: String
Required: No
- sampleRate
-
The number of audio samples captured per second. Used when the
streamTypeisAUDIO.Type: Integer
Required: No
- sampleSize
-
The sample bit size used by the audio stream. Used when the
streamTypeisAUDIO.Type: Integer
Required: No
- scanMode
-
The method used to display video frames. Used when the
streamTypeisVIDEO.Type: String
Valid Values:
progressive | interlace | progressive-segmented-frameRequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: