Skip to content

MediaStream

Source code in docs_src/capo_mediaconnect/types/media_stream.py
class MediaStream(TypedDict, closed=True):
    attributes: NotRequired[
        "capo_mediaconnect.types.media_stream_attributes.MediaStreamAttributes"
    ]
    """<p> Attributes that are related to the media stream.</p>"""
    clock_rate: NotRequired["int"]
    """<p> The sample rate for the stream. This value is measured in Hz.</p>"""
    description: NotRequired["str"]
    """<p> A description that can help you quickly identify what your media stream is used for.</p>"""
    fmt: NotRequired["int"]
    """<p> 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.</p>"""
    media_stream_id: NotRequired["int"]
    """<p> A unique identifier for the media stream. </p>"""
    media_stream_name: NotRequired["str"]
    """<p> A name that helps you distinguish one media stream from another. </p>"""
    media_stream_type: NotRequired[
        "capo_mediaconnect.types.media_stream_type.MediaStreamType"
    ]
    """<p> The type of media stream. </p>"""
    video_format: NotRequired["str"]
    """<p> The resolution of the video. </p>"""

attributes instance-attribute

attributes: NotRequired[MediaStreamAttributes]

Attributes that are related to the media stream.

clock_rate instance-attribute

clock_rate: NotRequired[int]

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

description instance-attribute

description: NotRequired[str]

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

fmt instance-attribute

fmt: NotRequired[int]

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.

media_stream_id instance-attribute

media_stream_id: NotRequired[int]

A unique identifier for the media stream.

media_stream_name instance-attribute

media_stream_name: NotRequired[str]

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

media_stream_type instance-attribute

media_stream_type: NotRequired[MediaStreamType]

The type of media stream.

video_format instance-attribute

video_format: NotRequired[str]

The resolution of the video.