Skip to content

/AWS1/CL_MDXMEDIASTREAM

A media stream represents one component of your content, such as video, audio, or ancillary data. After you add a media stream to your flow, you can associate it with sources and outputs that use the ST 2110 JPEG XS or CDI protocol.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_fmt TYPE /AWS1/MDXINTEGER /AWS1/MDXINTEGER

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.

iv_mediastreamid TYPE /AWS1/MDXINTEGER /AWS1/MDXINTEGER

A unique identifier for the media stream.

iv_mediastreamname TYPE /AWS1/MDXSTRING /AWS1/MDXSTRING

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

iv_mediastreamtype TYPE /AWS1/MDXMEDIASTREAMTYPE /AWS1/MDXMEDIASTREAMTYPE

The type of media stream.

Optional arguments:

io_attributes TYPE REF TO /AWS1/CL_MDXMEDIASTREAMATTRS /AWS1/CL_MDXMEDIASTREAMATTRS

Attributes that are related to the media stream.

iv_clockrate TYPE /AWS1/MDXINTEGER /AWS1/MDXINTEGER

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

iv_description TYPE /AWS1/MDXSTRING /AWS1/MDXSTRING

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

iv_videoformat TYPE /AWS1/MDXSTRING /AWS1/MDXSTRING

The resolution of the video.


Queryable Attributes

Attributes

Attributes that are related to the media stream.

Accessible with the following methods

Method Description
GET_ATTRIBUTES() Getter for ATTRIBUTES

ClockRate

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

Accessible with the following methods

Method Description
GET_CLOCKRATE() Getter for CLOCKRATE, with configurable default
ASK_CLOCKRATE() Getter for CLOCKRATE w/ exceptions if field has no value
HAS_CLOCKRATE() Determine if CLOCKRATE has a value

Description

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

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

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.

Accessible with the following methods

Method Description
GET_FMT() Getter for FMT, with configurable default
ASK_FMT() Getter for FMT w/ exceptions if field has no value
HAS_FMT() Determine if FMT has a value

MediaStreamId

A unique identifier for the media stream.

Accessible with the following methods

Method Description
GET_MEDIASTREAMID() Getter for MEDIASTREAMID, with configurable default
ASK_MEDIASTREAMID() Getter for MEDIASTREAMID w/ exceptions if field has no value
HAS_MEDIASTREAMID() Determine if MEDIASTREAMID has a value

MediaStreamName

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

Accessible with the following methods

Method Description
GET_MEDIASTREAMNAME() Getter for MEDIASTREAMNAME, with configurable default
ASK_MEDIASTREAMNAME() Getter for MEDIASTREAMNAME w/ exceptions if field has no val
HAS_MEDIASTREAMNAME() Determine if MEDIASTREAMNAME has a value

MediaStreamType

The type of media stream.

Accessible with the following methods

Method Description
GET_MEDIASTREAMTYPE() Getter for MEDIASTREAMTYPE, with configurable default
ASK_MEDIASTREAMTYPE() Getter for MEDIASTREAMTYPE w/ exceptions if field has no val
HAS_MEDIASTREAMTYPE() Determine if MEDIASTREAMTYPE has a value

VideoFormat

The resolution of the video.

Accessible with the following methods

Method Description
GET_VIDEOFORMAT() Getter for VIDEOFORMAT, with configurable default
ASK_VIDEOFORMAT() Getter for VIDEOFORMAT w/ exceptions if field has no value
HAS_VIDEOFORMAT() Determine if VIDEOFORMAT has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT___LISTOFMEDIASTREAM

TYPES TT___LISTOFMEDIASTREAM TYPE STANDARD TABLE OF REF TO /AWS1/CL_MDXMEDIASTREAM WITH DEFAULT KEY
.