Media Connection Datatypes
OcaMediaConnection
-
struct OcaMediaConnection
A single-channel or multichannel connection between a local media connector (i.e. OcaMedia(Source/Sink)Connector instance) of an OcaMediaTransportNetwork object in this node and another (“remote”) media source or sink. Normally, the remote source or sink is in another node. The remote end may or may not be an OCA-compliant device. A connection is unidirectional. Its direction is determined by the connector that owns the connection. Its direction is either:
Outbound: A signal flow from a source connector to an external destination; or
Inbound: A signal flow from an external source to a sink connector.
An OcaMediaConnection object may represent a connection to either a unicast or a multicast stream. Any given OcaMedia(Source/Sink)Connector object will only have one media connection. In non-OCA documents, connections are sometimes referred to as streams or flows.
-
OcaBoolean Secure
True iff connection is secure.
-
OcaMediaStreamParameters StreamParameters
Stream parameters (encoding, sampling, etc). Format is media network type dependent.
-
OcaMediaStreamCastMode StreamCastMode
Unicast or multicast
OCP.1 Encoding
Field |
Basic type |
Byte length |
---|---|---|
Secure |
OcaBoolean |
1 |
StreamParameters.Value.DataSize |
OcaUint16 |
2 |
StreamParameters.Value.Data |
OcaUint8 |
1 * Count |
StreamCastMode |
OcaEnumItem |
1 |
StreamChannelCount |
OcaUint16 |
2 |