aes70 1.6.1 → 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 +24520 -1
- 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/controller/tcp_connection.d.ts +8 -6
- 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
|
@@ -6,10 +6,7 @@ import {
|
|
|
6
6
|
IOcaMediaConnectorStatus,
|
|
7
7
|
OcaMediaConnectorStatus,
|
|
8
8
|
} from '../../types/OcaMediaConnectorStatus';
|
|
9
|
-
import {
|
|
10
|
-
IOcaMediaSinkConnector,
|
|
11
|
-
OcaMediaSinkConnector,
|
|
12
|
-
} from '../../types/OcaMediaSinkConnector';
|
|
9
|
+
import { OcaMediaSinkConnector } from '../../types/OcaMediaSinkConnector';
|
|
13
10
|
import {
|
|
14
11
|
IOcaMediaSourceConnector,
|
|
15
12
|
OcaMediaSourceConnector,
|
|
@@ -29,11 +26,10 @@ import { OcaApplicationNetwork } from './OcaApplicationNetwork';
|
|
|
29
26
|
*/
|
|
30
27
|
export declare class OcaMediaTransportNetwork extends OcaApplicationNetwork {
|
|
31
28
|
/**
|
|
32
|
-
* Event indicating that a
|
|
33
|
-
*
|
|
34
|
-
* @member OcaMediaTransportNetwork#OnSourceConnectorChanged {Event}
|
|
29
|
+
* Event indicating that the status of a source or sink connector has changed.
|
|
30
|
+
* @member OcaMediaTransportNetwork#OnConnectorStatusChanged {Event}
|
|
35
31
|
*/
|
|
36
|
-
|
|
32
|
+
OnConnectorStatusChanged: Event;
|
|
37
33
|
|
|
38
34
|
/**
|
|
39
35
|
* Event indicating that a media sink connector has changed. The change type
|
|
@@ -43,19 +39,16 @@ export declare class OcaMediaTransportNetwork extends OcaApplicationNetwork {
|
|
|
43
39
|
OnSinkConnectorChanged: Event;
|
|
44
40
|
|
|
45
41
|
/**
|
|
46
|
-
* Event indicating that
|
|
47
|
-
*
|
|
42
|
+
* Event indicating that a media source connector has changed. The change type
|
|
43
|
+
* indicates if the connector was added, deleted or changed.
|
|
44
|
+
* @member OcaMediaTransportNetwork#OnSourceConnectorChanged {Event}
|
|
48
45
|
*/
|
|
49
|
-
|
|
46
|
+
OnSourceConnectorChanged: Event;
|
|
50
47
|
/**
|
|
51
48
|
* This event is emitted whenever Protocol changes.
|
|
52
49
|
*/
|
|
53
50
|
OnProtocolChanged: PropertyEvent<OcaNetworkMediaProtocol>;
|
|
54
51
|
|
|
55
|
-
/**
|
|
56
|
-
* An alias for OnProtocolChanged
|
|
57
|
-
*/
|
|
58
|
-
OnMediaProtocolChanged: PropertyEvent<OcaNetworkMediaProtocol>;
|
|
59
52
|
/**
|
|
60
53
|
* This event is emitted whenever Ports changes.
|
|
61
54
|
*/
|
|
@@ -256,13 +249,12 @@ export declare class OcaMediaTransportNetwork extends OcaApplicationNetwork {
|
|
|
256
249
|
* @param {IOcaMediaSourceConnector} Connector
|
|
257
250
|
* @param {IOcaMediaConnectorState} InitialStatus
|
|
258
251
|
*
|
|
259
|
-
* @returns {Promise<
|
|
260
|
-
* A promise which resolves to a single value of type :class:`OcaMediaSourceConnector`.
|
|
252
|
+
* @returns {Promise<void>}
|
|
261
253
|
*/
|
|
262
254
|
AddSourceConnector(
|
|
263
255
|
Connector: IOcaMediaSourceConnector,
|
|
264
256
|
InitialStatus: IOcaMediaConnectorState
|
|
265
|
-
): Promise<
|
|
257
|
+
): Promise<void>;
|
|
266
258
|
|
|
267
259
|
/**
|
|
268
260
|
* Adds a sinkconnector to this network. Parameters of the new connector are
|
|
@@ -275,15 +267,10 @@ export declare class OcaMediaTransportNetwork extends OcaApplicationNetwork {
|
|
|
275
267
|
*
|
|
276
268
|
* @method OcaMediaTransportNetwork#AddSinkConnector
|
|
277
269
|
* @param {IOcaMediaConnectorStatus} InitialStatus
|
|
278
|
-
* @param {IOcaMediaSinkConnector} Connector
|
|
279
270
|
*
|
|
280
|
-
* @returns {Promise<
|
|
281
|
-
* A promise which resolves to a single value of type :class:`OcaMediaSinkConnector`.
|
|
271
|
+
* @returns {Promise<void>}
|
|
282
272
|
*/
|
|
283
|
-
AddSinkConnector(
|
|
284
|
-
InitialStatus: IOcaMediaConnectorStatus,
|
|
285
|
-
Connector: IOcaMediaSinkConnector
|
|
286
|
-
): Promise<OcaMediaSinkConnector>;
|
|
273
|
+
AddSinkConnector(InitialStatus: IOcaMediaConnectorStatus): Promise<void>;
|
|
287
274
|
|
|
288
275
|
/**
|
|
289
276
|
* Change the state of a given connector. Return status indicates the success
|
|
@@ -6,7 +6,6 @@ import { OcaMediaConnection } from '../../OCP1/OcaMediaConnection.js';
|
|
|
6
6
|
import { OcaMediaConnectorCommand } from '../../OCP1/OcaMediaConnectorCommand.js';
|
|
7
7
|
import { OcaMediaConnectorState } from '../../OCP1/OcaMediaConnectorState.js';
|
|
8
8
|
import { OcaMediaConnectorStatus } from '../../OCP1/OcaMediaConnectorStatus.js';
|
|
9
|
-
import { OcaMediaConnectorStatusChangedEventData } from '../../OCP1/OcaMediaConnectorStatusChangedEventData.js';
|
|
10
9
|
import { OcaMediaSinkConnector } from '../../OCP1/OcaMediaSinkConnector.js';
|
|
11
10
|
import { OcaMediaSinkConnectorChangedEventData } from '../../OCP1/OcaMediaSinkConnectorChangedEventData.js';
|
|
12
11
|
import { OcaMediaSourceConnector } from '../../OCP1/OcaMediaSourceConnector.js';
|
|
@@ -50,15 +49,9 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
50
49
|
3,
|
|
51
50
|
15,
|
|
52
51
|
[OcaMediaSourceConnector, OcaMediaConnectorState],
|
|
53
|
-
[
|
|
54
|
-
],
|
|
55
|
-
[
|
|
56
|
-
'AddSinkConnector',
|
|
57
|
-
3,
|
|
58
|
-
16,
|
|
59
|
-
[OcaMediaConnectorStatus, OcaMediaSinkConnector],
|
|
60
|
-
[OcaMediaSinkConnector],
|
|
52
|
+
[],
|
|
61
53
|
],
|
|
54
|
+
['AddSinkConnector', 3, 16, [OcaMediaConnectorStatus], []],
|
|
62
55
|
['ControlConnector', 3, 17, [OcaUint16, OcaMediaConnectorCommand], []],
|
|
63
56
|
[
|
|
64
57
|
'SetSourceConnectorPinMap',
|
|
@@ -83,15 +76,7 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
83
76
|
['GetAlignmentGain', 3, 26, [], [OcaFloat32, OcaFloat32, OcaFloat32]],
|
|
84
77
|
],
|
|
85
78
|
[
|
|
86
|
-
[
|
|
87
|
-
'Protocol',
|
|
88
|
-
[OcaNetworkMediaProtocol],
|
|
89
|
-
3,
|
|
90
|
-
1,
|
|
91
|
-
false,
|
|
92
|
-
false,
|
|
93
|
-
['MediaProtocol'],
|
|
94
|
-
],
|
|
79
|
+
['Protocol', [OcaNetworkMediaProtocol], 3, 1, false, false, null],
|
|
95
80
|
['Ports', [OcaList(OcaPort)], 3, 2, false, false, null],
|
|
96
81
|
['MaxSourceConnectors', [OcaUint16], 3, 3, false, false, null],
|
|
97
82
|
['MaxSinkConnectors', [OcaUint16], 3, 4, false, false, null],
|
|
@@ -101,9 +86,9 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
101
86
|
['AlignmentGain', [OcaFloat32], 3, 8, false, false, null],
|
|
102
87
|
],
|
|
103
88
|
[
|
|
104
|
-
['
|
|
89
|
+
['ConnectorStatusChanged', 3, 3, [OcaMediaConnectorStatus]],
|
|
105
90
|
['SinkConnectorChanged', 3, 2, [OcaMediaSinkConnectorChangedEventData]],
|
|
106
|
-
['
|
|
91
|
+
['SourceConnectorChanged', 3, 1, [OcaMediaSourceConnectorChangedEventData]],
|
|
107
92
|
]
|
|
108
93
|
);
|
|
109
94
|
|
|
@@ -241,8 +226,7 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
241
226
|
* @param {IOcaMediaSourceConnector} Connector
|
|
242
227
|
* @param {IOcaMediaConnectorState} InitialStatus
|
|
243
228
|
*
|
|
244
|
-
* @returns {Promise<
|
|
245
|
-
* A promise which resolves to a single value of type :class:`OcaMediaSourceConnector`.
|
|
229
|
+
* @returns {Promise<void>}
|
|
246
230
|
*/
|
|
247
231
|
/**
|
|
248
232
|
* Adds a sinkconnector to this network. Parameters of the new connector are
|
|
@@ -255,10 +239,8 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
255
239
|
*
|
|
256
240
|
* @method OcaMediaTransportNetwork#AddSinkConnector
|
|
257
241
|
* @param {IOcaMediaConnectorStatus} InitialStatus
|
|
258
|
-
* @param {IOcaMediaSinkConnector} Connector
|
|
259
242
|
*
|
|
260
|
-
* @returns {Promise<
|
|
261
|
-
* A promise which resolves to a single value of type :class:`OcaMediaSinkConnector`.
|
|
243
|
+
* @returns {Promise<void>}
|
|
262
244
|
*/
|
|
263
245
|
/**
|
|
264
246
|
* Change the state of a given connector. Return status indicates the success of
|
|
@@ -370,9 +352,8 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
370
352
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
371
353
|
*/
|
|
372
354
|
/**
|
|
373
|
-
* Event indicating that a
|
|
374
|
-
*
|
|
375
|
-
* @member OcaMediaTransportNetwork#OnSourceConnectorChanged {Event}
|
|
355
|
+
* Event indicating that the status of a source or sink connector has changed.
|
|
356
|
+
* @member OcaMediaTransportNetwork#OnConnectorStatusChanged {Event}
|
|
376
357
|
*/
|
|
377
358
|
/**
|
|
378
359
|
* Event indicating that a media sink connector has changed. The change type
|
|
@@ -380,8 +361,9 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
380
361
|
* @member OcaMediaTransportNetwork#OnSinkConnectorChanged {Event}
|
|
381
362
|
*/
|
|
382
363
|
/**
|
|
383
|
-
* Event indicating that
|
|
384
|
-
*
|
|
364
|
+
* Event indicating that a media source connector has changed. The change type
|
|
365
|
+
* indicates if the connector was added, deleted or changed.
|
|
366
|
+
* @member OcaMediaTransportNetwork#OnSourceConnectorChanged {Event}
|
|
385
367
|
*/
|
|
386
368
|
/**
|
|
387
369
|
* This event is emitted when the property ``Protocol`` changes in the remote object.
|
|
@@ -390,11 +372,6 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
390
372
|
*
|
|
391
373
|
* @member {PropertyEvent<OcaNetworkMediaProtocol>} OcaMediaTransportNetwork#OnProtocolChanged
|
|
392
374
|
*/
|
|
393
|
-
/**
|
|
394
|
-
* An alias for OnProtocolChanged
|
|
395
|
-
*
|
|
396
|
-
* @member {PropertyEvent<OcaNetworkMediaProtocol>} OcaMediaTransportNetwork#OnMediaProtocolChanged
|
|
397
|
-
*/
|
|
398
375
|
/**
|
|
399
376
|
* This event is emitted when the property ``Ports`` changes in the remote object.
|
|
400
377
|
* The property ``Ports`` is described in the AES70 standard as follows.
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { OcaMediaTransportSession } from '../../types/OcaMediaTransportSession';
|
|
2
|
+
import { OcaMediaTransportSessionStatus } from '../../types/OcaMediaTransportSessionStatus';
|
|
3
|
+
import { PropertyEvent } from '../property_event';
|
|
4
|
+
import { RemoteDevice } from '../remote_device';
|
|
5
|
+
import { OcaAgent } from './OcaAgent';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Agent to set up, monitor, control, and take down media transport sessions.
|
|
9
|
+
* This shall be the base class for the AES70-CM4 connection management feature.
|
|
10
|
+
* See [AES70-1(Connection Management)]. This is an optional class. Session
|
|
11
|
+
* management functionality is not a mandatory for CM4 implementations.
|
|
12
|
+
* @extends OcaAgent
|
|
13
|
+
* @class OcaMediaTransportSessionAgent
|
|
14
|
+
*/
|
|
15
|
+
export declare class OcaMediaTransportSessionAgent extends OcaAgent {
|
|
16
|
+
/**
|
|
17
|
+
* This event is emitted whenever Sessions changes.
|
|
18
|
+
*/
|
|
19
|
+
OnSessionsChanged: PropertyEvent<OcaMediaTransportSession[]>;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* This event is emitted whenever SessionStatuses changes.
|
|
23
|
+
*/
|
|
24
|
+
OnSessionStatusesChanged: PropertyEvent<
|
|
25
|
+
Map<number, OcaMediaTransportSessionStatus>
|
|
26
|
+
>;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* This event is emitted whenever AdaptationData changes.
|
|
30
|
+
*/
|
|
31
|
+
OnAdaptationDataChanged: PropertyEvent<Uint8Array>;
|
|
32
|
+
|
|
33
|
+
constructor(objectNumber: number, device: RemoteDevice);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Gets type of session supported by this session agent.
|
|
37
|
+
*
|
|
38
|
+
* @method OcaMediaTransportSessionAgent#GetSessionType
|
|
39
|
+
* @returns {Promise<string>}
|
|
40
|
+
* A promise which resolves to a single value of type ``string``.
|
|
41
|
+
*/
|
|
42
|
+
GetSessionType(): Promise<string>;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Gets the list of transport sessions held by this Agent.
|
|
46
|
+
*
|
|
47
|
+
* @method OcaMediaTransportSessionAgent#GetSessions
|
|
48
|
+
* @returns {Promise<OcaMediaTransportSession[]>}
|
|
49
|
+
* A promise which resolves to a single value of type :class:`OcaMediaTransportSession[]`.
|
|
50
|
+
*/
|
|
51
|
+
GetSessions(): Promise<OcaMediaTransportSession[]>;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Gets the designated session.
|
|
55
|
+
*
|
|
56
|
+
* @method OcaMediaTransportSessionAgent#GetSession
|
|
57
|
+
* @param {number} ID
|
|
58
|
+
*
|
|
59
|
+
* @returns {Promise<OcaMediaTransportSession>}
|
|
60
|
+
* A promise which resolves to a single value of type :class:`OcaMediaTransportSession`.
|
|
61
|
+
*/
|
|
62
|
+
GetSession(ID: number): Promise<OcaMediaTransportSession>;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Adds a new session. Returns given **OcaMediaTransportSession** parameter
|
|
66
|
+
* with session ID filled in.
|
|
67
|
+
*
|
|
68
|
+
* @method OcaMediaTransportSessionAgent#AddSession
|
|
69
|
+
* @returns {Promise<void>}
|
|
70
|
+
*/
|
|
71
|
+
AddSession(): Promise<void>;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Configures a session.
|
|
75
|
+
*
|
|
76
|
+
* @method OcaMediaTransportSessionAgent#ConfigureSession
|
|
77
|
+
* @param {number} IDinternal
|
|
78
|
+
* @param {Uint8Array} IDexternal
|
|
79
|
+
* @param {string} UserLabel
|
|
80
|
+
* @param {Uint8Array} AdaptationData
|
|
81
|
+
*
|
|
82
|
+
* @returns {Promise<void>}
|
|
83
|
+
*/
|
|
84
|
+
ConfigureSession(
|
|
85
|
+
IDinternal: number,
|
|
86
|
+
IDexternal: Uint8Array,
|
|
87
|
+
UserLabel: string,
|
|
88
|
+
AdaptationData: Uint8Array
|
|
89
|
+
): Promise<void>;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Deletes the designated session. Closes all connections the session
|
|
93
|
+
* contains.
|
|
94
|
+
*
|
|
95
|
+
* @method OcaMediaTransportSessionAgent#DeleteSession
|
|
96
|
+
* @param {number} ID
|
|
97
|
+
*
|
|
98
|
+
* @returns {Promise<void>}
|
|
99
|
+
*/
|
|
100
|
+
DeleteSession(ID: number): Promise<void>;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Resets the designated session. Returns the session to the state it has
|
|
104
|
+
* following a device reset.
|
|
105
|
+
*
|
|
106
|
+
* @method OcaMediaTransportSessionAgent#ResetSession
|
|
107
|
+
* @param {number} ID
|
|
108
|
+
*
|
|
109
|
+
* @returns {Promise<void>}
|
|
110
|
+
*/
|
|
111
|
+
ResetSession(ID: number): Promise<void>;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Sets the streaming enabled switch.
|
|
115
|
+
*
|
|
116
|
+
* @method OcaMediaTransportSessionAgent#SetStreamingEnabled
|
|
117
|
+
* @param {number} ID
|
|
118
|
+
* @param {boolean} Active
|
|
119
|
+
*
|
|
120
|
+
* @returns {Promise<void>}
|
|
121
|
+
*/
|
|
122
|
+
SetStreamingEnabled(ID: number, Active: boolean): Promise<void>;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* if **StreamingEnabled** is TRUE, changes state from
|
|
126
|
+
* **ConnectedNotStreaming** to **ConnectedStreaming**.
|
|
127
|
+
*
|
|
128
|
+
* @method OcaMediaTransportSessionAgent#StartStreaming
|
|
129
|
+
* @param {number} ID
|
|
130
|
+
*
|
|
131
|
+
* @returns {Promise<void>}
|
|
132
|
+
*/
|
|
133
|
+
StartStreaming(ID: number): Promise<void>;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* if state is **ConnectedStreaming**, changes state to
|
|
137
|
+
* **ConnectedNotStreaming**.
|
|
138
|
+
*
|
|
139
|
+
* @method OcaMediaTransportSessionAgent#StopStreaming
|
|
140
|
+
* @param {number} ID
|
|
141
|
+
*
|
|
142
|
+
* @returns {Promise<void>}
|
|
143
|
+
*/
|
|
144
|
+
StopStreaming(ID: number): Promise<void>;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Gets the map of statuses of transport sessions held by this Agent.
|
|
148
|
+
*
|
|
149
|
+
* @method OcaMediaTransportSessionAgent#GetSessionStatuses
|
|
150
|
+
* @returns {Promise<Map<number, OcaMediaTransportSessionStatus>>}
|
|
151
|
+
* A promise which resolves to a single value of type ``Map<number, OcaMediaTransportSessionStatus>``.
|
|
152
|
+
*/
|
|
153
|
+
GetSessionStatuses(): Promise<Map<number, OcaMediaTransportSessionStatus>>;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Gets status of the designated transport session.
|
|
157
|
+
*
|
|
158
|
+
* @method OcaMediaTransportSessionAgent#GetSessionStatus
|
|
159
|
+
* @param {number} ID
|
|
160
|
+
*
|
|
161
|
+
* @returns {Promise<OcaMediaTransportSessionStatus>}
|
|
162
|
+
* A promise which resolves to a single value of type :class:`OcaMediaTransportSessionStatus`.
|
|
163
|
+
*/
|
|
164
|
+
GetSessionStatus(ID: number): Promise<OcaMediaTransportSessionStatus>;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Adds a new connection to an existing transport session. Returns given
|
|
168
|
+
* **OcaMediaTransportSessionConnection** parameter with connection ID filled
|
|
169
|
+
* in.
|
|
170
|
+
*
|
|
171
|
+
* @method OcaMediaTransportSessionAgent#AddConnection
|
|
172
|
+
* @param {number} SessionID
|
|
173
|
+
*
|
|
174
|
+
* @returns {Promise<void>}
|
|
175
|
+
*/
|
|
176
|
+
AddConnection(SessionID: number): Promise<void>;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Configures a connection.
|
|
180
|
+
*
|
|
181
|
+
* @method OcaMediaTransportSessionAgent#ConfigureConnection
|
|
182
|
+
* @param {number} SessionID
|
|
183
|
+
* @param {number} ConnectionID
|
|
184
|
+
* @param {number} LocalEndpointID
|
|
185
|
+
* @param {Uint8Array} RemoteEndpointID
|
|
186
|
+
*
|
|
187
|
+
* @returns {Promise<void>}
|
|
188
|
+
*/
|
|
189
|
+
ConfigureConnection(
|
|
190
|
+
SessionID: number,
|
|
191
|
+
ConnectionID: number,
|
|
192
|
+
LocalEndpointID: number,
|
|
193
|
+
RemoteEndpointID: Uint8Array
|
|
194
|
+
): Promise<void>;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Deletes a connection from a transport session.
|
|
198
|
+
*
|
|
199
|
+
* @method OcaMediaTransportSessionAgent#DeleteConnection
|
|
200
|
+
* @param {number} SessionID
|
|
201
|
+
* @param {number} ConnectionID
|
|
202
|
+
*
|
|
203
|
+
* @returns {Promise<void>}
|
|
204
|
+
*/
|
|
205
|
+
DeleteConnection(SessionID: number, ConnectionID: number): Promise<void>;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Deletes all connections from a transport session.
|
|
209
|
+
*
|
|
210
|
+
* @method OcaMediaTransportSessionAgent#DeleteConnections
|
|
211
|
+
* @param {number} SessionID
|
|
212
|
+
*
|
|
213
|
+
* @returns {Promise<void>}
|
|
214
|
+
*/
|
|
215
|
+
DeleteConnections(SessionID: number): Promise<void>;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Gets value of property **AdaptationData**
|
|
219
|
+
*
|
|
220
|
+
* @method OcaMediaTransportSessionAgent#GetAdaptationData
|
|
221
|
+
* @returns {Promise<Uint8Array>}
|
|
222
|
+
* A promise which resolves to a single value of type ``Uint8Array``.
|
|
223
|
+
*/
|
|
224
|
+
GetAdaptationData(): Promise<Uint8Array>;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Sets value of property **AdaptationData**
|
|
228
|
+
*
|
|
229
|
+
* @method OcaMediaTransportSessionAgent#SetAdaptationData
|
|
230
|
+
* @param {Uint8Array} Data
|
|
231
|
+
*
|
|
232
|
+
* @returns {Promise<void>}
|
|
233
|
+
*/
|
|
234
|
+
SetAdaptationData(Data: Uint8Array): Promise<void>;
|
|
235
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { OcaBlob } from '../../OCP1/OcaBlob.js';
|
|
2
|
+
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
3
|
+
import { OcaList } from '../../OCP1/OcaList.js';
|
|
4
|
+
import { OcaMap } from '../../OCP1/OcaMap.js';
|
|
5
|
+
import { OcaMediaTransportSession } from '../../OCP1/OcaMediaTransportSession.js';
|
|
6
|
+
import { OcaMediaTransportSessionStatus } from '../../OCP1/OcaMediaTransportSessionStatus.js';
|
|
7
|
+
import { OcaString } from '../../OCP1/OcaString.js';
|
|
8
|
+
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
9
|
+
import { make_control_class } from '../make_control_class.js';
|
|
10
|
+
import { OcaAgent } from './OcaAgent.js';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Agent to set up, monitor, control, and take down media transport sessions.
|
|
14
|
+
* This shall be the base class for the AES70-CM4 connection management feature.
|
|
15
|
+
* See [AES70-1(Connection Management)]. This is an optional class. Session
|
|
16
|
+
* management functionality is not a mandatory for CM4 implementations.
|
|
17
|
+
* @extends OcaAgent
|
|
18
|
+
* @class OcaMediaTransportSessionAgent
|
|
19
|
+
*/
|
|
20
|
+
export const OcaMediaTransportSessionAgent = make_control_class(
|
|
21
|
+
'OcaMediaTransportSessionAgent',
|
|
22
|
+
3,
|
|
23
|
+
'\u0001\u0002\u0014',
|
|
24
|
+
1,
|
|
25
|
+
OcaAgent,
|
|
26
|
+
[
|
|
27
|
+
['GetSessionType', 3, 1, [], [OcaString]],
|
|
28
|
+
['GetSessions', 3, 2, [], [OcaList(OcaMediaTransportSession)]],
|
|
29
|
+
['GetSession', 3, 3, [OcaUint32], [OcaMediaTransportSession]],
|
|
30
|
+
['AddSession', 3, 4, [], []],
|
|
31
|
+
['ConfigureSession', 3, 5, [OcaUint32, OcaBlob, OcaString, OcaBlob], []],
|
|
32
|
+
['DeleteSession', 3, 6, [OcaUint32], []],
|
|
33
|
+
['ResetSession', 3, 7, [OcaUint32], []],
|
|
34
|
+
['SetStreamingEnabled', 3, 8, [OcaUint32, OcaBoolean], []],
|
|
35
|
+
['StartStreaming', 3, 9, [OcaUint32], []],
|
|
36
|
+
['StopStreaming', 3, 10, [OcaUint32], []],
|
|
37
|
+
[
|
|
38
|
+
'GetSessionStatuses',
|
|
39
|
+
3,
|
|
40
|
+
11,
|
|
41
|
+
[],
|
|
42
|
+
[OcaMap(OcaUint32, OcaMediaTransportSessionStatus)],
|
|
43
|
+
],
|
|
44
|
+
['GetSessionStatus', 3, 12, [OcaUint32], [OcaMediaTransportSessionStatus]],
|
|
45
|
+
['AddConnection', 3, 13, [OcaUint32], []],
|
|
46
|
+
[
|
|
47
|
+
'ConfigureConnection',
|
|
48
|
+
3,
|
|
49
|
+
14,
|
|
50
|
+
[OcaUint32, OcaUint32, OcaUint32, OcaBlob],
|
|
51
|
+
[],
|
|
52
|
+
],
|
|
53
|
+
['DeleteConnection', 3, 15, [OcaUint32, OcaUint32], []],
|
|
54
|
+
['DeleteConnections', 3, 16, [OcaUint32], []],
|
|
55
|
+
['GetAdaptationData', 3, 17, [], [OcaBlob]],
|
|
56
|
+
['SetAdaptationData', 3, 18, [OcaBlob], []],
|
|
57
|
+
],
|
|
58
|
+
[
|
|
59
|
+
['SessionType', [OcaString], 3, 1, true, false, null],
|
|
60
|
+
['Sessions', [OcaList(OcaMediaTransportSession)], 3, 2, false, false, null],
|
|
61
|
+
[
|
|
62
|
+
'SessionStatuses',
|
|
63
|
+
[OcaMap(OcaUint32, OcaMediaTransportSessionStatus)],
|
|
64
|
+
3,
|
|
65
|
+
3,
|
|
66
|
+
false,
|
|
67
|
+
false,
|
|
68
|
+
null,
|
|
69
|
+
],
|
|
70
|
+
['AdaptationData', [OcaBlob], 3, 4, false, false, null],
|
|
71
|
+
],
|
|
72
|
+
[]
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Gets type of session supported by this session agent.
|
|
77
|
+
*
|
|
78
|
+
* @method OcaMediaTransportSessionAgent#GetSessionType
|
|
79
|
+
* @returns {Promise<string>}
|
|
80
|
+
* A promise which resolves to a single value of type ``string``.
|
|
81
|
+
*/
|
|
82
|
+
/**
|
|
83
|
+
* Gets the list of transport sessions held by this Agent.
|
|
84
|
+
*
|
|
85
|
+
* @method OcaMediaTransportSessionAgent#GetSessions
|
|
86
|
+
* @returns {Promise<OcaMediaTransportSession[]>}
|
|
87
|
+
* A promise which resolves to a single value of type :class:`OcaMediaTransportSession[]`.
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* Gets the designated session.
|
|
91
|
+
*
|
|
92
|
+
* @method OcaMediaTransportSessionAgent#GetSession
|
|
93
|
+
* @param {number} ID
|
|
94
|
+
*
|
|
95
|
+
* @returns {Promise<OcaMediaTransportSession>}
|
|
96
|
+
* A promise which resolves to a single value of type :class:`OcaMediaTransportSession`.
|
|
97
|
+
*/
|
|
98
|
+
/**
|
|
99
|
+
* Adds a new session. Returns given **OcaMediaTransportSession** parameter with
|
|
100
|
+
* session ID filled in.
|
|
101
|
+
*
|
|
102
|
+
* @method OcaMediaTransportSessionAgent#AddSession
|
|
103
|
+
* @returns {Promise<void>}
|
|
104
|
+
*/
|
|
105
|
+
/**
|
|
106
|
+
* Configures a session.
|
|
107
|
+
*
|
|
108
|
+
* @method OcaMediaTransportSessionAgent#ConfigureSession
|
|
109
|
+
* @param {number} IDinternal
|
|
110
|
+
* @param {Uint8Array} IDexternal
|
|
111
|
+
* @param {string} UserLabel
|
|
112
|
+
* @param {Uint8Array} AdaptationData
|
|
113
|
+
*
|
|
114
|
+
* @returns {Promise<void>}
|
|
115
|
+
*/
|
|
116
|
+
/**
|
|
117
|
+
* Deletes the designated session. Closes all connections the session contains.
|
|
118
|
+
*
|
|
119
|
+
* @method OcaMediaTransportSessionAgent#DeleteSession
|
|
120
|
+
* @param {number} ID
|
|
121
|
+
*
|
|
122
|
+
* @returns {Promise<void>}
|
|
123
|
+
*/
|
|
124
|
+
/**
|
|
125
|
+
* Resets the designated session. Returns the session to the state it has
|
|
126
|
+
* following a device reset.
|
|
127
|
+
*
|
|
128
|
+
* @method OcaMediaTransportSessionAgent#ResetSession
|
|
129
|
+
* @param {number} ID
|
|
130
|
+
*
|
|
131
|
+
* @returns {Promise<void>}
|
|
132
|
+
*/
|
|
133
|
+
/**
|
|
134
|
+
* Sets the streaming enabled switch.
|
|
135
|
+
*
|
|
136
|
+
* @method OcaMediaTransportSessionAgent#SetStreamingEnabled
|
|
137
|
+
* @param {number} ID
|
|
138
|
+
* @param {boolean} Active
|
|
139
|
+
*
|
|
140
|
+
* @returns {Promise<void>}
|
|
141
|
+
*/
|
|
142
|
+
/**
|
|
143
|
+
* if **StreamingEnabled** is TRUE, changes state from **ConnectedNotStreaming**
|
|
144
|
+
* to **ConnectedStreaming**.
|
|
145
|
+
*
|
|
146
|
+
* @method OcaMediaTransportSessionAgent#StartStreaming
|
|
147
|
+
* @param {number} ID
|
|
148
|
+
*
|
|
149
|
+
* @returns {Promise<void>}
|
|
150
|
+
*/
|
|
151
|
+
/**
|
|
152
|
+
* if state is **ConnectedStreaming**, changes state to
|
|
153
|
+
* **ConnectedNotStreaming**.
|
|
154
|
+
*
|
|
155
|
+
* @method OcaMediaTransportSessionAgent#StopStreaming
|
|
156
|
+
* @param {number} ID
|
|
157
|
+
*
|
|
158
|
+
* @returns {Promise<void>}
|
|
159
|
+
*/
|
|
160
|
+
/**
|
|
161
|
+
* Gets the map of statuses of transport sessions held by this Agent.
|
|
162
|
+
*
|
|
163
|
+
* @method OcaMediaTransportSessionAgent#GetSessionStatuses
|
|
164
|
+
* @returns {Promise<Map<number, OcaMediaTransportSessionStatus>>}
|
|
165
|
+
* A promise which resolves to a single value of type ``Map<number, OcaMediaTransportSessionStatus>``.
|
|
166
|
+
*/
|
|
167
|
+
/**
|
|
168
|
+
* Gets status of the designated transport session.
|
|
169
|
+
*
|
|
170
|
+
* @method OcaMediaTransportSessionAgent#GetSessionStatus
|
|
171
|
+
* @param {number} ID
|
|
172
|
+
*
|
|
173
|
+
* @returns {Promise<OcaMediaTransportSessionStatus>}
|
|
174
|
+
* A promise which resolves to a single value of type :class:`OcaMediaTransportSessionStatus`.
|
|
175
|
+
*/
|
|
176
|
+
/**
|
|
177
|
+
* Adds a new connection to an existing transport session. Returns given
|
|
178
|
+
* **OcaMediaTransportSessionConnection** parameter with connection ID filled
|
|
179
|
+
* in.
|
|
180
|
+
*
|
|
181
|
+
* @method OcaMediaTransportSessionAgent#AddConnection
|
|
182
|
+
* @param {number} SessionID
|
|
183
|
+
*
|
|
184
|
+
* @returns {Promise<void>}
|
|
185
|
+
*/
|
|
186
|
+
/**
|
|
187
|
+
* Configures a connection.
|
|
188
|
+
*
|
|
189
|
+
* @method OcaMediaTransportSessionAgent#ConfigureConnection
|
|
190
|
+
* @param {number} SessionID
|
|
191
|
+
* @param {number} ConnectionID
|
|
192
|
+
* @param {number} LocalEndpointID
|
|
193
|
+
* @param {Uint8Array} RemoteEndpointID
|
|
194
|
+
*
|
|
195
|
+
* @returns {Promise<void>}
|
|
196
|
+
*/
|
|
197
|
+
/**
|
|
198
|
+
* Deletes a connection from a transport session.
|
|
199
|
+
*
|
|
200
|
+
* @method OcaMediaTransportSessionAgent#DeleteConnection
|
|
201
|
+
* @param {number} SessionID
|
|
202
|
+
* @param {number} ConnectionID
|
|
203
|
+
*
|
|
204
|
+
* @returns {Promise<void>}
|
|
205
|
+
*/
|
|
206
|
+
/**
|
|
207
|
+
* Deletes all connections from a transport session.
|
|
208
|
+
*
|
|
209
|
+
* @method OcaMediaTransportSessionAgent#DeleteConnections
|
|
210
|
+
* @param {number} SessionID
|
|
211
|
+
*
|
|
212
|
+
* @returns {Promise<void>}
|
|
213
|
+
*/
|
|
214
|
+
/**
|
|
215
|
+
* Gets value of property **AdaptationData**
|
|
216
|
+
*
|
|
217
|
+
* @method OcaMediaTransportSessionAgent#GetAdaptationData
|
|
218
|
+
* @returns {Promise<Uint8Array>}
|
|
219
|
+
* A promise which resolves to a single value of type ``Uint8Array``.
|
|
220
|
+
*/
|
|
221
|
+
/**
|
|
222
|
+
* Sets value of property **AdaptationData**
|
|
223
|
+
*
|
|
224
|
+
* @method OcaMediaTransportSessionAgent#SetAdaptationData
|
|
225
|
+
* @param {Uint8Array} Data
|
|
226
|
+
*
|
|
227
|
+
* @returns {Promise<void>}
|
|
228
|
+
*/
|
|
229
|
+
/**
|
|
230
|
+
* This event is emitted when the property ``Sessions`` changes in the remote object.
|
|
231
|
+
* The property ``Sessions`` is described in the AES70 standard as follows.
|
|
232
|
+
* Set of transport sessions this Agent contains.
|
|
233
|
+
*
|
|
234
|
+
* @member {PropertyEvent<OcaMediaTransportSession[]>} OcaMediaTransportSessionAgent#OnSessionsChanged
|
|
235
|
+
*/
|
|
236
|
+
/**
|
|
237
|
+
* This event is emitted when the property ``SessionStatuses`` changes in the remote object.
|
|
238
|
+
* The property ``SessionStatuses`` is described in the AES70 standard as follows.
|
|
239
|
+
* Statuses of transport sessions this Agent contains.
|
|
240
|
+
*
|
|
241
|
+
* @member {PropertyEvent<Map<number, OcaMediaTransportSessionStatus>>} OcaMediaTransportSessionAgent#OnSessionStatusesChanged
|
|
242
|
+
*/
|
|
243
|
+
/**
|
|
244
|
+
* This event is emitted when the property ``AdaptationData`` changes in the remote object.
|
|
245
|
+
* The property ``AdaptationData`` is described in the AES70 standard as follows.
|
|
246
|
+
* Session-type-specific data.
|
|
247
|
+
*
|
|
248
|
+
* @member {PropertyEvent<Uint8Array>} OcaMediaTransportSessionAgent#OnAdaptationDataChanged
|
|
249
|
+
*/
|
|
@@ -17,8 +17,7 @@ export declare class OcaMute extends OcaActuator {
|
|
|
17
17
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* Gets the current mute state.
|
|
21
|
-
* was successfully retrieved.
|
|
20
|
+
* Gets the current mute state (i.e. value of the **State** property).
|
|
22
21
|
*
|
|
23
22
|
* @method OcaMute#GetState
|
|
24
23
|
* @returns {Promise<OcaMuteState>}
|
|
@@ -27,8 +26,7 @@ export declare class OcaMute extends OcaActuator {
|
|
|
27
26
|
GetState(): Promise<OcaMuteState>;
|
|
28
27
|
|
|
29
28
|
/**
|
|
30
|
-
* Sets the mute state (i.e. value of the State property).
|
|
31
|
-
* indicates whether the state was successfully set.
|
|
29
|
+
* Sets the mute state (i.e. value of the State property).
|
|
32
30
|
*
|
|
33
31
|
* @method OcaMute#SetState
|
|
34
32
|
* @param {IOcaMuteState} state
|