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
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file has been generated.
|
|
3
|
+
*/
|
|
4
|
+
import {
|
|
5
|
+
IOcaMediaFrameFormat,
|
|
6
|
+
OcaMediaFrameFormat,
|
|
7
|
+
} from './OcaMediaFrameFormat';
|
|
8
|
+
|
|
9
|
+
export declare interface IOcaMediaStreamMode {
|
|
10
|
+
/**
|
|
11
|
+
* Media frame format
|
|
12
|
+
* @type OcaMediaFrameFormat
|
|
13
|
+
*/
|
|
14
|
+
FrameFormat: IOcaMediaFrameFormat;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Media encoding type
|
|
18
|
+
* @type string
|
|
19
|
+
*/
|
|
20
|
+
EncodingType: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Media sampling rate
|
|
24
|
+
* @type number
|
|
25
|
+
*/
|
|
26
|
+
SamplingRate: number;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Number of signal channels in the stream
|
|
30
|
+
* @type number
|
|
31
|
+
*/
|
|
32
|
+
ChannelCount: number;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Duration of the media signal fragment carried in a single network packet.
|
|
36
|
+
* @type number
|
|
37
|
+
*/
|
|
38
|
+
PacketTime: number;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export declare class OcaMediaStreamMode implements IOcaMediaStreamMode {
|
|
42
|
+
/**
|
|
43
|
+
* Current media stream mode descriptor.
|
|
44
|
+
* @class OcaMediaStreamMode
|
|
45
|
+
*/
|
|
46
|
+
constructor(
|
|
47
|
+
FrameFormat: OcaMediaFrameFormat,
|
|
48
|
+
EncodingType: string,
|
|
49
|
+
SamplingRate: number,
|
|
50
|
+
ChannelCount: number,
|
|
51
|
+
PacketTime: number
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Media frame format
|
|
56
|
+
* @type OcaMediaFrameFormat
|
|
57
|
+
*/
|
|
58
|
+
FrameFormat: OcaMediaFrameFormat;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Media encoding type
|
|
62
|
+
* @type string
|
|
63
|
+
*/
|
|
64
|
+
EncodingType: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Media sampling rate
|
|
68
|
+
* @type number
|
|
69
|
+
*/
|
|
70
|
+
SamplingRate: number;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Number of signal channels in the stream
|
|
74
|
+
* @type number
|
|
75
|
+
*/
|
|
76
|
+
ChannelCount: number;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Duration of the media signal fragment carried in a single network packet.
|
|
80
|
+
* @type number
|
|
81
|
+
*/
|
|
82
|
+
PacketTime: number;
|
|
83
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file has been generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export class OcaMediaStreamMode {
|
|
6
|
+
/**
|
|
7
|
+
* Current media stream mode descriptor.
|
|
8
|
+
* @class OcaMediaStreamMode
|
|
9
|
+
*/
|
|
10
|
+
constructor(
|
|
11
|
+
FrameFormat,
|
|
12
|
+
EncodingType,
|
|
13
|
+
SamplingRate,
|
|
14
|
+
ChannelCount,
|
|
15
|
+
PacketTime
|
|
16
|
+
) {
|
|
17
|
+
/**
|
|
18
|
+
* Media frame format
|
|
19
|
+
* @type OcaMediaFrameFormat
|
|
20
|
+
*/
|
|
21
|
+
this.FrameFormat = FrameFormat;
|
|
22
|
+
/**
|
|
23
|
+
* Media encoding type
|
|
24
|
+
* @type string
|
|
25
|
+
*/
|
|
26
|
+
this.EncodingType = EncodingType;
|
|
27
|
+
/**
|
|
28
|
+
* Media sampling rate
|
|
29
|
+
* @type number
|
|
30
|
+
*/
|
|
31
|
+
this.SamplingRate = SamplingRate;
|
|
32
|
+
/**
|
|
33
|
+
* Number of signal channels in the stream
|
|
34
|
+
* @type number
|
|
35
|
+
*/
|
|
36
|
+
this.ChannelCount = ChannelCount;
|
|
37
|
+
/**
|
|
38
|
+
* Duration of the media signal fragment carried in a single network packet.
|
|
39
|
+
* @type number
|
|
40
|
+
*/
|
|
41
|
+
this.PacketTime = PacketTime;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file has been generated.
|
|
3
|
+
*/
|
|
4
|
+
import { IOcaInterval, OcaInterval } from './OcaInterval';
|
|
5
|
+
import {
|
|
6
|
+
IOcaMediaFrameFormat,
|
|
7
|
+
OcaMediaFrameFormat,
|
|
8
|
+
} from './OcaMediaFrameFormat';
|
|
9
|
+
import { IOcaMediaStreamModeCapabilityDirection } from './OcaMediaStreamModeCapabilityDirection';
|
|
10
|
+
|
|
11
|
+
export declare interface IOcaMediaStreamModeCapability {
|
|
12
|
+
/**
|
|
13
|
+
* ID of this capability
|
|
14
|
+
* @type number
|
|
15
|
+
*/
|
|
16
|
+
ID: number;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Arbitrary user-supplied name of this capability
|
|
20
|
+
* @type string
|
|
21
|
+
*/
|
|
22
|
+
Name: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Supported input/output direction - input, output, or both.
|
|
26
|
+
* @type IOcaMediaStreamModeCapabilityDirection
|
|
27
|
+
*/
|
|
28
|
+
Direction: IOcaMediaStreamModeCapabilityDirection;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Supported frame formats
|
|
32
|
+
* @type OcaMediaFrameFormat[]
|
|
33
|
+
*/
|
|
34
|
+
FrameFormatList: IOcaMediaFrameFormat[];
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Supported encoding types
|
|
38
|
+
* @type string[]
|
|
39
|
+
*/
|
|
40
|
+
EncodingTypeList: string[];
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Supported sampling rates
|
|
44
|
+
* @type number[]
|
|
45
|
+
*/
|
|
46
|
+
SamplingRateList: number[];
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Supported channel count list. If both a list and a range are specified, the
|
|
50
|
+
* capability includes all channel counts within the union of the two
|
|
51
|
+
* constraints.
|
|
52
|
+
* @type number[]
|
|
53
|
+
*/
|
|
54
|
+
ChannelCountList: number[];
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Supported channel count range. If both a list and a range are specified,
|
|
58
|
+
* the capability includes all channel counts within the union of the two
|
|
59
|
+
* constraints.
|
|
60
|
+
* @type OcaInterval<number>
|
|
61
|
+
*/
|
|
62
|
+
ChannelCountRange: IOcaInterval<number>;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Supported packet-time value list. If both a list and a range are specified,
|
|
66
|
+
* the capability includes all packet times within the union of the two
|
|
67
|
+
* constraints.
|
|
68
|
+
* @type number[]
|
|
69
|
+
*/
|
|
70
|
+
PacketTimeList: number[];
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Range of supported packet-time values. If both a list and a range are
|
|
74
|
+
* specified, the capability includes all packet times within the union of the
|
|
75
|
+
* two constraints.
|
|
76
|
+
* @type OcaInterval<number>
|
|
77
|
+
*/
|
|
78
|
+
PacketTimeRange: IOcaInterval<number>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export declare class OcaMediaStreamModeCapability
|
|
82
|
+
implements IOcaMediaStreamModeCapability {
|
|
83
|
+
/**
|
|
84
|
+
* Media stream mode capability descriptor.
|
|
85
|
+
* @class OcaMediaStreamModeCapability
|
|
86
|
+
*/
|
|
87
|
+
constructor(
|
|
88
|
+
ID: number,
|
|
89
|
+
Name: string,
|
|
90
|
+
Direction: IOcaMediaStreamModeCapabilityDirection,
|
|
91
|
+
FrameFormatList: OcaMediaFrameFormat[],
|
|
92
|
+
EncodingTypeList: string[],
|
|
93
|
+
SamplingRateList: number[],
|
|
94
|
+
ChannelCountList: number[],
|
|
95
|
+
ChannelCountRange: OcaInterval<number>,
|
|
96
|
+
PacketTimeList: number[],
|
|
97
|
+
PacketTimeRange: OcaInterval<number>
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* ID of this capability
|
|
102
|
+
* @type number
|
|
103
|
+
*/
|
|
104
|
+
ID: number;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Arbitrary user-supplied name of this capability
|
|
108
|
+
* @type string
|
|
109
|
+
*/
|
|
110
|
+
Name: string;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Supported input/output direction - input, output, or both.
|
|
114
|
+
* @type IOcaMediaStreamModeCapabilityDirection
|
|
115
|
+
*/
|
|
116
|
+
Direction: IOcaMediaStreamModeCapabilityDirection;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Supported frame formats
|
|
120
|
+
* @type OcaMediaFrameFormat[]
|
|
121
|
+
*/
|
|
122
|
+
FrameFormatList: OcaMediaFrameFormat[];
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Supported encoding types
|
|
126
|
+
* @type string[]
|
|
127
|
+
*/
|
|
128
|
+
EncodingTypeList: string[];
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Supported sampling rates
|
|
132
|
+
* @type number[]
|
|
133
|
+
*/
|
|
134
|
+
SamplingRateList: number[];
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Supported channel count list. If both a list and a range are specified, the
|
|
138
|
+
* capability includes all channel counts within the union of the two
|
|
139
|
+
* constraints.
|
|
140
|
+
* @type number[]
|
|
141
|
+
*/
|
|
142
|
+
ChannelCountList: number[];
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Supported channel count range. If both a list and a range are specified,
|
|
146
|
+
* the capability includes all channel counts within the union of the two
|
|
147
|
+
* constraints.
|
|
148
|
+
* @type OcaInterval<number>
|
|
149
|
+
*/
|
|
150
|
+
ChannelCountRange: OcaInterval<number>;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Supported packet-time value list. If both a list and a range are specified,
|
|
154
|
+
* the capability includes all packet times within the union of the two
|
|
155
|
+
* constraints.
|
|
156
|
+
* @type number[]
|
|
157
|
+
*/
|
|
158
|
+
PacketTimeList: number[];
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Range of supported packet-time values. If both a list and a range are
|
|
162
|
+
* specified, the capability includes all packet times within the union of the
|
|
163
|
+
* two constraints.
|
|
164
|
+
* @type OcaInterval<number>
|
|
165
|
+
*/
|
|
166
|
+
PacketTimeRange: OcaInterval<number>;
|
|
167
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file has been generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export class OcaMediaStreamModeCapability {
|
|
6
|
+
/**
|
|
7
|
+
* Media stream mode capability descriptor.
|
|
8
|
+
* @class OcaMediaStreamModeCapability
|
|
9
|
+
*/
|
|
10
|
+
constructor(
|
|
11
|
+
ID,
|
|
12
|
+
Name,
|
|
13
|
+
Direction,
|
|
14
|
+
FrameFormatList,
|
|
15
|
+
EncodingTypeList,
|
|
16
|
+
SamplingRateList,
|
|
17
|
+
ChannelCountList,
|
|
18
|
+
ChannelCountRange,
|
|
19
|
+
PacketTimeList,
|
|
20
|
+
PacketTimeRange
|
|
21
|
+
) {
|
|
22
|
+
/**
|
|
23
|
+
* ID of this capability
|
|
24
|
+
* @type number
|
|
25
|
+
*/
|
|
26
|
+
this.ID = ID;
|
|
27
|
+
/**
|
|
28
|
+
* Arbitrary user-supplied name of this capability
|
|
29
|
+
* @type string
|
|
30
|
+
*/
|
|
31
|
+
this.Name = Name;
|
|
32
|
+
/**
|
|
33
|
+
* Supported input/output direction - input, output, or both.
|
|
34
|
+
* @type IOcaMediaStreamModeCapabilityDirection
|
|
35
|
+
*/
|
|
36
|
+
this.Direction = Direction;
|
|
37
|
+
/**
|
|
38
|
+
* Supported frame formats
|
|
39
|
+
* @type OcaMediaFrameFormat[]
|
|
40
|
+
*/
|
|
41
|
+
this.FrameFormatList = FrameFormatList;
|
|
42
|
+
/**
|
|
43
|
+
* Supported encoding types
|
|
44
|
+
* @type string[]
|
|
45
|
+
*/
|
|
46
|
+
this.EncodingTypeList = EncodingTypeList;
|
|
47
|
+
/**
|
|
48
|
+
* Supported sampling rates
|
|
49
|
+
* @type number[]
|
|
50
|
+
*/
|
|
51
|
+
this.SamplingRateList = SamplingRateList;
|
|
52
|
+
/**
|
|
53
|
+
* Supported channel count list. If both a list and a range are specified,
|
|
54
|
+
* the capability includes all channel counts within the union of the two
|
|
55
|
+
* constraints.
|
|
56
|
+
* @type number[]
|
|
57
|
+
*/
|
|
58
|
+
this.ChannelCountList = ChannelCountList;
|
|
59
|
+
/**
|
|
60
|
+
* Supported channel count range. If both a list and a range are specified,
|
|
61
|
+
* the capability includes all channel counts within the union of the two
|
|
62
|
+
* constraints.
|
|
63
|
+
* @type OcaInterval<number>
|
|
64
|
+
*/
|
|
65
|
+
this.ChannelCountRange = ChannelCountRange;
|
|
66
|
+
/**
|
|
67
|
+
* Supported packet-time value list. If both a list and a range are
|
|
68
|
+
* specified, the capability includes all packet times within the union of
|
|
69
|
+
* the two constraints.
|
|
70
|
+
* @type number[]
|
|
71
|
+
*/
|
|
72
|
+
this.PacketTimeList = PacketTimeList;
|
|
73
|
+
/**
|
|
74
|
+
* Range of supported packet-time values. If both a list and a range are
|
|
75
|
+
* specified, the capability includes all packet times within the union of
|
|
76
|
+
* the two constraints.
|
|
77
|
+
* @type OcaInterval<number>
|
|
78
|
+
*/
|
|
79
|
+
this.PacketTimeRange = PacketTimeRange;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file has been generated.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Bitset describing the I/O direction(s) an Endpoint supports.
|
|
6
|
+
* @enum {number}
|
|
7
|
+
* @readonly
|
|
8
|
+
*/
|
|
9
|
+
export declare const OcaMediaStreamModeCapabilityDirection: {
|
|
10
|
+
/**
|
|
11
|
+
* Entry with value ``1``.
|
|
12
|
+
*/
|
|
13
|
+
Input: number;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Entry with value ``2``.
|
|
17
|
+
*/
|
|
18
|
+
Output: number;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export declare type IOcaMediaStreamModeCapabilityDirection = number;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file has been generated.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Bitset describing the I/O direction(s) an Endpoint supports.
|
|
6
|
+
* @enum {number}
|
|
7
|
+
* @readonly
|
|
8
|
+
*/
|
|
9
|
+
export const OcaMediaStreamModeCapabilityDirection = {
|
|
10
|
+
Input: 1,
|
|
11
|
+
Output: 2,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Entry with value ``1``.
|
|
16
|
+
* @type {number}
|
|
17
|
+
* @member Input
|
|
18
|
+
* @memberof OcaMediaStreamModeCapabilityDirection
|
|
19
|
+
* @static
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Entry with value ``2``.
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @member Output
|
|
25
|
+
* @memberof OcaMediaStreamModeCapabilityDirection
|
|
26
|
+
* @static
|
|
27
|
+
*/
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file has been generated.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Media track function. Controls handling of a track during
|
|
6
|
+
* **OcaMediaRecorderPlayer** operations.
|
|
7
|
+
* @enum {number}
|
|
8
|
+
* @readonly
|
|
9
|
+
*/
|
|
10
|
+
export declare const OcaMediaTrackFunction: {
|
|
11
|
+
/**
|
|
12
|
+
* Entry with value ``1``.
|
|
13
|
+
*/
|
|
14
|
+
PlayInPlayMode: number;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Entry with value ``2``.
|
|
18
|
+
*/
|
|
19
|
+
PlayInRecordMode: number;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Entry with value ``4``.
|
|
23
|
+
*/
|
|
24
|
+
RecordInRecordMode: number;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export declare type IOcaMediaTrackFunction = number;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file has been generated.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Media track function. Controls handling of a track during
|
|
6
|
+
* **OcaMediaRecorderPlayer** operations.
|
|
7
|
+
* @enum {number}
|
|
8
|
+
* @readonly
|
|
9
|
+
*/
|
|
10
|
+
export const OcaMediaTrackFunction = {
|
|
11
|
+
PlayInPlayMode: 1,
|
|
12
|
+
PlayInRecordMode: 2,
|
|
13
|
+
RecordInRecordMode: 4,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Entry with value ``1``.
|
|
18
|
+
* @type {number}
|
|
19
|
+
* @member PlayInPlayMode
|
|
20
|
+
* @memberof OcaMediaTrackFunction
|
|
21
|
+
* @static
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* Entry with value ``2``.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @member PlayInRecordMode
|
|
27
|
+
* @memberof OcaMediaTrackFunction
|
|
28
|
+
* @static
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* Entry with value ``4``.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @member RecordInRecordMode
|
|
34
|
+
* @memberof OcaMediaTrackFunction
|
|
35
|
+
* @static
|
|
36
|
+
*/
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file has been generated.
|
|
3
|
+
*/
|
|
4
|
+
import {
|
|
5
|
+
IOcaMediaTransportSessionConnection,
|
|
6
|
+
OcaMediaTransportSessionConnection,
|
|
7
|
+
} from './OcaMediaTransportSessionConnection';
|
|
8
|
+
import {
|
|
9
|
+
IOcaMediaTransportSessionConnectionState,
|
|
10
|
+
OcaMediaTransportSessionConnectionState,
|
|
11
|
+
} from './OcaMediaTransportSessionConnectionState';
|
|
12
|
+
|
|
13
|
+
export declare interface IOcaMediaTransportSession {
|
|
14
|
+
/**
|
|
15
|
+
* Internal ID, unique within OcaTransportSessionControlAgent instance.
|
|
16
|
+
* @type number
|
|
17
|
+
*/
|
|
18
|
+
IDInternal: number;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* External ID, i.e. the ID that is published to the network. Format is
|
|
22
|
+
* Adaptation-specific.
|
|
23
|
+
* @type Uint8Array
|
|
24
|
+
*/
|
|
25
|
+
IDExternal: Uint8Array;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Arbitrary text label - not programmatically significant.
|
|
29
|
+
* @type string
|
|
30
|
+
*/
|
|
31
|
+
UserLabel: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* TRUE if and only if media streaming is allowed. If set to FALSE, does not
|
|
35
|
+
* cause disconnection.
|
|
36
|
+
* @type boolean
|
|
37
|
+
*/
|
|
38
|
+
StreamingEnabled: boolean;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Adaptation-specific data.
|
|
42
|
+
* @type Uint8Array
|
|
43
|
+
*/
|
|
44
|
+
AdaptationData: Uint8Array;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* This session's stream connections.
|
|
48
|
+
* @type OcaMediaTransportSessionConnection[]
|
|
49
|
+
*/
|
|
50
|
+
Connections: IOcaMediaTransportSessionConnection[];
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* State(s) of session's connection(s). Map key is connection ID.
|
|
54
|
+
* @type Map<number, OcaMediaTransportSessionConnectionState>
|
|
55
|
+
*/
|
|
56
|
+
ConnectionStates: Map<number, IOcaMediaTransportSessionConnectionState>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export declare class OcaMediaTransportSession
|
|
60
|
+
implements IOcaMediaTransportSession {
|
|
61
|
+
/**
|
|
62
|
+
* Container of all the Media Transport Sessions belonging to a Media
|
|
63
|
+
* Transport Session control Agent.
|
|
64
|
+
* @class OcaMediaTransportSession
|
|
65
|
+
*/
|
|
66
|
+
constructor(
|
|
67
|
+
IDInternal: number,
|
|
68
|
+
IDExternal: Uint8Array,
|
|
69
|
+
UserLabel: string,
|
|
70
|
+
StreamingEnabled: boolean,
|
|
71
|
+
AdaptationData: Uint8Array,
|
|
72
|
+
Connections: OcaMediaTransportSessionConnection[],
|
|
73
|
+
ConnectionStates: Map<number, OcaMediaTransportSessionConnectionState>
|
|
74
|
+
);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Internal ID, unique within OcaTransportSessionControlAgent instance.
|
|
78
|
+
* @type number
|
|
79
|
+
*/
|
|
80
|
+
IDInternal: number;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* External ID, i.e. the ID that is published to the network. Format is
|
|
84
|
+
* Adaptation-specific.
|
|
85
|
+
* @type Uint8Array
|
|
86
|
+
*/
|
|
87
|
+
IDExternal: Uint8Array;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Arbitrary text label - not programmatically significant.
|
|
91
|
+
* @type string
|
|
92
|
+
*/
|
|
93
|
+
UserLabel: string;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* TRUE if and only if media streaming is allowed. If set to FALSE, does not
|
|
97
|
+
* cause disconnection.
|
|
98
|
+
* @type boolean
|
|
99
|
+
*/
|
|
100
|
+
StreamingEnabled: boolean;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Adaptation-specific data.
|
|
104
|
+
* @type Uint8Array
|
|
105
|
+
*/
|
|
106
|
+
AdaptationData: Uint8Array;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* This session's stream connections.
|
|
110
|
+
* @type OcaMediaTransportSessionConnection[]
|
|
111
|
+
*/
|
|
112
|
+
Connections: OcaMediaTransportSessionConnection[];
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* State(s) of session's connection(s). Map key is connection ID.
|
|
116
|
+
* @type Map<number, OcaMediaTransportSessionConnectionState>
|
|
117
|
+
*/
|
|
118
|
+
ConnectionStates: Map<number, OcaMediaTransportSessionConnectionState>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file has been generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export class OcaMediaTransportSession {
|
|
6
|
+
/**
|
|
7
|
+
* Container of all the Media Transport Sessions belonging to a Media
|
|
8
|
+
* Transport Session control Agent.
|
|
9
|
+
* @class OcaMediaTransportSession
|
|
10
|
+
*/
|
|
11
|
+
constructor(
|
|
12
|
+
IDInternal,
|
|
13
|
+
IDExternal,
|
|
14
|
+
UserLabel,
|
|
15
|
+
StreamingEnabled,
|
|
16
|
+
AdaptationData,
|
|
17
|
+
Connections,
|
|
18
|
+
ConnectionStates
|
|
19
|
+
) {
|
|
20
|
+
/**
|
|
21
|
+
* Internal ID, unique within OcaTransportSessionControlAgent instance.
|
|
22
|
+
* @type number
|
|
23
|
+
*/
|
|
24
|
+
this.IDInternal = IDInternal;
|
|
25
|
+
/**
|
|
26
|
+
* External ID, i.e. the ID that is published to the network. Format is
|
|
27
|
+
* Adaptation-specific.
|
|
28
|
+
* @type Uint8Array
|
|
29
|
+
*/
|
|
30
|
+
this.IDExternal = IDExternal;
|
|
31
|
+
/**
|
|
32
|
+
* Arbitrary text label - not programmatically significant.
|
|
33
|
+
* @type string
|
|
34
|
+
*/
|
|
35
|
+
this.UserLabel = UserLabel;
|
|
36
|
+
/**
|
|
37
|
+
* TRUE if and only if media streaming is allowed. If set to FALSE, does not
|
|
38
|
+
* cause disconnection.
|
|
39
|
+
* @type boolean
|
|
40
|
+
*/
|
|
41
|
+
this.StreamingEnabled = StreamingEnabled;
|
|
42
|
+
/**
|
|
43
|
+
* Adaptation-specific data.
|
|
44
|
+
* @type Uint8Array
|
|
45
|
+
*/
|
|
46
|
+
this.AdaptationData = AdaptationData;
|
|
47
|
+
/**
|
|
48
|
+
* This session's stream connections.
|
|
49
|
+
* @type OcaMediaTransportSessionConnection[]
|
|
50
|
+
*/
|
|
51
|
+
this.Connections = Connections;
|
|
52
|
+
/**
|
|
53
|
+
* State(s) of session's connection(s). Map key is connection ID.
|
|
54
|
+
* @type Map<number, OcaMediaTransportSessionConnectionState>
|
|
55
|
+
*/
|
|
56
|
+
this.ConnectionStates = ConnectionStates;
|
|
57
|
+
}
|
|
58
|
+
}
|