OcaMediaSinkConnector

class OcaMediaSinkConnector()

Media sink (i.e. input) connector. Connects to an inbound stream. Collected by OcaMediaTransportNetwork .

OcaMediaSinkConnector.IDInternal

type: number

Internal ID.

OcaMediaSinkConnector.IDExternal

type: string

Public name of connector. May be published to the media transport network, depending on the type of network.

OcaMediaSinkConnector.Connection

type: OcaMediaConnection

Descriptor of the stream connection to this connector. If there is no stream connected to this controller, (i.e. property Connected = FALSE), the value of this property is undefined.

OcaMediaSinkConnector.AvailableCodings

type: array

List of codings available for this connector.

OcaMediaSinkConnector.PinCount

type: number

Number of pins in this connector.

OcaMediaSinkConnector.ChannelPinMap

type: Map.<number, Array.<OcaPortID>>

Map of stream pins (sink channels) to OCA ports (output ports) of the owning OcaMediaNetwork object. This defines what pins that are received from the network are sent to what OCA ports. A pin can only carry one network channel, but can be sent to multiple ports. That is why this data member is a multimap, a pin identifier can map to multiple ports. A pin is identified by an OcaUint16 with value 1..MaxPinCount. Not having a certain pin identifier in this map means that the pin is empty (i.e. not carrying a sink channel). A pin identifier cannot be part of the map more than MaxChannelsPerPin times, unless MaxChannelsPerPin is zero.

OcaMediaSinkConnector.AlignmentLevel

type: number

Alignment level of the interface. Note that the dBFS value is referenced to the interface’s fullscale value, not to device’s internal fullscale value.

OcaMediaSinkConnector.AlignmentGain

type: number

Alignment gain for the connector. This value will be applied to all signals incoming through all pins.

OcaMediaSinkConnector.CurrentCoding

type: OcaMediaCoding

Coding currently used by this connector.