Skip to content

RtmpMediaStreamInfo

Source code in docs_src/capo_mediaconnect/types/rtmp_media_stream_info.py
class RtmpMediaStreamInfo(TypedDict, closed=True):
    stream_id: NotRequired["int"]
    """<p>A unique identifier for the stream.</p>"""
    stream_type: NotRequired[
        "capo_mediaconnect.types.source_media_stream_type.SourceMediaStreamType"
    ]
    """<p>The type of stream (for example, <code>VIDEO</code> or <code>AUDIO</code>).</p>"""
    codec: NotRequired["str"]
    """<p>The codec used for the stream.</p>"""
    frame_rate: NotRequired["str"]
    """<p>The number of video frames displayed per second. Used when the <code>streamType</code> is <code>VIDEO</code>.</p>"""
    frame_resolution: NotRequired[
        "capo_mediaconnect.types.frame_resolution.FrameResolution"
    ]
    """<p>The width and height dimensions of the video frame in pixels. Used when the <code>streamType</code> is <code>VIDEO</code>.</p>"""
    scan_mode: NotRequired["capo_mediaconnect.types.scan_mode.ScanMode"]
    """<p>The method used to display video frames. Used when the <code>streamType</code> is <code>VIDEO</code>.</p>"""
    color: NotRequired["capo_mediaconnect.types.color_information.ColorInformation"]
    """<p>The color signaling of the video stream. Used when the <code>streamType</code> is <code>VIDEO</code>.</p>"""
    channels: NotRequired["int"]
    """<p>The number of audio channels in the stream. Used when the <code>streamType</code> is <code>AUDIO</code>.</p>"""
    sample_rate: NotRequired["int"]
    """<p>The number of audio samples captured per second. Used when the <code>streamType</code> is <code>AUDIO</code>.</p>"""
    sample_size: NotRequired["int"]
    """<p>The sample bit size used by the audio stream. Used when the <code>streamType</code> is <code>AUDIO</code>.</p>"""
    language: NotRequired["str"]
    """<p>The language of the audio stream. Used when the <code>streamType</code> is <code>AUDIO</code>.</p>"""

channels instance-attribute

channels: NotRequired[int]

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

codec instance-attribute

codec: NotRequired[str]

The codec used for the stream.

color instance-attribute

color: NotRequired[ColorInformation]

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

frame_rate instance-attribute

frame_rate: NotRequired[str]

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

frame_resolution instance-attribute

frame_resolution: NotRequired[FrameResolution]

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

language instance-attribute

language: NotRequired[str]

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

sample_rate instance-attribute

sample_rate: NotRequired[int]

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

sample_size instance-attribute

sample_size: NotRequired[int]

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

scan_mode instance-attribute

scan_mode: NotRequired[ScanMode]

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

stream_id instance-attribute

stream_id: NotRequired[int]

A unique identifier for the stream.

stream_type instance-attribute

stream_type: NotRequired[SourceMediaStreamType]

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