OcaMediaClockManager¶
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 |
---|---|---|
ClockSourceTypesSupported |
OcaMediaClockType[] |
OcaList<OcaMediaClockType> |
Clocks |
number[] |
OcaList<OcaONo> |
Clock3s |
number[] |
OcaList<OcaONo> |
Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, ClockSourceTypesSupported, Clocks and Clock3s.
-
class
OcaMediaClockManager
(objectNumber, device)¶ Optional manager that collects all media clocks the device uses.
Must be instantiated once for every device that has more than one media clock object. In this context, “media clock” means an instance of OcaMediaClock , OcaMediaClock3 , or any subclass of these classes.
If instantiated, object number must be 7.
-
OcaMediaClockManager.
OnClock3sChanged
¶ type: PropertyEvent.<Array.<number>>
This event is emitted when the property Clock3s changes in the remote object. The property
Clock3s
is described in the AES70 standard as follows. Object numbers of <b>OcaMediaClock3 </b>objects, one for each clock which this device uses and/or sources.
-
OcaMediaClockManager.
OnClockSourceTypesSupportedChanged
¶ type: PropertyEvent.<Array.<OcaMediaClockType>>
This event is emitted when the property ClockSourceTypesSupported changes in the remote object. The property
ClockSourceTypesSupported
is described in the AES70 standard as follows. List of clock source types supported by <b>OcaMediaClock </b>objects in this device. Note: In AES70-2017, this method is deprecated. It only reflects the clock types of <b>OcaMediaClock </b>objects, which are now deprecated. It does not apply to <b>OcaMediaClock3 </b>objects, since these do not have type attributes. If the number of <b>OcaMediaClock </b>objects in the device is zero, this property is empty.
-
OcaMediaClockManager.
OnClocksChanged
¶ type: PropertyEvent.<Array.<number>>
This event is emitted when the property Clocks changes in the remote object. The property
Clocks
is described in the AES70 standard as follows. Object numbers of <b>OcaMediaClock </b>objects, one for each clock which this device uses and/or sources. Note: In AES70-2017, this property is deprecated.
-
OcaMediaClockManager.
GetClock3s
()¶ Gets the list of object numbers of OcaMediaClock3 instances in this device. Return value indicates whether list was successfully retrieved.
- Returns
Promise.<Array.<number>> – A promise which resolves to a single value of type
number[]
.
-
OcaMediaClockManager.
GetClocks
()¶ Gets the list of object numbers of OcaMediaClock instances in this device. Return value indicates whether list was successfully retrieved. Note: In AES70-2017, this method is deprecated.
- Returns
Promise.<Array.<number>> – A promise which resolves to a single value of type
number[]
.
-
OcaMediaClockManager.
GetMediaClockTypesSupported
()¶ Gets the list of media clock types supported by OcaMediaClock objects in the device. Return value indicates whether the list was successfully retrieved. Note : In AES70-2017, this method is deprecated.
- Returns
Promise.<Array.<OcaMediaClockType>> – A promise which resolves to a single value of type
OcaMediaClockType[]
.