/AWS1/CL_MDXNDIMEDIASTREAMINFO¶
Detailed information about a single media stream that is part of an NDIĀ® source. This includes details about the stream type, codec, resolution, frame rate, audio channels, and sample rate.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_streamtype TYPE /AWS1/MDXSTRING /AWS1/MDXSTRING¶
The type of media stream (for example,
VideoorAudio).
iv_codec TYPE /AWS1/MDXSTRING /AWS1/MDXSTRING¶
The codec used for the media stream. For NDI sources, use
speed-hq.
iv_streamid TYPE /AWS1/MDXINTEGER /AWS1/MDXINTEGER¶
A unique identifier for the media stream.
Optional arguments:¶
iv_scanmode TYPE /AWS1/MDXSCANMODE /AWS1/MDXSCANMODE¶
The method used to display video frames. Used when the
streamTypeisVideo.
io_frameresolution TYPE REF TO /AWS1/CL_MDXFRAMERESOLUTION /AWS1/CL_MDXFRAMERESOLUTION¶
The width and height dimensions of the video frame in pixels. Used when the
streamTypeisVideo.
iv_framerate TYPE /AWS1/MDXSTRING /AWS1/MDXSTRING¶
The number of video frames displayed per second. Used when the
streamTypeisVideo.
iv_channels TYPE /AWS1/MDXINTEGER /AWS1/MDXINTEGER¶
The number of audio channels in the stream. Used when the
streamTypeisAudio.
iv_samplerate TYPE /AWS1/MDXINTEGER /AWS1/MDXINTEGER¶
The number of audio samples captured per second, measured in kilohertz (kHz). Used when the
streamTypeisAudio.
Queryable Attributes¶
StreamType¶
The type of media stream (for example,
VideoorAudio).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STREAMTYPE() |
Getter for STREAMTYPE, with configurable default |
ASK_STREAMTYPE() |
Getter for STREAMTYPE w/ exceptions if field has no value |
HAS_STREAMTYPE() |
Determine if STREAMTYPE has a value |
Codec¶
The codec used for the media stream. For NDI sources, use
speed-hq.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CODEC() |
Getter for CODEC, with configurable default |
ASK_CODEC() |
Getter for CODEC w/ exceptions if field has no value |
HAS_CODEC() |
Determine if CODEC has a value |
StreamId¶
A unique identifier for the media stream.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STREAMID() |
Getter for STREAMID, with configurable default |
ASK_STREAMID() |
Getter for STREAMID w/ exceptions if field has no value |
HAS_STREAMID() |
Determine if STREAMID has a value |
ScanMode¶
The method used to display video frames. Used when the
streamTypeisVideo.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCANMODE() |
Getter for SCANMODE, with configurable default |
ASK_SCANMODE() |
Getter for SCANMODE w/ exceptions if field has no value |
HAS_SCANMODE() |
Determine if SCANMODE has a value |
FrameResolution¶
The width and height dimensions of the video frame in pixels. Used when the
streamTypeisVideo.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FRAMERESOLUTION() |
Getter for FRAMERESOLUTION |
FrameRate¶
The number of video frames displayed per second. Used when the
streamTypeisVideo.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FRAMERATE() |
Getter for FRAMERATE, with configurable default |
ASK_FRAMERATE() |
Getter for FRAMERATE w/ exceptions if field has no value |
HAS_FRAMERATE() |
Determine if FRAMERATE has a value |
Channels¶
The number of audio channels in the stream. Used when the
streamTypeisAudio.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CHANNELS() |
Getter for CHANNELS, with configurable default |
ASK_CHANNELS() |
Getter for CHANNELS w/ exceptions if field has no value |
HAS_CHANNELS() |
Determine if CHANNELS has a value |
SampleRate¶
The number of audio samples captured per second, measured in kilohertz (kHz). Used when the
streamTypeisAudio.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SAMPLERATE() |
Getter for SAMPLERATE, with configurable default |
ASK_SAMPLERATE() |
Getter for SAMPLERATE w/ exceptions if field has no value |
HAS_SAMPLERATE() |
Determine if SAMPLERATE 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___LISTOFNDIMEDIASTREAMINFO¶
TYPES TT___LISTOFNDIMEDIASTREAMINFO TYPE STANDARD TABLE OF REF TO /AWS1/CL_MDXNDIMEDIASTREAMINFO WITH DEFAULT KEY
.