Media Stream Mode Description Datatypes

OcaMediaStreamMode

struct OcaMediaStreamMode

Current media stream mode descriptor.

OcaMediaFrameFormat FrameFormat

Media frame format

OcaMimeType EncodingType

Media encoding type

OcaFrequency SamplingRate

Media sampling rate

OcaUint16 ChannelCount

Number of signal channels in the stream

OcaTimeInterval PacketTime

Duration of the media signal fragment carried in a single network packet.

OcaMediaStreamModeCapability

struct OcaMediaStreamModeCapability

Media stream mode capability descriptor.

OcaID16 ID

ID of this capability

OcaString Name

Arbitrary user-supplied name of this capability

OcaMediaStreamModeCapabilityDirection Direction

Supported input/output direction - input, output, or both.

OcaList<OcaMediaFrameFormat> FrameFormatList

Supported frame formats

OcaList<OcaMimeType> EncodingTypeList

Supported encoding types

OcaList<OcaFrequency> SamplingRateList

Supported sampling rates

OcaList<OcaUint16> ChannelCountList

Supported channel count list. If both a list and a range are specified, the capability includes all channel counts within the union of the two constraints.

OcaInterval<OcaUint16> ChannelCountRange

Supported channel count range. If both a list and a range are specified, the capability includes all channel counts within the union of the two constraints.

OcaList<OcaTimeInterval> PacketTimeList

Supported packet-time value list. If both a list and a range are specified, the capability includes all packet times within the union of the two constraints.

OcaInterval<OcaTimeInterval> PacketTimeRange

Range of supported packet-time values. If both a list and a range are specified, the capability includes all packet times within the union of the two constraints.

OcaMediaFrameFormat

enum OcaMediaFrameFormat : uint8_t

Media stream frame formats.

enumerator Undefined = 0

Undefined frame format

enumerator RTP = 1

Real-Time Transport Protocol (RTP) frame format. RTP is specified in [RFC 3550].

enumerator AAF = 2

AAF (“AVTP Audio Format”) frame, as defined in IEEE 1722.1. Note: This is not the same as Advanced Authoring Format.

enumerator CRF_MILAN = 3

CRF_Milan format. Frame format of clock reference streams defined by the Milan profile of IEEE AVB.

enumerator IEC_61883_6 = 4

[IEC 61883-6] format. Audio transport frame format used by IEEE 1394 (FireWire)

enumerator USB_AUDIO_2_0 = 5

Frame format for USB 2.0 media transport.

enumerator ExtensionPoint = 65

Nonstandard values start at this number.

OcaMediaStreamModeCapabilityDirection

using OcaMediaStreamModeCapabilityDirection = OcaBitSet16

Bitset describing the I/O direction(s) an Endpoint supports.