OcaCodingManager¶
A online version of the AES70 specification of this class can be found at http://docs.deuso.de.
The class is a subclass of OcaManager()
.
This class defines the properties
Name |
JavaScript Type |
AES70 Type |
---|---|---|
AvailableEncodingSchemes |
Map<number, string> |
OcaMap<OcaMediaCodingSchemeID, OcaString> |
AvailableDecodingSchemes |
Map<number, string> |
OcaMap<OcaMediaCodingSchemeID, OcaString> |
Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, AvailableEncodingSchemes and AvailableDecodingSchemes.
-
class
OcaCodingManager
(objectNumber, device)¶ Optional manager that collects all media decoders/encoders (Codecs) which the device owns.
Must be instantiated in every device that implements more than one media encoding scheme and/or more than one media decoding scheme.
If instantiated, object number must be 12.
-
OcaCodingManager.
OnAvailableDecodingSchemesChanged
¶ type: PropertyEvent.<Map.<number, string>>
This event is emitted when the property AvailableDecodingSchemes changes in the remote object. The property
AvailableDecodingSchemes
is described in the AES70 standard as follows. Map of names of media decoding schemes the device supports, indexed by scheme ID.
-
OcaCodingManager.
OnAvailableEncodingSchemesChanged
¶ type: PropertyEvent.<Map.<number, string>>
This event is emitted when the property AvailableEncodingSchemes changes in the remote object. The property
AvailableEncodingSchemes
is described in the AES70 standard as follows. Map of names of media encoding schemes the device supports, indexed by scheme ID.
-
OcaCodingManager.
GetAvailableDecodingSchemes
()¶ Retrieves the map of available decoding schemes, indexed by scheme ID. Return value indicates success of the retrieval.
- Returns
Promise.<Map.<number, string>> – A promise which resolves to a single value of type
Map<number, string>
.
-
OcaCodingManager.
GetAvailableEncodingSchemes
()¶ Retrieves the map of available encoding schemes, indexed by scheme ID. Return value indicates success of the retrieval.
- Returns
Promise.<Map.<number, string>> – A promise which resolves to a single value of type
Map<number, string>
.