aes70 1.6.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COPYING +7 -7
- package/Changelog +9 -0
- package/README.md +74 -42
- package/dist/AES70.es5.js +23882 -5157
- package/package.json +3 -3
- package/src/OCP1/Arguments.js +3 -0
- package/src/OCP1/Enum.js +8 -0
- package/src/OCP1/OcaActionObjectSearchResult.js +20 -0
- package/src/OCP1/OcaActionObjectSearchResultFlags.js +3 -0
- package/src/OCP1/OcaArray1D.js +108 -0
- package/src/OCP1/OcaBitstring.js +3 -0
- package/src/OCP1/OcaBlob.js +2 -43
- package/src/OCP1/OcaBlobFixedLen.js +8 -0
- package/src/OCP1/OcaBlockConfigurability.js +3 -0
- package/src/OCP1/OcaBoolean.js +3 -0
- package/src/OCP1/OcaCommand.js +17 -0
- package/src/OCP1/OcaCommandResult.js +17 -0
- package/src/OCP1/OcaCommandSetResult.js +17 -0
- package/src/OCP1/OcaConstructionParameter.js +16 -0
- package/src/OCP1/OcaCounter.js +22 -0
- package/src/OCP1/OcaCounterNotifierFilterParameters.js +19 -0
- package/src/OCP1/OcaCounterSet.js +17 -0
- package/src/OCP1/OcaCounterUpdate.js +18 -0
- package/src/OCP1/OcaCounterUpdateEventData.js +15 -0
- package/src/OCP1/OcaDatasetSearchResult.js +17 -0
- package/src/OCP1/OcaDeviceGenericState.js +4 -0
- package/src/OCP1/OcaDeviceOperationalState.js +16 -0
- package/src/OCP1/OcaExecutableType.js +4 -0
- package/src/OCP1/OcaFloat32.js +3 -0
- package/src/OCP1/OcaFloat64.js +3 -0
- package/src/OCP1/OcaGenericEndState.js +4 -0
- package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
- package/src/OCP1/OcaGroupException.js +18 -0
- package/src/OCP1/OcaIODirection.js +4 -0
- package/src/OCP1/OcaIP4AutoconfigMode.js +4 -0
- package/src/OCP1/OcaIP4Gateway.js +17 -0
- package/src/OCP1/OcaIP4NetworkSettings.js +23 -0
- package/src/OCP1/OcaIP6AutoconfigMode.js +4 -0
- package/src/OCP1/OcaIP6Gateway.js +17 -0
- package/src/OCP1/OcaIP6NetworkSettings.js +24 -0
- package/src/OCP1/OcaInt16.js +3 -0
- package/src/OCP1/OcaInt32.js +3 -0
- package/src/OCP1/OcaInt64.js +3 -0
- package/src/OCP1/OcaInt8.js +3 -0
- package/src/OCP1/OcaInterval.js +18 -0
- package/src/OCP1/OcaIntervalBounds.js +3 -0
- package/src/OCP1/OcaJobDisposedEventData.js +18 -0
- package/src/OCP1/OcaJobDisposition.js +4 -0
- package/src/OCP1/OcaJobQueueItem.js +24 -0
- package/src/OCP1/OcaList.js +2 -127
- package/src/OCP1/OcaList2D.js +6 -0
- package/src/OCP1/OcaList32.js +3 -0
- package/src/OCP1/OcaLockState.js +4 -0
- package/src/OCP1/OcaLogFilter.js +20 -0
- package/src/OCP1/OcaLogRecord.js +21 -0
- package/src/OCP1/OcaLongBlob.js +3 -0
- package/src/OCP1/OcaManufacturer.js +19 -0
- package/src/OCP1/OcaMap.js +3 -0
- package/src/OCP1/OcaMatrixCommand.js +19 -0
- package/src/OCP1/OcaMatrixCoordinates.js +15 -0
- package/src/OCP1/OcaMediaAccessMode.js +4 -0
- package/src/OCP1/OcaMediaFrameFormat.js +4 -0
- package/src/OCP1/OcaMediaPlayOption.js +4 -0
- package/src/OCP1/OcaMediaRecorderPlayerState.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpoint.js +40 -0
- package/src/OCP1/OcaMediaStreamEndpointCommand.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpointState.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpointStatus.js +16 -0
- package/src/OCP1/OcaMediaStreamMode.js +21 -0
- package/src/OCP1/OcaMediaStreamModeCapability.js +29 -0
- package/src/OCP1/OcaMediaStreamModeCapabilityDirection.js +3 -0
- package/src/OCP1/OcaMediaTrackFunction.js +3 -0
- package/src/OCP1/OcaMediaTransportSession.js +30 -0
- package/src/OCP1/OcaMediaTransportSessionConnection.js +17 -0
- package/src/OCP1/OcaMediaTransportSessionConnectionState.js +15 -0
- package/src/OCP1/OcaMediaTransportSessionState.js +4 -0
- package/src/OCP1/OcaMediaTransportSessionStatus.js +16 -0
- package/src/OCP1/OcaMediaTransportTimingParameters.js +16 -0
- package/src/OCP1/OcaMediaVolumePosition.js +16 -0
- package/src/OCP1/OcaMediaVolumePositionType.js +4 -0
- package/src/OCP1/OcaMultiMap.js +3 -0
- package/src/OCP1/OcaNetworkAdvertisingMechanism.js +16 -0
- package/src/OCP1/OcaNetworkAdvertisingService.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceAssignment.js +23 -0
- package/src/OCP1/OcaNetworkInterfaceCommand.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceState.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceStatus.js +16 -0
- package/src/OCP1/OcaObjectSearchResult.js +2 -18
- package/src/OCP1/OcaObjectSearchResultFlags.js +5 -3
- package/src/OCP1/OcaPort.js +1 -1
- package/src/OCP1/OcaPortClockMapEntry.js +16 -0
- package/src/OCP1/OcaPortID.js +2 -2
- package/src/OCP1/OcaPortIdentification.js +16 -0
- package/src/OCP1/OcaPortMode.js +5 -4
- package/src/OCP1/OcaPositionDescriptor.js +2 -2
- package/src/OCP1/OcaProduct.js +19 -0
- package/src/OCP1/OcaProgramResult.js +17 -0
- package/src/OCP1/OcaProgramRunMode.js +3 -0
- package/src/OCP1/OcaProtoPort.js +2 -2
- package/src/OCP1/OcaProtoPortClockMapEntry.js +17 -0
- package/src/OCP1/OcaProtoSignalPath.js +2 -2
- package/src/OCP1/OcaSamplingRateConverterType.js +4 -0
- package/src/OCP1/OcaSecurityType.js +4 -0
- package/src/OCP1/OcaSignalPath.js +2 -2
- package/src/OCP1/OcaString.js +3 -0
- package/src/OCP1/OcaTask.js +4 -3
- package/src/OCP1/OcaTaskExecutionTerminatedEventData.js +20 -0
- package/src/OCP1/OcaTaskGenericState.js +4 -0
- package/src/OCP1/OcaTaskOperationalState.js +17 -0
- package/src/OCP1/OcaTaskSchedulerState.js +4 -0
- package/src/OCP1/OcaTaskStatusChangedEventData.js +18 -0
- package/src/OCP1/OcaTime.js +18 -0
- package/src/OCP1/OcaTimeDeliveryMechanism.js +4 -0
- package/src/OCP1/OcaTimeDeliveryParameters_StreamEndpoint.js +15 -0
- package/src/OCP1/OcaTimePTP.js +2 -15
- package/src/OCP1/OcaTypedBlob.js +16 -0
- package/src/OCP1/OcaUint16.js +3 -0
- package/src/OCP1/OcaUint32.js +3 -0
- package/src/OCP1/OcaUint64.js +3 -0
- package/src/OCP1/OcaUint8.js +3 -0
- package/src/OCP1/OcaVariant.js +92 -0
- package/src/OCP1/OcaWhenPhysicalAbsolute.js +16 -0
- package/src/OCP1/OcaWhenPhysicalRelative.js +16 -0
- package/src/OCP1/RestWithOffset.js +3 -0
- package/src/OCP1/String16.js +3 -0
- package/src/OCP1/Struct.js +12 -0
- package/src/OCP1/Tuple.js +3 -0
- package/src/OCP1/createBlobType.js +58 -0
- package/src/OCP1/createListType.js +137 -0
- package/src/OCP1/createType.js +8 -4
- package/src/OCP1/decode_message.js +10 -2
- package/src/OCP1/encode_message.js +5 -1
- package/src/OCP1/getLengthEncoder.js +23 -0
- package/src/OCP1/notification2.js +70 -0
- package/src/OCP1/protocol_version.js +4 -0
- package/src/connection.js +14 -6
- package/src/controller/ControlClasses/OcaActuator.d.ts +3 -3
- package/src/controller/ControlClasses/OcaActuator.js +4 -4
- package/src/controller/ControlClasses/OcaAgent.d.ts +6 -14
- package/src/controller/ControlClasses/OcaAgent.js +8 -18
- package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +9 -17
- package/src/controller/ControlClasses/OcaApplicationNetwork.js +11 -32
- package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +4 -7
- package/src/controller/ControlClasses/OcaAudioLevelSensor.js +5 -8
- package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +1 -1
- package/src/controller/ControlClasses/OcaAudioProcessingManager.js +2 -2
- package/src/controller/ControlClasses/OcaBasicActuator.d.ts +1 -1
- package/src/controller/ControlClasses/OcaBasicActuator.js +2 -2
- package/src/controller/ControlClasses/OcaBasicSensor.d.ts +1 -1
- package/src/controller/ControlClasses/OcaBasicSensor.js +2 -2
- package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +34 -13
- package/src/controller/ControlClasses/OcaBitstringActuator.js +35 -18
- package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +19 -7
- package/src/controller/ControlClasses/OcaBitstringSensor.js +22 -12
- package/src/controller/ControlClasses/OcaBlock.d.ts +455 -89
- package/src/controller/ControlClasses/OcaBlock.js +477 -103
- package/src/controller/ControlClasses/OcaBlockFactoryAgent.d.ts +299 -0
- package/src/controller/ControlClasses/OcaBlockFactoryAgent.js +360 -0
- package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +2 -4
- package/src/controller/ControlClasses/OcaBooleanActuator.js +3 -5
- package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaBooleanSensor.js +3 -4
- package/src/controller/ControlClasses/OcaCodingManager.js +1 -1
- package/src/controller/ControlClasses/OcaCommandSet.d.ts +89 -0
- package/src/controller/ControlClasses/OcaCommandSet.js +94 -0
- package/src/controller/ControlClasses/OcaCommandSetAgent.d.ts +31 -0
- package/src/controller/ControlClasses/OcaCommandSetAgent.js +38 -0
- package/src/controller/ControlClasses/OcaCounterNotifier.d.ts +89 -0
- package/src/controller/ControlClasses/OcaCounterNotifier.js +101 -0
- package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaCurrentSensor.js +3 -4
- package/src/controller/ControlClasses/OcaDataset.d.ts +223 -0
- package/src/controller/ControlClasses/OcaDataset.js +234 -0
- package/src/controller/ControlClasses/OcaDatasetWorker.d.ts +31 -0
- package/src/controller/ControlClasses/OcaDatasetWorker.js +40 -0
- package/src/controller/ControlClasses/OcaDelay.d.ts +2 -4
- package/src/controller/ControlClasses/OcaDelay.js +3 -5
- package/src/controller/ControlClasses/OcaDelayExtended.d.ts +5 -7
- package/src/controller/ControlClasses/OcaDelayExtended.js +6 -8
- package/src/controller/ControlClasses/OcaDeviceManager.d.ts +123 -62
- package/src/controller/ControlClasses/OcaDeviceManager.js +161 -83
- package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +43 -25
- package/src/controller/ControlClasses/OcaDeviceTimeManager.js +43 -28
- package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +1 -13
- package/src/controller/ControlClasses/OcaDiagnosticManager.js +3 -16
- package/src/controller/ControlClasses/OcaDynamics.d.ts +38 -63
- package/src/controller/ControlClasses/OcaDynamics.js +48 -71
- package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +169 -82
- package/src/controller/ControlClasses/OcaDynamicsCurve.js +189 -93
- package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +8 -16
- package/src/controller/ControlClasses/OcaDynamicsDetector.js +9 -17
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +5 -7
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +10 -12
- package/src/controller/ControlClasses/OcaFilterClassical.d.ts +15 -26
- package/src/controller/ControlClasses/OcaFilterClassical.js +15 -27
- package/src/controller/ControlClasses/OcaFilterFIR.d.ts +6 -11
- package/src/controller/ControlClasses/OcaFilterFIR.js +12 -18
- package/src/controller/ControlClasses/OcaFilterParametric.d.ts +55 -26
- package/src/controller/ControlClasses/OcaFilterParametric.js +63 -32
- package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +5 -4
- package/src/controller/ControlClasses/OcaFilterPolynomial.js +8 -7
- package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +6 -11
- package/src/controller/ControlClasses/OcaFirmwareManager.js +5 -11
- package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaFloat32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaFloat32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaFloat64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaFloat64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +2 -4
- package/src/controller/ControlClasses/OcaFrequencyActuator.js +3 -5
- package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaFrequencySensor.js +2 -3
- package/src/controller/ControlClasses/OcaGain.d.ts +2 -4
- package/src/controller/ControlClasses/OcaGain.js +3 -5
- package/src/controller/ControlClasses/OcaGainSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaGainSensor.js +3 -4
- package/src/controller/ControlClasses/OcaGroup.d.ts +140 -0
- package/src/controller/ControlClasses/OcaGroup.js +156 -0
- package/src/controller/ControlClasses/OcaGrouper.d.ts +20 -140
- package/src/controller/ControlClasses/OcaGrouper.js +34 -171
- package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +5 -7
- package/src/controller/ControlClasses/OcaIdentificationActuator.js +7 -9
- package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +5 -6
- package/src/controller/ControlClasses/OcaIdentificationSensor.js +6 -7
- package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaImpedanceSensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt16Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt16Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt8Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt8Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaJsonActuator.d.ts +46 -0
- package/src/controller/ControlClasses/OcaJsonActuator.js +58 -0
- package/src/controller/ControlClasses/OcaJsonSensor.d.ts +51 -0
- package/src/controller/ControlClasses/OcaJsonSensor.js +65 -0
- package/src/controller/ControlClasses/OcaLevelSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaLevelSensor.js +2 -3
- package/src/controller/ControlClasses/OcaLibraryManager.d.ts +1 -1
- package/src/controller/ControlClasses/OcaLibraryManager.js +3 -3
- package/src/controller/ControlClasses/OcaLockManager.d.ts +44 -0
- package/src/controller/ControlClasses/OcaLockManager.js +53 -0
- package/src/controller/ControlClasses/OcaLog.d.ts +128 -0
- package/src/controller/ControlClasses/OcaLog.js +142 -0
- package/src/controller/ControlClasses/OcaManager.js +1 -1
- package/src/controller/ControlClasses/OcaMatrix.d.ts +104 -82
- package/src/controller/ControlClasses/OcaMatrix.js +121 -93
- package/src/controller/ControlClasses/OcaMediaClock.d.ts +27 -0
- package/src/controller/ControlClasses/OcaMediaClock.js +28 -4
- package/src/controller/ControlClasses/OcaMediaClock3.d.ts +16 -22
- package/src/controller/ControlClasses/OcaMediaClock3.js +22 -29
- package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +7 -10
- package/src/controller/ControlClasses/OcaMediaClockManager.js +9 -13
- package/src/controller/ControlClasses/OcaMediaRecorderPlayer.d.ts +235 -0
- package/src/controller/ControlClasses/OcaMediaRecorderPlayer.js +261 -0
- package/src/controller/ControlClasses/OcaMediaTransportApplication.d.ts +612 -0
- package/src/controller/ControlClasses/OcaMediaTransportApplication.js +704 -0
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +12 -25
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +12 -35
- package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.d.ts +235 -0
- package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.js +249 -0
- package/src/controller/ControlClasses/OcaMute.d.ts +2 -4
- package/src/controller/ControlClasses/OcaMute.js +3 -5
- package/src/controller/ControlClasses/OcaNetwork.js +1 -1
- package/src/controller/ControlClasses/OcaNetworkApplication.d.ts +179 -0
- package/src/controller/ControlClasses/OcaNetworkApplication.js +202 -0
- package/src/controller/ControlClasses/OcaNetworkInterface.d.ts +318 -0
- package/src/controller/ControlClasses/OcaNetworkInterface.js +353 -0
- package/src/controller/ControlClasses/OcaNetworkManager.d.ts +45 -17
- package/src/controller/ControlClasses/OcaNetworkManager.js +59 -22
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +1 -1
- package/src/controller/ControlClasses/OcaNumericObserver.d.ts +24 -40
- package/src/controller/ControlClasses/OcaNumericObserver.js +25 -40
- package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +20 -33
- package/src/controller/ControlClasses/OcaNumericObserverList.js +26 -39
- package/src/controller/ControlClasses/OcaPanBalance.d.ts +4 -8
- package/src/controller/ControlClasses/OcaPanBalance.js +5 -9
- package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +3 -6
- package/src/controller/ControlClasses/OcaPhysicalPosition.js +4 -7
- package/src/controller/ControlClasses/OcaPolarity.d.ts +2 -4
- package/src/controller/ControlClasses/OcaPolarity.js +3 -5
- package/src/controller/ControlClasses/OcaPowerManager.d.ts +30 -14
- package/src/controller/ControlClasses/OcaPowerManager.js +32 -17
- package/src/controller/ControlClasses/OcaPowerSensor.d.ts +38 -0
- package/src/controller/ControlClasses/OcaPowerSensor.js +51 -0
- package/src/controller/ControlClasses/OcaPowerSupply.d.ts +8 -16
- package/src/controller/ControlClasses/OcaPowerSupply.js +13 -21
- package/src/controller/ControlClasses/OcaProgram.d.ts +63 -0
- package/src/controller/ControlClasses/OcaProgram.js +82 -0
- package/src/controller/ControlClasses/OcaRamper.d.ts +46 -10
- package/src/controller/ControlClasses/OcaRamper.js +65 -12
- package/src/controller/ControlClasses/OcaRoot.d.ts +69 -24
- package/src/controller/ControlClasses/OcaRoot.js +67 -26
- package/src/controller/ControlClasses/OcaSamplingRateConverter.d.ts +22 -0
- package/src/controller/ControlClasses/OcaSamplingRateConverter.js +28 -0
- package/src/controller/ControlClasses/OcaSecurityManager.d.ts +12 -13
- package/src/controller/ControlClasses/OcaSecurityManager.js +10 -12
- package/src/controller/ControlClasses/OcaSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaSensor.js +2 -3
- package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +21 -39
- package/src/controller/ControlClasses/OcaSignalGenerator.js +22 -40
- package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSignalInput.js +5 -5
- package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSignalOutput.js +5 -5
- package/src/controller/ControlClasses/OcaStateSensor.d.ts +58 -0
- package/src/controller/ControlClasses/OcaStateSensor.js +75 -0
- package/src/controller/ControlClasses/OcaStreamConnector.js +1 -1
- package/src/controller/ControlClasses/OcaStreamNetwork.js +1 -1
- package/src/controller/ControlClasses/OcaStringActuator.d.ts +7 -8
- package/src/controller/ControlClasses/OcaStringActuator.js +7 -8
- package/src/controller/ControlClasses/OcaStringSensor.d.ts +20 -9
- package/src/controller/ControlClasses/OcaStringSensor.js +23 -13
- package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +211 -41
- package/src/controller/ControlClasses/OcaSubscriptionManager.js +224 -39
- package/src/controller/ControlClasses/OcaSummingPoint.d.ts +3 -2
- package/src/controller/ControlClasses/OcaSummingPoint.js +4 -3
- package/src/controller/ControlClasses/OcaSwitch.d.ts +70 -25
- package/src/controller/ControlClasses/OcaSwitch.js +113 -35
- package/src/controller/ControlClasses/OcaTaskAgent.d.ts +192 -0
- package/src/controller/ControlClasses/OcaTaskAgent.js +212 -0
- package/src/controller/ControlClasses/OcaTaskManager.d.ts +4 -6
- package/src/controller/ControlClasses/OcaTaskManager.js +7 -9
- package/src/controller/ControlClasses/OcaTaskScheduler.d.ts +150 -0
- package/src/controller/ControlClasses/OcaTaskScheduler.js +159 -0
- package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaTemperatureActuator.js +4 -6
- package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaTemperatureSensor.js +3 -4
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +2 -3
- package/src/controller/ControlClasses/OcaTimeSource.d.ts +108 -37
- package/src/controller/ControlClasses/OcaTimeSource.js +148 -48
- package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint16Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint16Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint8Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint8Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaVoltageSensor.js +3 -4
- package/src/controller/ControlClasses/OcaWorker.d.ts +84 -37
- package/src/controller/ControlClasses/OcaWorker.js +93 -43
- package/src/controller/base_event.js +71 -23
- package/src/controller/client_connection.d.ts +26 -0
- package/src/controller/client_connection.js +39 -7
- package/src/controller/event.js +17 -20
- package/src/controller/make_control_class.js +3 -1
- package/src/controller/notification_error.d.ts +40 -0
- package/src/controller/notification_error.js +62 -0
- package/src/controller/observeProperty.js +8 -8
- package/src/controller/property_event.js +18 -10
- package/src/controller/remote_device.js +137 -49
- package/src/index.default.d.ts +1 -0
- package/src/index.default.js +1 -0
- package/src/types/Enum.js +8 -0
- package/src/types/OcaActionObjectSearchResult.d.ts +73 -0
- package/src/types/OcaActionObjectSearchResult.js +34 -0
- package/src/types/OcaActionObjectSearchResultFlags.d.ts +37 -0
- package/src/types/OcaActionObjectSearchResultFlags.js +52 -0
- package/src/types/OcaApplicationNetworkCommand.d.ts +1 -19
- package/src/types/OcaApplicationNetworkCommand.js +0 -24
- package/src/types/OcaApplicationNetworkState.d.ts +1 -37
- package/src/types/OcaApplicationNetworkState.js +0 -48
- package/src/types/OcaBlockConfigurability.d.ts +26 -0
- package/src/types/OcaBlockConfigurability.js +35 -0
- package/src/types/OcaClassicalFilterShape.d.ts +1 -1
- package/src/types/OcaClassicalFilterShape.js +1 -1
- package/src/types/OcaCommand.d.ts +44 -0
- package/src/types/OcaCommand.js +25 -0
- package/src/types/OcaCommandResult.d.ts +42 -0
- package/src/types/OcaCommandResult.js +24 -0
- package/src/types/OcaCommandSetResult.d.ts +41 -0
- package/src/types/OcaCommandSetResult.js +23 -0
- package/src/types/OcaConstructionParameter.d.ts +40 -0
- package/src/types/OcaConstructionParameter.js +23 -0
- package/src/types/OcaCounter.d.ts +81 -0
- package/src/types/OcaCounter.js +38 -0
- package/src/types/OcaCounterNotifierFilterParameters.d.ts +81 -0
- package/src/types/OcaCounterNotifierFilterParameters.js +37 -0
- package/src/types/OcaCounterSet.d.ts +38 -0
- package/src/types/OcaCounterSet.js +22 -0
- package/src/types/OcaCounterUpdate.d.ts +54 -0
- package/src/types/OcaCounterUpdate.js +28 -0
- package/src/types/OcaCounterUpdateEventData.d.ts +27 -0
- package/src/types/OcaCounterUpdateEventData.js +17 -0
- package/src/types/OcaDatasetSearchResult.d.ts +51 -0
- package/src/types/OcaDatasetSearchResult.js +28 -0
- package/src/types/OcaDelayUnit.d.ts +2 -1
- package/src/types/OcaDelayUnit.js +2 -1
- package/src/types/OcaDelayValue.d.ts +2 -1
- package/src/types/OcaDelayValue.js +2 -1
- package/src/types/OcaDeviceGenericState.d.ts +62 -0
- package/src/types/OcaDeviceGenericState.js +52 -0
- package/src/types/OcaDeviceOperationalState.d.ts +42 -0
- package/src/types/OcaDeviceOperationalState.js +22 -0
- package/src/types/OcaDeviceState.d.ts +2 -2
- package/src/types/OcaDeviceState.js +2 -2
- package/src/types/OcaExecutableType.d.ts +50 -0
- package/src/types/OcaExecutableType.js +36 -0
- package/src/types/OcaGenericEndState.d.ts +56 -0
- package/src/types/OcaGenericEndState.js +44 -0
- package/src/types/OcaGlobalTypeIdentifier.d.ts +12 -12
- package/src/types/OcaGlobalTypeIdentifier.js +8 -7
- package/src/types/OcaGroupException.d.ts +53 -0
- package/src/types/OcaGroupException.js +28 -0
- package/src/types/OcaGrouperCitizen.d.ts +10 -10
- package/src/types/OcaGrouperCitizen.js +6 -6
- package/src/types/OcaGrouperEnrollment.d.ts +4 -9
- package/src/types/OcaGrouperEnrollment.js +3 -5
- package/src/types/OcaGrouperGroup.d.ts +9 -9
- package/src/types/OcaGrouperGroup.js +5 -5
- package/src/types/OcaGrouperMode.d.ts +4 -3
- package/src/types/OcaGrouperMode.js +4 -3
- package/src/types/OcaGrouperStatusChangeEventData.d.ts +2 -2
- package/src/types/OcaGrouperStatusChangeEventData.js +2 -2
- package/src/types/OcaGrouperStatusChangeType.d.ts +1 -1
- package/src/types/OcaGrouperStatusChangeType.js +1 -1
- package/src/types/OcaIODirection.d.ts +39 -0
- package/src/types/OcaIODirection.js +28 -0
- package/src/types/OcaIP4AutoconfigMode.d.ts +56 -0
- package/src/types/OcaIP4AutoconfigMode.js +44 -0
- package/src/types/OcaIP4Gateway.d.ts +53 -0
- package/src/types/OcaIP4Gateway.js +27 -0
- package/src/types/OcaIP4NetworkSettings.d.ts +111 -0
- package/src/types/OcaIP4NetworkSettings.js +56 -0
- package/src/types/OcaIP6AutoconfigMode.d.ts +56 -0
- package/src/types/OcaIP6AutoconfigMode.js +44 -0
- package/src/types/OcaIP6Gateway.d.ts +53 -0
- package/src/types/OcaIP6Gateway.js +27 -0
- package/src/types/OcaIP6NetworkSettings.d.ts +123 -0
- package/src/types/OcaIP6NetworkSettings.js +61 -0
- package/src/types/OcaInterval.d.ts +8 -0
- package/src/types/OcaInterval.js +84 -0
- package/src/types/OcaIntervalBounds.d.ts +41 -0
- package/src/types/OcaIntervalBounds.js +53 -0
- package/src/types/OcaJobDisposedEventData.d.ts +57 -0
- package/src/types/OcaJobDisposedEventData.js +28 -0
- package/src/types/OcaJobDisposition.d.ts +68 -0
- package/src/types/OcaJobDisposition.js +60 -0
- package/src/types/OcaJobQueueItem.d.ts +105 -0
- package/src/types/OcaJobQueueItem.js +44 -0
- package/src/types/OcaLibVolType.d.ts +2 -4
- package/src/types/OcaLibVolType.js +1 -2
- package/src/types/OcaLockState.d.ts +50 -0
- package/src/types/OcaLockState.js +36 -0
- package/src/types/OcaLogFilter.d.ts +70 -0
- package/src/types/OcaLogFilter.js +33 -0
- package/src/types/OcaLogRecord.d.ts +85 -0
- package/src/types/OcaLogRecord.js +40 -0
- package/src/types/OcaManagerDefaultObjectNumbers.d.ts +7 -0
- package/src/types/OcaManagerDefaultObjectNumbers.js +7 -0
- package/src/types/OcaManagerDescriptor.d.ts +11 -9
- package/src/types/OcaManagerDescriptor.js +6 -5
- package/src/types/OcaManufacturer.d.ts +87 -0
- package/src/types/OcaManufacturer.js +47 -0
- package/src/types/OcaMatrixCommand.d.ts +61 -0
- package/src/types/OcaMatrixCommand.js +29 -0
- package/src/types/OcaMatrixCoordinates.d.ts +38 -0
- package/src/types/OcaMatrixCoordinates.js +23 -0
- package/src/types/OcaMediaAccessMode.d.ts +50 -0
- package/src/types/OcaMediaAccessMode.js +36 -0
- package/src/types/OcaMediaClockAvailability.d.ts +1 -1
- package/src/types/OcaMediaClockAvailability.js +1 -1
- package/src/types/OcaMediaClockRate.d.ts +7 -7
- package/src/types/OcaMediaClockRate.js +4 -4
- package/src/types/OcaMediaConnection.d.ts +2 -2
- package/src/types/OcaMediaConnection.js +1 -1
- package/src/types/OcaMediaFrameFormat.d.ts +74 -0
- package/src/types/OcaMediaFrameFormat.js +68 -0
- package/src/types/OcaMediaPlayOption.d.ts +50 -0
- package/src/types/OcaMediaPlayOption.js +36 -0
- package/src/types/OcaMediaRecorderPlayerState.d.ts +62 -0
- package/src/types/OcaMediaRecorderPlayerState.js +52 -0
- package/src/types/OcaMediaStreamCastMode.d.ts +3 -3
- package/src/types/OcaMediaStreamCastMode.js +3 -3
- package/src/types/OcaMediaStreamEndpoint.d.ts +238 -0
- package/src/types/OcaMediaStreamEndpoint.js +114 -0
- package/src/types/OcaMediaStreamEndpointCommand.d.ts +80 -0
- package/src/types/OcaMediaStreamEndpointCommand.js +76 -0
- package/src/types/OcaMediaStreamEndpointState.d.ts +68 -0
- package/src/types/OcaMediaStreamEndpointState.js +60 -0
- package/src/types/OcaMediaStreamEndpointStatus.d.ts +44 -0
- package/src/types/OcaMediaStreamEndpointStatus.js +23 -0
- package/src/types/OcaMediaStreamMode.d.ts +83 -0
- package/src/types/OcaMediaStreamMode.js +43 -0
- package/src/types/OcaMediaStreamModeCapability.d.ts +167 -0
- package/src/types/OcaMediaStreamModeCapability.js +81 -0
- package/src/types/OcaMediaStreamModeCapabilityDirection.d.ts +21 -0
- package/src/types/OcaMediaStreamModeCapabilityDirection.js +27 -0
- package/src/types/OcaMediaTrackFunction.d.ts +27 -0
- package/src/types/OcaMediaTrackFunction.js +36 -0
- package/src/types/OcaMediaTransportSession.d.ts +119 -0
- package/src/types/OcaMediaTransportSession.js +58 -0
- package/src/types/OcaMediaTransportSessionConnection.d.ts +63 -0
- package/src/types/OcaMediaTransportSessionConnection.js +32 -0
- package/src/types/OcaMediaTransportSessionConnectionState.d.ts +47 -0
- package/src/types/OcaMediaTransportSessionConnectionState.js +24 -0
- package/src/types/OcaMediaTransportSessionState.d.ts +62 -0
- package/src/types/OcaMediaTransportSessionState.js +52 -0
- package/src/types/OcaMediaTransportSessionStatus.d.ts +43 -0
- package/src/types/OcaMediaTransportSessionStatus.js +23 -0
- package/src/types/OcaMediaTransportTimingParameters.d.ts +54 -0
- package/src/types/OcaMediaTransportTimingParameters.js +31 -0
- package/src/types/OcaMediaVolumePosition.d.ts +46 -0
- package/src/types/OcaMediaVolumePosition.js +23 -0
- package/src/types/OcaMediaVolumePositionType.d.ts +44 -0
- package/src/types/OcaMediaVolumePositionType.js +28 -0
- package/src/types/OcaModelGUID.d.ts +0 -1
- package/src/types/OcaModelGUID.js +0 -1
- package/src/types/OcaNetworkAdvertisingMechanism.d.ts +43 -0
- package/src/types/OcaNetworkAdvertisingMechanism.js +23 -0
- package/src/types/OcaNetworkAdvertisingService.d.ts +56 -0
- package/src/types/OcaNetworkAdvertisingService.js +44 -0
- package/src/types/OcaNetworkInterfaceAssignment.d.ts +99 -0
- package/src/types/OcaNetworkInterfaceAssignment.js +51 -0
- package/src/types/OcaNetworkInterfaceCommand.d.ts +50 -0
- package/src/types/OcaNetworkInterfaceCommand.js +36 -0
- package/src/types/OcaNetworkInterfaceState.d.ts +50 -0
- package/src/types/OcaNetworkInterfaceState.js +36 -0
- package/src/types/OcaNetworkInterfaceStatus.d.ts +42 -0
- package/src/types/OcaNetworkInterfaceStatus.js +22 -0
- package/src/types/OcaNotificationDeliveryMode.d.ts +13 -1
- package/src/types/OcaNotificationDeliveryMode.js +17 -1
- package/src/types/OcaOPath.d.ts +16 -2
- package/src/types/OcaOPath.js +8 -1
- package/src/types/OcaObjectListEventData.d.ts +2 -2
- package/src/types/OcaObjectListEventData.js +2 -2
- package/src/types/OcaObjectSearchResult.d.ts +4 -83
- package/src/types/OcaObjectSearchResult.js +2 -37
- package/src/types/OcaObjectSearchResultFlags.d.ts +4 -33
- package/src/types/OcaObjectSearchResultFlags.js +2 -48
- package/src/types/OcaObservationEventData.d.ts +2 -2
- package/src/types/OcaObservationEventData.js +2 -2
- package/src/types/OcaObservationListEventData.d.ts +2 -2
- package/src/types/OcaObservationListEventData.js +2 -2
- package/src/types/OcaObserverState.d.ts +1 -1
- package/src/types/OcaObserverState.js +1 -1
- package/src/types/OcaParameterMask.d.ts +81 -1
- package/src/types/OcaParameterMask.js +131 -1
- package/src/types/OcaPort.d.ts +7 -5
- package/src/types/OcaPort.js +4 -3
- package/src/types/OcaPortClockMapEntry.d.ts +42 -0
- package/src/types/OcaPortClockMapEntry.js +23 -0
- package/src/types/OcaPortID.d.ts +12 -10
- package/src/types/OcaPortID.js +7 -6
- package/src/types/OcaPortIdentification.d.ts +39 -0
- package/src/types/OcaPortIdentification.js +23 -0
- package/src/types/OcaPortMode.d.ts +4 -36
- package/src/types/OcaPortMode.js +2 -25
- package/src/types/OcaPositionDescriptor.d.ts +6 -6
- package/src/types/OcaPositionDescriptor.js +2 -2
- package/src/types/OcaPositionDescriptorFieldFlags.d.ts +33 -3
- package/src/types/OcaPositionDescriptorFieldFlags.js +53 -3
- package/src/types/OcaPowerSupplyState.d.ts +1 -1
- package/src/types/OcaPowerSupplyState.js +1 -1
- package/src/types/OcaProduct.d.ts +92 -0
- package/src/types/OcaProduct.js +42 -0
- package/src/types/OcaProgramResult.d.ts +39 -0
- package/src/types/OcaProgramResult.js +22 -0
- package/src/types/OcaProgramRunMode.d.ts +24 -0
- package/src/types/OcaProgramRunMode.js +30 -0
- package/src/types/OcaProperty.d.ts +2 -2
- package/src/types/OcaProperty.js +2 -2
- package/src/types/OcaProtoObjectIdentification.d.ts +1 -1
- package/src/types/OcaProtoObjectIdentification.js +1 -1
- package/src/types/OcaProtoPort.d.ts +16 -18
- package/src/types/OcaProtoPort.js +6 -8
- package/src/types/OcaProtoPortClockMapEntry.d.ts +46 -0
- package/src/types/OcaProtoPortClockMapEntry.js +25 -0
- package/src/types/OcaProtoSignalPath.d.ts +12 -10
- package/src/types/OcaProtoSignalPath.js +7 -6
- package/src/types/OcaRamperState.d.ts +19 -18
- package/src/types/OcaRamperState.js +19 -18
- package/src/types/OcaResetCause.d.ts +7 -1
- package/src/types/OcaResetCause.js +8 -0
- package/src/types/OcaSamplingRateConverterType.d.ts +50 -0
- package/src/types/OcaSamplingRateConverterType.js +36 -0
- package/src/types/OcaSecurityType.d.ts +39 -0
- package/src/types/OcaSecurityType.js +28 -0
- package/src/types/OcaSignalPath.d.ts +10 -10
- package/src/types/OcaSignalPath.js +6 -6
- package/src/types/OcaStatus.d.ts +19 -1
- package/src/types/OcaStatus.js +24 -0
- package/src/types/OcaStream.d.ts +2 -2
- package/src/types/OcaStream.js +1 -1
- package/src/types/OcaTask.d.ts +23 -24
- package/src/types/OcaTask.js +7 -7
- package/src/types/OcaTaskCommand.d.ts +2 -7
- package/src/types/OcaTaskCommand.js +2 -9
- package/src/types/OcaTaskExecutionTerminatedEventData.d.ts +64 -0
- package/src/types/OcaTaskExecutionTerminatedEventData.js +30 -0
- package/src/types/OcaTaskGenericState.d.ts +64 -0
- package/src/types/OcaTaskGenericState.js +54 -0
- package/src/types/OcaTaskManagerState.d.ts +1 -0
- package/src/types/OcaTaskManagerState.js +1 -0
- package/src/types/OcaTaskOperationalState.d.ts +43 -0
- package/src/types/OcaTaskOperationalState.js +22 -0
- package/src/types/OcaTaskSchedulerState.d.ts +63 -0
- package/src/types/OcaTaskSchedulerState.js +53 -0
- package/src/types/OcaTaskStatus.d.ts +2 -12
- package/src/types/OcaTaskStatus.js +2 -12
- package/src/types/OcaTaskStatusChangedEventData.d.ts +61 -0
- package/src/types/OcaTaskStatusChangedEventData.js +29 -0
- package/src/types/OcaTime.d.ts +56 -0
- package/src/types/OcaTime.js +32 -0
- package/src/types/OcaTimeDeliveryMechanism.d.ts +167 -0
- package/src/types/OcaTimeDeliveryMechanism.js +191 -0
- package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.d.ts +40 -0
- package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.js +24 -0
- package/src/types/OcaTimePTP.d.ts +4 -51
- package/src/types/OcaTimePTP.js +2 -28
- package/src/types/OcaTimeReferenceType.d.ts +7 -13
- package/src/types/OcaTimeReferenceType.js +6 -14
- package/src/types/OcaTimeSourceAvailability.d.ts +1 -1
- package/src/types/OcaTimeSourceAvailability.js +1 -1
- package/src/types/OcaTimeSourceSyncStatus.d.ts +1 -1
- package/src/types/OcaTimeSourceSyncStatus.js +1 -1
- package/src/types/OcaTransferFunction.d.ts +1 -1
- package/src/types/OcaTransferFunction.js +1 -1
- package/src/types/OcaTypedBlob.d.ts +40 -0
- package/src/types/OcaTypedBlob.js +24 -0
- package/src/types/OcaVariant.d.ts +19 -0
- package/src/types/OcaVariant.js +18 -0
- package/src/types/OcaWhenPhysicalAbsolute.d.ts +39 -0
- package/src/types/OcaWhenPhysicalAbsolute.js +22 -0
- package/src/types/OcaWhenPhysicalRelative.d.ts +39 -0
- package/src/types/OcaWhenPhysicalRelative.js +22 -0
|
@@ -0,0 +1,612 @@
|
|
|
1
|
+
import { OcaCounter } from '../../types/OcaCounter';
|
|
2
|
+
import { OcaCounterSet } from '../../types/OcaCounterSet';
|
|
3
|
+
import { IOcaIODirection } from '../../types/OcaIODirection';
|
|
4
|
+
import { OcaMediaStreamEndpoint } from '../../types/OcaMediaStreamEndpoint';
|
|
5
|
+
import { IOcaMediaStreamEndpointCommand } from '../../types/OcaMediaStreamEndpointCommand';
|
|
6
|
+
import { IOcaMediaStreamEndpointState } from '../../types/OcaMediaStreamEndpointState';
|
|
7
|
+
import { OcaMediaStreamEndpointStatus } from '../../types/OcaMediaStreamEndpointStatus';
|
|
8
|
+
import { IOcaMediaStreamMode } from '../../types/OcaMediaStreamMode';
|
|
9
|
+
import {
|
|
10
|
+
IOcaMediaStreamModeCapability,
|
|
11
|
+
OcaMediaStreamModeCapability,
|
|
12
|
+
} from '../../types/OcaMediaStreamModeCapability';
|
|
13
|
+
import {
|
|
14
|
+
IOcaMediaTransportTimingParameters,
|
|
15
|
+
OcaMediaTransportTimingParameters,
|
|
16
|
+
} from '../../types/OcaMediaTransportTimingParameters';
|
|
17
|
+
import { OcaPort } from '../../types/OcaPort';
|
|
18
|
+
import {
|
|
19
|
+
IOcaPortClockMapEntry,
|
|
20
|
+
OcaPortClockMapEntry,
|
|
21
|
+
} from '../../types/OcaPortClockMapEntry';
|
|
22
|
+
import { IOcaPortID, OcaPortID } from '../../types/OcaPortID';
|
|
23
|
+
import { OcaTimeReferenceType } from '../../types/OcaTimeReferenceType';
|
|
24
|
+
import { Arguments } from '../arguments';
|
|
25
|
+
import { PropertyEvent } from '../property_event';
|
|
26
|
+
import { RemoteDevice } from '../remote_device';
|
|
27
|
+
import { OcaNetworkApplication } from './OcaNetworkApplication';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Connection Management 4 (CM4) class. Specifies the device's control interface
|
|
31
|
+
* to media transport functions. This is the anchoring class for CM4 data
|
|
32
|
+
* structures. Abstract class that shall be subclassed for each media transport
|
|
33
|
+
* Adaptation.
|
|
34
|
+
* @extends OcaNetworkApplication
|
|
35
|
+
* @class OcaMediaTransportApplication
|
|
36
|
+
*/
|
|
37
|
+
export declare class OcaMediaTransportApplication extends OcaNetworkApplication {
|
|
38
|
+
/**
|
|
39
|
+
* This event is emitted whenever Ports changes.
|
|
40
|
+
*/
|
|
41
|
+
OnPortsChanged: PropertyEvent<OcaPort[]>;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* This event is emitted whenever PortClockMap changes.
|
|
45
|
+
*/
|
|
46
|
+
OnPortClockMapChanged: PropertyEvent<Map<OcaPortID, OcaPortClockMapEntry>>;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* This event is emitted whenever MaxInputEndpoints changes.
|
|
50
|
+
*/
|
|
51
|
+
OnMaxInputEndpointsChanged: PropertyEvent<number>;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* This event is emitted whenever MaxOutputEndpoints changes.
|
|
55
|
+
*/
|
|
56
|
+
OnMaxOutputEndpointsChanged: PropertyEvent<number>;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* This event is emitted whenever MaxPortsPerChannel changes.
|
|
60
|
+
*/
|
|
61
|
+
OnMaxPortsPerChannelChanged: PropertyEvent<number>;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* This event is emitted whenever MaxChannelsPerEndpoint changes.
|
|
65
|
+
*/
|
|
66
|
+
OnMaxChannelsPerEndpointChanged: PropertyEvent<number>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* This event is emitted whenever MediaStreamModeCapabilities changes.
|
|
70
|
+
*/
|
|
71
|
+
OnMediaStreamModeCapabilitiesChanged: PropertyEvent<
|
|
72
|
+
OcaMediaStreamModeCapability[]
|
|
73
|
+
>;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* This event is emitted whenever TransportTimingParameters changes.
|
|
77
|
+
*/
|
|
78
|
+
OnTransportTimingParametersChanged: PropertyEvent<
|
|
79
|
+
OcaMediaTransportTimingParameters
|
|
80
|
+
>;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* This event is emitted whenever AlignmentLevelLimits changes.
|
|
84
|
+
*/
|
|
85
|
+
OnAlignmentLevelLimitsChanged: PropertyEvent<OcaInterval<number>>;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* This event is emitted whenever Endpoints changes.
|
|
89
|
+
*/
|
|
90
|
+
OnEndpointsChanged: PropertyEvent<OcaMediaStreamEndpoint[]>;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* This event is emitted whenever EndpointStatuses changes.
|
|
94
|
+
*/
|
|
95
|
+
OnEndpointStatusesChanged: PropertyEvent<
|
|
96
|
+
Map<number, OcaMediaStreamEndpointStatus>
|
|
97
|
+
>;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* This event is emitted whenever TransportSessionControlAgentONos changes.
|
|
101
|
+
*/
|
|
102
|
+
OnTransportSessionControlAgentONosChanged: PropertyEvent<number[]>;
|
|
103
|
+
|
|
104
|
+
constructor(objectNumber: number, device: RemoteDevice);
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Adds an input or output port..
|
|
108
|
+
*
|
|
109
|
+
* @method OcaMediaTransportApplication#AddPort
|
|
110
|
+
* @param {string} Name
|
|
111
|
+
* @param {IOcaIODirection} Mode
|
|
112
|
+
*
|
|
113
|
+
* @returns {Promise<OcaPortID>}
|
|
114
|
+
* A promise which resolves to a single value of type :class:`OcaPortID`.
|
|
115
|
+
*/
|
|
116
|
+
AddPort(Name: string, Mode: IOcaIODirection): Promise<OcaPortID>;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Deletes an input or output port..
|
|
120
|
+
*
|
|
121
|
+
* @method OcaMediaTransportApplication#DeletePort
|
|
122
|
+
* @param {IOcaPortID} ID
|
|
123
|
+
*
|
|
124
|
+
* @returns {Promise<void>}
|
|
125
|
+
*/
|
|
126
|
+
DeletePort(ID: IOcaPortID): Promise<void>;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Gets the list of ports owned by this object.
|
|
130
|
+
*
|
|
131
|
+
* @method OcaMediaTransportApplication#GetPorts
|
|
132
|
+
* @returns {Promise<OcaPort[]>}
|
|
133
|
+
* A promise which resolves to a single value of type :class:`OcaPort[]`.
|
|
134
|
+
*/
|
|
135
|
+
GetPorts(): Promise<OcaPort[]>;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Gets the name of the designated port.
|
|
139
|
+
*
|
|
140
|
+
* @method OcaMediaTransportApplication#GetPortName
|
|
141
|
+
* @param {IOcaPortID} PortID
|
|
142
|
+
*
|
|
143
|
+
* @returns {Promise<string>}
|
|
144
|
+
* A promise which resolves to a single value of type ``string``.
|
|
145
|
+
*/
|
|
146
|
+
GetPortName(PortID: IOcaPortID): Promise<string>;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Sets the name of the designated port.
|
|
150
|
+
*
|
|
151
|
+
* @method OcaMediaTransportApplication#SetPortName
|
|
152
|
+
* @param {IOcaPortID} PortID
|
|
153
|
+
* @param {string} Name
|
|
154
|
+
*
|
|
155
|
+
* @returns {Promise<void>}
|
|
156
|
+
*/
|
|
157
|
+
SetPortName(PortID: IOcaPortID, Name: string): Promise<void>;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Gets the value of the **PortClockMap** property.
|
|
161
|
+
*
|
|
162
|
+
* @method OcaMediaTransportApplication#GetPortClockMap
|
|
163
|
+
* @returns {Promise<Map<OcaPortID, OcaPortClockMapEntry>>}
|
|
164
|
+
* A promise which resolves to a single value of type ``Map<OcaPortID, OcaPortClockMapEntry>``.
|
|
165
|
+
*/
|
|
166
|
+
GetPortClockMap(): Promise<Map<OcaPortID, OcaPortClockMapEntry>>;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Sets the value of the **PortClockMap** property.
|
|
170
|
+
*
|
|
171
|
+
* @method OcaMediaTransportApplication#SetPortClockMap
|
|
172
|
+
* @param {Map<IOcaPortID, IOcaPortClockMapEntry>} Map
|
|
173
|
+
*
|
|
174
|
+
* @returns {Promise<void>}
|
|
175
|
+
*/
|
|
176
|
+
SetPortClockMap(Map: Map<IOcaPortID, IOcaPortClockMapEntry>): Promise<void>;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Adds or replaces an entry in the **PortClockMap** property.
|
|
180
|
+
*
|
|
181
|
+
* @method OcaMediaTransportApplication#SetPortClockMapEntry
|
|
182
|
+
* @param {IOcaPortID} ID
|
|
183
|
+
* @param {IOcaPortClockMapEntry} Entry
|
|
184
|
+
*
|
|
185
|
+
* @returns {Promise<void>}
|
|
186
|
+
*/
|
|
187
|
+
SetPortClockMapEntry(
|
|
188
|
+
ID: IOcaPortID,
|
|
189
|
+
Entry: IOcaPortClockMapEntry
|
|
190
|
+
): Promise<void>;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Deletes the **PortClockMap** entry identified by the given ID.
|
|
194
|
+
*
|
|
195
|
+
* @method OcaMediaTransportApplication#DeletePortClockMapEntry
|
|
196
|
+
* @param {IOcaPortID} ID
|
|
197
|
+
*
|
|
198
|
+
* @returns {Promise<void>}
|
|
199
|
+
*/
|
|
200
|
+
DeletePortClockMapEntry(ID: IOcaPortID): Promise<void>;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Retrieves the value of the **PortClockMap** entry identified by the given
|
|
204
|
+
* port ID.
|
|
205
|
+
*
|
|
206
|
+
* @method OcaMediaTransportApplication#GetPortClockMapEntry
|
|
207
|
+
* @param {IOcaPortID} ID
|
|
208
|
+
*
|
|
209
|
+
* @returns {Promise<OcaPortClockMapEntry>}
|
|
210
|
+
* A promise which resolves to a single value of type :class:`OcaPortClockMapEntry`.
|
|
211
|
+
*/
|
|
212
|
+
GetPortClockMapEntry(ID: IOcaPortID): Promise<OcaPortClockMapEntry>;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Gets the maximum number of input and output stream endpoints this media
|
|
216
|
+
* transport application supports.
|
|
217
|
+
* The return values of this method are
|
|
218
|
+
*
|
|
219
|
+
* - MaxOutputCount of type ``number``
|
|
220
|
+
* - MaxInputCount of type ``number``
|
|
221
|
+
*
|
|
222
|
+
* @method OcaMediaTransportApplication#GetMaxEndpointCounts
|
|
223
|
+
* @returns {Promise<Arguments<number,number>>}
|
|
224
|
+
*/
|
|
225
|
+
GetMaxEndpointCounts(): Promise<Arguments<[number, number]>>;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Gets the maximum number of ports per stream endpoint channel this media
|
|
229
|
+
* transport application supports.
|
|
230
|
+
*
|
|
231
|
+
* @method OcaMediaTransportApplication#GetMaxPortsPerChannel
|
|
232
|
+
* @returns {Promise<number>}
|
|
233
|
+
* A promise which resolves to a single value of type ``number``.
|
|
234
|
+
*/
|
|
235
|
+
GetMaxPortsPerChannel(): Promise<number>;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Gets the maximum number of channels per stream endpoint this media
|
|
239
|
+
* transport application supports.
|
|
240
|
+
*
|
|
241
|
+
* @method OcaMediaTransportApplication#GetMaxChannelsPerEndpoint
|
|
242
|
+
* @returns {Promise<number>}
|
|
243
|
+
* A promise which resolves to a single value of type ``number``.
|
|
244
|
+
*/
|
|
245
|
+
GetMaxChannelsPerEndpoint(): Promise<number>;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Sets the alignment level limits for stream endpoints attached to this media
|
|
249
|
+
* transport application.
|
|
250
|
+
*
|
|
251
|
+
* @method OcaMediaTransportApplication#SetAlignmentLevelLimits
|
|
252
|
+
* @param {IOcaInterval<number>} Limits
|
|
253
|
+
*
|
|
254
|
+
* @returns {Promise<void>}
|
|
255
|
+
*/
|
|
256
|
+
SetAlignmentLevelLimits(Limits: IOcaInterval<number>): Promise<void>;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Gets this media transport application's media stream mode capability
|
|
260
|
+
* descriptors.
|
|
261
|
+
*
|
|
262
|
+
* @method OcaMediaTransportApplication#GetMediaStreamModeCapabilities
|
|
263
|
+
* @returns {Promise<OcaMediaStreamModeCapability[]>}
|
|
264
|
+
* A promise which resolves to a single value of type :class:`OcaMediaStreamModeCapability[]`.
|
|
265
|
+
*/
|
|
266
|
+
GetMediaStreamModeCapabilities(): Promise<OcaMediaStreamModeCapability[]>;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Sets this media transport application's media stream mode capability
|
|
270
|
+
* descriptors. May only be called when there are no media stream endpoints
|
|
271
|
+
* defined. If this condition is not met, the call will return status value
|
|
272
|
+
* **InvalidRequest.**
|
|
273
|
+
*
|
|
274
|
+
* @method OcaMediaTransportApplication#SetMediaStreamModeCapabilities
|
|
275
|
+
* @param {IOcaMediaStreamModeCapability[]} Capabilities
|
|
276
|
+
*
|
|
277
|
+
* @returns {Promise<void>}
|
|
278
|
+
*/
|
|
279
|
+
SetMediaStreamModeCapabilities(
|
|
280
|
+
Capabilities: IOcaMediaStreamModeCapability[]
|
|
281
|
+
): Promise<void>;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Gets a specific media stream mode capability descriptor.
|
|
285
|
+
*
|
|
286
|
+
* @method OcaMediaTransportApplication#GetMediaStreamModeCapability
|
|
287
|
+
* @param {number} CapabilityID
|
|
288
|
+
*
|
|
289
|
+
* @returns {Promise<OcaMediaStreamModeCapability>}
|
|
290
|
+
* A promise which resolves to a single value of type :class:`OcaMediaStreamModeCapability`.
|
|
291
|
+
*/
|
|
292
|
+
GetMediaStreamModeCapability(
|
|
293
|
+
CapabilityID: number
|
|
294
|
+
): Promise<OcaMediaStreamModeCapability>;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Gets this media transport application's media transport timing parameters.
|
|
298
|
+
*
|
|
299
|
+
* @method OcaMediaTransportApplication#GetTransportTimingParameters
|
|
300
|
+
* @returns {Promise<OcaMediaTransportTimingParameters>}
|
|
301
|
+
* A promise which resolves to a single value of type :class:`OcaMediaTransportTimingParameters`.
|
|
302
|
+
*/
|
|
303
|
+
GetTransportTimingParameters(): Promise<OcaMediaTransportTimingParameters>;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Sets this media transport application's media transport timing parameters.
|
|
307
|
+
* Optional method.
|
|
308
|
+
*
|
|
309
|
+
* @method OcaMediaTransportApplication#SetTransportTimingParameters
|
|
310
|
+
* @param {IOcaMediaTransportTimingParameters} Parameters
|
|
311
|
+
*
|
|
312
|
+
* @returns {Promise<void>}
|
|
313
|
+
*/
|
|
314
|
+
SetTransportTimingParameters(
|
|
315
|
+
Parameters: IOcaMediaTransportTimingParameters
|
|
316
|
+
): Promise<void>;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Gets the min and max alignment levels for stream endpoints attached to this
|
|
320
|
+
* media transport application.
|
|
321
|
+
*
|
|
322
|
+
* @method OcaMediaTransportApplication#GetAlignmentLevelLimits
|
|
323
|
+
* @returns {Promise<OcaInterval<number>>}
|
|
324
|
+
* A promise which resolves to a single value of type :class:`OcaInterval<number>`.
|
|
325
|
+
*/
|
|
326
|
+
GetAlignmentLevelLimits(): Promise<OcaInterval<number>>;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Gets the descriptors of all the stream endpoints owned by this media
|
|
330
|
+
* transport application object.
|
|
331
|
+
*
|
|
332
|
+
* @method OcaMediaTransportApplication#GetEndpoints
|
|
333
|
+
* @returns {Promise<OcaMediaStreamEndpoint[]>}
|
|
334
|
+
* A promise which resolves to a single value of type :class:`OcaMediaStreamEndpoint[]`.
|
|
335
|
+
*/
|
|
336
|
+
GetEndpoints(): Promise<OcaMediaStreamEndpoint[]>;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Retrieves the descriptor of a given stream endpoint.
|
|
340
|
+
*
|
|
341
|
+
* @method OcaMediaTransportApplication#GetEndpoint
|
|
342
|
+
* @param {number} ID
|
|
343
|
+
*
|
|
344
|
+
* @returns {Promise<OcaMediaStreamEndpoint>}
|
|
345
|
+
* A promise which resolves to a single value of type :class:`OcaMediaStreamEndpoint`.
|
|
346
|
+
*/
|
|
347
|
+
GetEndpoint(ID: number): Promise<OcaMediaStreamEndpoint>;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Gets the status of all the stream endpoints collected by this media
|
|
351
|
+
* transport application. Key of returned map is endpoint ID.
|
|
352
|
+
*
|
|
353
|
+
* @method OcaMediaTransportApplication#GetEndpointStatuses
|
|
354
|
+
* @returns {Promise<Map<number, OcaMediaStreamEndpointStatus>>}
|
|
355
|
+
* A promise which resolves to a single value of type ``Map<number, OcaMediaStreamEndpointStatus>``.
|
|
356
|
+
*/
|
|
357
|
+
GetEndpointStatuses(): Promise<Map<number, OcaMediaStreamEndpointStatus>>;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Gets the status of a single stream endpoint.
|
|
361
|
+
*
|
|
362
|
+
* @method OcaMediaTransportApplication#GetEndpointStatus
|
|
363
|
+
* @param {number} ID
|
|
364
|
+
*
|
|
365
|
+
* @returns {Promise<OcaMediaStreamEndpointStatus>}
|
|
366
|
+
* A promise which resolves to a single value of type :class:`OcaMediaStreamEndpointStatus`.
|
|
367
|
+
*/
|
|
368
|
+
GetEndpointStatus(ID: number): Promise<OcaMediaStreamEndpointStatus>;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Adds an Endpoint to this media transport application object. Parameters of
|
|
372
|
+
* the new Endpoint shall be given in the **Endpoint** parameter; Device shall
|
|
373
|
+
* return the same parameter with the new Endpoint ID filled in. The new
|
|
374
|
+
* Endpoint's **AlignmentLevel** value shall be within the bounds set by the
|
|
375
|
+
* property **AlignmentLevelLimits**.
|
|
376
|
+
*
|
|
377
|
+
* @method OcaMediaTransportApplication#AddEndpoint
|
|
378
|
+
* @param {IOcaMediaStreamEndpointState} InitialStatus
|
|
379
|
+
*
|
|
380
|
+
* @returns {Promise<void>}
|
|
381
|
+
*/
|
|
382
|
+
AddEndpoint(InitialStatus: IOcaMediaStreamEndpointState): Promise<void>;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Deletes a stream endpoint from this media transport application object.
|
|
386
|
+
*
|
|
387
|
+
* @method OcaMediaTransportApplication#DeleteEndpoint
|
|
388
|
+
* @param {number} ID
|
|
389
|
+
*
|
|
390
|
+
* @returns {Promise<void>}
|
|
391
|
+
*/
|
|
392
|
+
DeleteEndpoint(ID: number): Promise<void>;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Changes the state of a given Endpoint.
|
|
396
|
+
*
|
|
397
|
+
* @method OcaMediaTransportApplication#ApplyEndpointCommand
|
|
398
|
+
* @param {number} EndpointID
|
|
399
|
+
* @param {IOcaMediaStreamEndpointCommand} Command
|
|
400
|
+
*
|
|
401
|
+
* @returns {Promise<void>}
|
|
402
|
+
*/
|
|
403
|
+
ApplyEndpointCommand(
|
|
404
|
+
EndpointID: number,
|
|
405
|
+
Command: IOcaMediaStreamEndpointCommand
|
|
406
|
+
): Promise<void>;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Sets the **UserLabel** field of the of the referenced Endpoint.
|
|
410
|
+
*
|
|
411
|
+
* @method OcaMediaTransportApplication#SetEndpointUserLabel
|
|
412
|
+
* @param {number} EndpointID
|
|
413
|
+
* @param {string} Label
|
|
414
|
+
*
|
|
415
|
+
* @returns {Promise<void>}
|
|
416
|
+
*/
|
|
417
|
+
SetEndpointUserLabel(EndpointID: number, Label: string): Promise<void>;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Sets the **CurrentStreamMode** field of the of the designated stream
|
|
421
|
+
* endpoint.
|
|
422
|
+
*
|
|
423
|
+
* @method OcaMediaTransportApplication#SetEndpointMediaStreamMode
|
|
424
|
+
* @param {number} EndpointID
|
|
425
|
+
* @param {IOcaMediaStreamMode} StreamMode
|
|
426
|
+
*
|
|
427
|
+
* @returns {Promise<void>}
|
|
428
|
+
*/
|
|
429
|
+
SetEndpointMediaStreamMode(
|
|
430
|
+
EndpointID: number,
|
|
431
|
+
StreamMode: IOcaMediaStreamMode
|
|
432
|
+
): Promise<void>;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Sets an Endpoint's ChannelMap field. Mapping rules:
|
|
436
|
+
*
|
|
437
|
+
* - Input Endpoint maps shall specify only OCA Output Ports.
|
|
438
|
+
*
|
|
439
|
+
* - Output Endpoint maps shall specify only OCA Input Ports.
|
|
440
|
+
*
|
|
441
|
+
* - Input Endpoint maps may specify any number of OCA Output Ports per
|
|
442
|
+
* stream channel.
|
|
443
|
+
*
|
|
444
|
+
* - Output Endpoint maps may specify at most one OCA Input Port per stream
|
|
445
|
+
* channel.
|
|
446
|
+
*
|
|
447
|
+
*
|
|
448
|
+
*
|
|
449
|
+
* @method OcaMediaTransportApplication#SetEndpointChannelMap
|
|
450
|
+
* @param {number} EndpointID
|
|
451
|
+
* @param {Map<number, IOcaPortID[]>} ChannelMap
|
|
452
|
+
*
|
|
453
|
+
* @returns {Promise<void>}
|
|
454
|
+
*/
|
|
455
|
+
SetEndpointChannelMap(
|
|
456
|
+
EndpointID: number,
|
|
457
|
+
ChannelMap: Map<number, IOcaPortID[]>
|
|
458
|
+
): Promise<void>;
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Sets **OcaEndpoint.AlignmentLevel** for the identified endpoint.
|
|
462
|
+
*
|
|
463
|
+
* @method OcaMediaTransportApplication#SetEndpointAlignmentLevel
|
|
464
|
+
* @param {number} EndpointID
|
|
465
|
+
* @param {number} Level
|
|
466
|
+
*
|
|
467
|
+
* @returns {Promise<void>}
|
|
468
|
+
*/
|
|
469
|
+
SetEndpointAlignmentLevel(EndpointID: number, Level: number): Promise<void>;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Gets type and ID of this Endpoint's time source.
|
|
473
|
+
* The return values of this method are
|
|
474
|
+
*
|
|
475
|
+
* - ReferenceType of type ``IOcaTimeReferenceType``
|
|
476
|
+
* - ReferenceID of type ``string``
|
|
477
|
+
*
|
|
478
|
+
* @method OcaMediaTransportApplication#GetEndpointTimeSource
|
|
479
|
+
* @param {number} ID
|
|
480
|
+
*
|
|
481
|
+
* @returns {Promise<Arguments<OcaTimeReferenceType,string>>}
|
|
482
|
+
*/
|
|
483
|
+
GetEndpointTimeSource(
|
|
484
|
+
ID: number
|
|
485
|
+
): Promise<Arguments<[OcaTimeReferenceType, string]>>;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Sets the AdaptationData field of the given Endpoint.
|
|
489
|
+
*
|
|
490
|
+
* @method OcaMediaTransportApplication#SetEndpointAdaptationData
|
|
491
|
+
* @param {number} EndpointID
|
|
492
|
+
* @param {Uint8Array} Data
|
|
493
|
+
*
|
|
494
|
+
* @returns {Promise<void>}
|
|
495
|
+
*/
|
|
496
|
+
SetEndpointAdaptationData(
|
|
497
|
+
EndpointID: number,
|
|
498
|
+
Data: Uint8Array
|
|
499
|
+
): Promise<void>;
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* Retrieves map of counter sets of all Endpoints.
|
|
503
|
+
*
|
|
504
|
+
* @method OcaMediaTransportApplication#GetEndpointCounterSets
|
|
505
|
+
* @returns {Promise<Map<number, OcaCounterSet>>}
|
|
506
|
+
* A promise which resolves to a single value of type ``Map<number, OcaCounterSet>``.
|
|
507
|
+
*/
|
|
508
|
+
GetEndpointCounterSets(): Promise<Map<number, OcaCounterSet>>;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Gets the Counterset of a designated Endpoint.
|
|
512
|
+
*
|
|
513
|
+
* @method OcaMediaTransportApplication#GetEndpointCounterSet
|
|
514
|
+
* @param {number} EndpointID
|
|
515
|
+
*
|
|
516
|
+
* @returns {Promise<OcaCounterSet>}
|
|
517
|
+
* A promise which resolves to a single value of type :class:`OcaCounterSet`.
|
|
518
|
+
*/
|
|
519
|
+
GetEndpointCounterSet(EndpointID: number): Promise<OcaCounterSet>;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Retrieves a Counter of a designated Endpoint
|
|
523
|
+
*
|
|
524
|
+
* @method OcaMediaTransportApplication#GetEndpointCounter
|
|
525
|
+
* @param {number} EndpointID
|
|
526
|
+
* @param {number} CounterID
|
|
527
|
+
*
|
|
528
|
+
* @returns {Promise<OcaCounter>}
|
|
529
|
+
* A promise which resolves to a single value of type :class:`OcaCounter`.
|
|
530
|
+
*/
|
|
531
|
+
GetEndpointCounter(
|
|
532
|
+
EndpointID: number,
|
|
533
|
+
CounterID: number
|
|
534
|
+
): Promise<OcaCounter>;
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Adds a Notifier to the designated Counter.
|
|
538
|
+
*
|
|
539
|
+
* @method OcaMediaTransportApplication#AttachEndpointCounterNotifier
|
|
540
|
+
* @param {number} EndpointID
|
|
541
|
+
* @param {number} CounterID
|
|
542
|
+
* @param {number} NotifierONo
|
|
543
|
+
*
|
|
544
|
+
* @returns {Promise<void>}
|
|
545
|
+
*/
|
|
546
|
+
AttachEndpointCounterNotifier(
|
|
547
|
+
EndpointID: number,
|
|
548
|
+
CounterID: number,
|
|
549
|
+
NotifierONo: number
|
|
550
|
+
): Promise<void>;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Removes a Notifier from the designated Counter.
|
|
554
|
+
*
|
|
555
|
+
* @method OcaMediaTransportApplication#DetachEndpointCounterNotifier
|
|
556
|
+
* @param {number} EndpointID
|
|
557
|
+
* @param {number} CounterID
|
|
558
|
+
* @param {number} NotifierONo
|
|
559
|
+
*
|
|
560
|
+
* @returns {Promise<void>}
|
|
561
|
+
*/
|
|
562
|
+
DetachEndpointCounterNotifier(
|
|
563
|
+
EndpointID: number,
|
|
564
|
+
CounterID: number,
|
|
565
|
+
NotifierONo: number
|
|
566
|
+
): Promise<void>;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Resets Counter(s) of one or all of this media transport application
|
|
570
|
+
* object's Endpoints.
|
|
571
|
+
*
|
|
572
|
+
* - If given Counter ID is zero, resets entire Counterset; otherwise, resets
|
|
573
|
+
* designated Counter only.
|
|
574
|
+
*
|
|
575
|
+
* - If given Endpoint ID is zero, resets the designated Counter(s) in all
|
|
576
|
+
* this media transport application object's Endpoints; otherwise, resets
|
|
577
|
+
* the designated Counter(s) in the designated Endpoint only.
|
|
578
|
+
*
|
|
579
|
+
*
|
|
580
|
+
* Resetting a Counter causes its value to be set to its initial value, as
|
|
581
|
+
* defined in its **OcaCounter** instance.
|
|
582
|
+
*
|
|
583
|
+
* @method OcaMediaTransportApplication#ResetEndpointCounterSet
|
|
584
|
+
* @param {number} EndpointID
|
|
585
|
+
* @param {number} CounterID
|
|
586
|
+
*
|
|
587
|
+
* @returns {Promise<void>}
|
|
588
|
+
*/
|
|
589
|
+
ResetEndpointCounterSet(EndpointID: number, CounterID: number): Promise<void>;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Gets list of ONos of Media Transport Session Agents associated with this
|
|
593
|
+
* media transport application object, or empty list if there aren't any.
|
|
594
|
+
*
|
|
595
|
+
* @method OcaMediaTransportApplication#GetTransportSessionControlAgentONos
|
|
596
|
+
* @returns {Promise<number[]>}
|
|
597
|
+
* A promise which resolves to a single value of type ``number[]``.
|
|
598
|
+
*/
|
|
599
|
+
GetTransportSessionControlAgentONos(): Promise<number[]>;
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Sets list of ONos of Media Transport Session Agents associated with this
|
|
603
|
+
* media transport application object. Optional method, mainly useful for
|
|
604
|
+
* dynamic devices.
|
|
605
|
+
*
|
|
606
|
+
* @method OcaMediaTransportApplication#SetTransportSessionControlAgentONos
|
|
607
|
+
* @param {number[]} ONos
|
|
608
|
+
*
|
|
609
|
+
* @returns {Promise<void>}
|
|
610
|
+
*/
|
|
611
|
+
SetTransportSessionControlAgentONos(ONos: number[]): Promise<void>;
|
|
612
|
+
}
|