mediasoup 3.20.0 → 3.20.2
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/node/lib/Consumer.d.ts.map +1 -1
- package/node/lib/Consumer.js +5 -4
- package/node/lib/DataConsumer.d.ts +2 -3
- package/node/lib/DataConsumer.d.ts.map +1 -1
- package/node/lib/DataConsumer.js +10 -7
- package/node/lib/DataConsumerTypes.d.ts +5 -4
- package/node/lib/DataConsumerTypes.d.ts.map +1 -1
- package/node/lib/DataProducer.d.ts.map +1 -1
- package/node/lib/DataProducer.js +2 -1
- package/node/lib/PipeTransport.d.ts.map +1 -1
- package/node/lib/PipeTransport.js +5 -4
- package/node/lib/PlainTransport.d.ts.map +1 -1
- package/node/lib/PlainTransport.js +6 -5
- package/node/lib/Producer.d.ts.map +1 -1
- package/node/lib/Producer.js +4 -3
- package/node/lib/Router.js +1 -1
- package/node/lib/WebRtcTransport.d.ts.map +1 -1
- package/node/lib/WebRtcTransport.js +6 -5
- package/node/lib/fbs/consumer/degrade-request.d.ts +30 -0
- package/node/lib/fbs/consumer/degrade-request.d.ts.map +1 -0
- package/node/lib/fbs/consumer/degrade-request.js +124 -0
- package/node/lib/fbs/consumer/enable-delay-and-loss-request.d.ts +24 -0
- package/node/lib/fbs/consumer/enable-delay-and-loss-request.d.ts.map +1 -0
- package/node/lib/fbs/consumer/enable-delay-and-loss-request.js +102 -0
- package/node/lib/fbs/data-consumer/send-response.d.ts +21 -0
- package/node/lib/fbs/data-consumer/send-response.d.ts.map +1 -0
- package/node/lib/fbs/data-consumer/send-response.js +91 -0
- package/node/lib/fbs/data-consumer.d.ts +1 -0
- package/node/lib/fbs/data-consumer.d.ts.map +1 -1
- package/node/lib/fbs/data-consumer.js +4 -1
- package/node/lib/fbs/producer/degrade-request.d.ts +30 -0
- package/node/lib/fbs/producer/degrade-request.d.ts.map +1 -0
- package/node/lib/fbs/producer/degrade-request.js +124 -0
- package/node/lib/fbs/response/body.d.ts +7 -5
- package/node/lib/fbs/response/body.d.ts.map +1 -1
- package/node/lib/fbs/response/body.js +7 -3
- package/node/lib/fbs/response/response.d.ts +3 -2
- package/node/lib/fbs/response/response.d.ts.map +1 -1
- package/node/lib/fbs/sctp-parameters/num-sctp-streams.d.ts.map +1 -1
- package/node/lib/fbs/sctp-parameters/num-sctp-streams.js +5 -5
- package/node/lib/fbs/transport/sctp-negotiated-max-streams-notification.d.ts +24 -0
- package/node/lib/fbs/transport/sctp-negotiated-max-streams-notification.d.ts.map +1 -0
- package/node/lib/fbs/transport/sctp-negotiated-max-streams-notification.js +102 -0
- package/node/lib/fbs/transport/sctp-negotiated-options-notification.d.ts +24 -0
- package/node/lib/fbs/transport/sctp-negotiated-options-notification.d.ts.map +1 -0
- package/node/lib/fbs/transport/sctp-negotiated-options-notification.js +102 -0
- package/node/lib/fbs/worker/close-notification.d.ts +18 -0
- package/node/lib/fbs/worker/close-notification.d.ts.map +1 -0
- package/node/lib/fbs/worker/close-notification.js +78 -0
- package/node/lib/fbs/worker/close-request.d.ts +18 -0
- package/node/lib/fbs/worker/close-request.d.ts.map +1 -0
- package/node/lib/fbs/worker/close-request.js +78 -0
- package/node/lib/fbs/worker/close-worker-notification.d.ts +18 -0
- package/node/lib/fbs/worker/close-worker-notification.d.ts.map +1 -0
- package/node/lib/fbs/worker/close-worker-notification.js +78 -0
- package/node/lib/sctpParametersTypes.d.ts +23 -0
- package/node/lib/sctpParametersTypes.d.ts.map +1 -1
- package/node/lib/test/test-Consumer.js +194 -0
- package/node/lib/test/test-DataConsumer.js +6 -0
- package/node/lib/test/test-Router.js +11 -0
- package/node/lib/test/test-werift-sctp.js +7 -0
- package/npm-scripts.mjs +2 -2
- package/package.json +7 -6
- package/worker/Makefile +5 -1
- package/worker/deps/libwebrtc/meson.build +5 -1
- package/worker/fbs/dataConsumer.fbs +4 -0
- package/worker/fbs/response.fbs +1 -0
- package/worker/fuzzer/src/RTC/RTP/FuzzerPacket.cpp +2 -2
- package/worker/include/Channel/ChannelMessageRegistrator.hpp +4 -3
- package/worker/include/Channel/ChannelNotification.hpp +0 -4
- package/worker/include/Channel/ChannelRequest.hpp +3 -4
- package/worker/include/DepLibSRTP.hpp +2 -2
- package/worker/include/RTC/ActiveSpeakerObserver.hpp +2 -2
- package/worker/include/RTC/AudioLevelObserver.hpp +2 -2
- package/worker/include/RTC/Consumer.hpp +1 -1
- package/worker/include/RTC/DataConsumer.hpp +2 -2
- package/worker/include/RTC/DtlsTransport.hpp +4 -4
- package/worker/include/RTC/ICE/IceServer.hpp +2 -2
- package/worker/include/RTC/ICE/StunPacket.hpp +34 -34
- package/worker/include/RTC/KeyFrameRequestManager.hpp +3 -3
- package/worker/include/RTC/Parameters.hpp +2 -2
- package/worker/include/RTC/PipeConsumer.hpp +6 -5
- package/worker/include/RTC/PlainTransport.hpp +0 -1
- package/worker/include/RTC/PortManager.hpp +92 -12
- package/worker/include/RTC/Producer.hpp +7 -6
- package/worker/include/RTC/RTCP/Feedback.hpp +1 -2
- package/worker/include/RTC/RTCP/FeedbackRtpTransport.hpp +2 -2
- package/worker/include/RTC/RTCP/Packet.hpp +2 -2
- package/worker/include/RTC/RTCP/Sdes.hpp +1 -1
- package/worker/include/RTC/RTP/Codecs/DependencyDescriptor.hpp +2 -1
- package/worker/include/RTC/RTP/Packet.hpp +57 -57
- package/worker/include/RTC/RTP/ProbationGenerator.hpp +2 -2
- package/worker/include/RTC/RTP/SharedPacket.hpp +4 -4
- package/worker/include/RTC/Router.hpp +12 -11
- package/worker/include/RTC/RtcLogger.hpp +2 -2
- package/worker/include/RTC/RtpDictionaries.hpp +6 -6
- package/worker/include/RTC/RtpListener.hpp +4 -4
- package/worker/include/RTC/SCTP/association/Association.hpp +13 -13
- package/worker/include/RTC/SCTP/association/HeartbeatHandler.hpp +2 -2
- package/worker/include/RTC/SCTP/association/NegotiatedCapabilities.hpp +2 -2
- package/worker/include/RTC/SCTP/association/PacketSender.hpp +3 -3
- package/worker/include/RTC/SCTP/association/StateCookie.hpp +9 -9
- package/worker/include/RTC/SCTP/association/StreamResetHandler.hpp +4 -4
- package/worker/include/RTC/SCTP/association/TransmissionControlBlock.hpp +24 -24
- package/worker/include/RTC/SCTP/association/TransmissionControlBlockContextInterface.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/Chunk.hpp +86 -86
- package/worker/include/RTC/SCTP/packet/ErrorCause.hpp +18 -18
- package/worker/include/RTC/SCTP/packet/Packet.hpp +33 -33
- package/worker/include/RTC/SCTP/packet/Parameter.hpp +24 -24
- package/worker/include/RTC/SCTP/packet/TLV.hpp +13 -13
- package/worker/include/RTC/SCTP/packet/UserData.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/chunks/AbortAssociationChunk.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/chunks/AnyDataChunk.hpp +9 -9
- package/worker/include/RTC/SCTP/packet/chunks/AnyForwardTsnChunk.hpp +3 -3
- package/worker/include/RTC/SCTP/packet/chunks/CookieAckChunk.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/chunks/CookieEchoChunk.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/chunks/DataChunk.hpp +11 -11
- package/worker/include/RTC/SCTP/packet/chunks/ForwardTsnChunk.hpp +6 -6
- package/worker/include/RTC/SCTP/packet/chunks/HeartbeatAckChunk.hpp +6 -6
- package/worker/include/RTC/SCTP/packet/chunks/HeartbeatRequestChunk.hpp +6 -6
- package/worker/include/RTC/SCTP/packet/chunks/IDataChunk.hpp +6 -6
- package/worker/include/RTC/SCTP/packet/chunks/IForwardTsnChunk.hpp +7 -7
- package/worker/include/RTC/SCTP/packet/chunks/InitAckChunk.hpp +10 -10
- package/worker/include/RTC/SCTP/packet/chunks/InitChunk.hpp +8 -8
- package/worker/include/RTC/SCTP/packet/chunks/OperationErrorChunk.hpp +6 -6
- package/worker/include/RTC/SCTP/packet/chunks/ReConfigChunk.hpp +10 -10
- package/worker/include/RTC/SCTP/packet/chunks/SackChunk.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/chunks/ShutdownAckChunk.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/chunks/ShutdownChunk.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/chunks/ShutdownCompleteChunk.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/chunks/UnknownChunk.hpp +2 -2
- package/worker/include/RTC/SCTP/packet/errorCauses/CookieReceivedWhileShuttingDownErrorCause.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/errorCauses/InvalidMandatoryParameterErrorCause.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/errorCauses/InvalidStreamIdentifierErrorCause.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/errorCauses/MissingMandatoryParameterErrorCause.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/errorCauses/NoUserDataErrorCause.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/errorCauses/OutOfResourceErrorCause.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/errorCauses/ProtocolViolationErrorCause.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/errorCauses/RestartOfAnAssociationWithNewAddressesErrorCause.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/errorCauses/StaleCookieErrorCause.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/errorCauses/UnknownErrorCause.hpp +2 -2
- package/worker/include/RTC/SCTP/packet/errorCauses/UnrecognizedChunkTypeErrorCause.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/errorCauses/UnrecognizedParametersErrorCause.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/errorCauses/UnresolvableAddressErrorCause.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/errorCauses/UserInitiatedAbortErrorCause.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/parameters/AddIncomingStreamsRequestParameter.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/parameters/AddOutgoingStreamsRequestParameter.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/parameters/CookiePreservativeParameter.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/parameters/ForwardTsnSupportedParameter.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/parameters/HeartbeatInfoParameter.hpp +3 -3
- package/worker/include/RTC/SCTP/packet/parameters/IPv4AddressParameter.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/parameters/IPv6AddressParameter.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/parameters/IncomingSsnResetRequestParameter.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/parameters/OutgoingSsnResetRequestParameter.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/parameters/ReconfigurationResponseParameter.hpp +7 -7
- package/worker/include/RTC/SCTP/packet/parameters/SsnTsnResetRequestParameter.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/parameters/StateCookieParameter.hpp +5 -5
- package/worker/include/RTC/SCTP/packet/parameters/SupportedAddressTypesParameter.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/parameters/SupportedExtensionsParameter.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/parameters/UnknownParameter.hpp +2 -2
- package/worker/include/RTC/SCTP/packet/parameters/UnrecognizedParameterParameter.hpp +4 -4
- package/worker/include/RTC/SCTP/packet/parameters/ZeroChecksumAcceptableParameter.hpp +7 -7
- package/worker/include/RTC/SCTP/public/AssociationInterface.hpp +7 -7
- package/worker/include/RTC/SCTP/public/AssociationListenerInterface.hpp +26 -26
- package/worker/include/RTC/SCTP/public/AssociationMetrics.hpp +7 -7
- package/worker/include/RTC/SCTP/public/Message.hpp +1 -1
- package/worker/include/RTC/SCTP/public/SctpOptions.hpp +4 -4
- package/worker/include/RTC/SCTP/public/SctpTypes.hpp +10 -10
- package/worker/include/RTC/SCTP/rx/DataTracker.hpp +1 -1
- package/worker/include/RTC/SCTP/rx/ReassemblyStreamsInterface.hpp +1 -1
- package/worker/include/RTC/SCTP/tx/OutstandingData.hpp +39 -39
- package/worker/include/RTC/SCTP/tx/RetransmissionErrorCounter.hpp +1 -1
- package/worker/include/RTC/SCTP/tx/RetransmissionQueue.hpp +14 -14
- package/worker/include/RTC/SCTP/tx/RoundRobinSendQueue.hpp +1 -1
- package/worker/include/RTC/SctpListener.hpp +2 -2
- package/worker/include/RTC/SimulcastConsumer.hpp +2 -1
- package/worker/include/RTC/TcpServer.hpp +3 -2
- package/worker/include/RTC/Transport.hpp +8 -8
- package/worker/include/RTC/UdpSocket.hpp +3 -2
- package/worker/include/RTC/WebRtcServer.hpp +4 -5
- package/worker/include/RTC/WebRtcTransport.hpp +2 -2
- package/worker/include/Settings.hpp +3 -3
- package/worker/include/Worker.hpp +3 -3
- package/worker/include/handles/TcpServerHandle.hpp +2 -2
- package/worker/meson.build +9 -4
- package/worker/mocks/include/Channel/MockChannelMessageRegistrator.hpp +4 -3
- package/worker/src/Channel/ChannelNotification.cpp +5 -4
- package/worker/src/Channel/ChannelRequest.cpp +9 -6
- package/worker/src/DepLibSRTP.cpp +1 -1
- package/worker/src/RTC/AudioLevelObserver.cpp +2 -2
- package/worker/src/RTC/DataConsumer.cpp +13 -3
- package/worker/src/RTC/DataProducer.cpp +1 -1
- package/worker/src/RTC/DtlsTransport.cpp +3 -3
- package/worker/src/RTC/ICE/IceServer.cpp +1 -1
- package/worker/src/RTC/ICE/StunPacket.cpp +77 -77
- package/worker/src/RTC/PipeTransport.cpp +5 -4
- package/worker/src/RTC/PlainTransport.cpp +9 -8
- package/worker/src/RTC/PortManager.cpp +174 -114
- package/worker/src/RTC/Producer.cpp +0 -1
- package/worker/src/RTC/RTCP/Feedback.cpp +6 -6
- package/worker/src/RTC/RTCP/FeedbackPs.cpp +1 -1
- package/worker/src/RTC/RTCP/FeedbackPsAfb.cpp +1 -1
- package/worker/src/RTC/RTCP/FeedbackPsPli.cpp +1 -1
- package/worker/src/RTC/RTCP/FeedbackPsRemb.cpp +2 -2
- package/worker/src/RTC/RTCP/FeedbackRtp.cpp +1 -1
- package/worker/src/RTC/RTCP/FeedbackRtpSrReq.cpp +1 -1
- package/worker/src/RTC/RTCP/FeedbackRtpTransport.cpp +2 -2
- package/worker/src/RTC/RTCP/Packet.cpp +2 -2
- package/worker/src/RTC/RTCP/Sdes.cpp +1 -1
- package/worker/src/RTC/RTP/Codecs/DependencyDescriptor.cpp +2 -1
- package/worker/src/RTC/RTP/Packet.cpp +68 -68
- package/worker/src/RTC/RTP/ProbationGenerator.cpp +3 -3
- package/worker/src/RTC/RTP/RtpStreamRecv.cpp +3 -3
- package/worker/src/RTC/RTP/RtxStream.cpp +2 -2
- package/worker/src/RTC/RTP/SharedPacket.cpp +4 -4
- package/worker/src/RTC/Router.cpp +5 -5
- package/worker/src/RTC/RtcLogger.cpp +1 -1
- package/worker/src/RTC/RtpDictionaries/RtpCodecMimeType.cpp +4 -4
- package/worker/src/RTC/RtpDictionaries/RtpParameters.cpp +2 -3
- package/worker/src/RTC/SCTP/association/Association.cpp +100 -97
- package/worker/src/RTC/SCTP/association/HeartbeatHandler.cpp +6 -6
- package/worker/src/RTC/SCTP/association/NegotiatedCapabilities.cpp +3 -3
- package/worker/src/RTC/SCTP/association/PacketSender.cpp +1 -1
- package/worker/src/RTC/SCTP/association/StreamResetHandler.cpp +2 -2
- package/worker/src/RTC/SCTP/association/TransmissionControlBlock.cpp +5 -5
- package/worker/src/RTC/SCTP/packet/Chunk.cpp +52 -52
- package/worker/src/RTC/SCTP/packet/ErrorCause.cpp +14 -14
- package/worker/src/RTC/SCTP/packet/Packet.cpp +17 -17
- package/worker/src/RTC/SCTP/packet/Parameter.cpp +17 -17
- package/worker/src/RTC/SCTP/packet/TLV.cpp +8 -8
- package/worker/src/RTC/SCTP/packet/chunks/AbortAssociationChunk.cpp +3 -3
- package/worker/src/RTC/SCTP/packet/chunks/CookieAckChunk.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/chunks/CookieEchoChunk.cpp +1 -1
- package/worker/src/RTC/SCTP/packet/chunks/DataChunk.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/chunks/ForwardTsnChunk.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/chunks/HeartbeatAckChunk.cpp +3 -3
- package/worker/src/RTC/SCTP/packet/chunks/HeartbeatRequestChunk.cpp +3 -3
- package/worker/src/RTC/SCTP/packet/chunks/IDataChunk.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/chunks/IForwardTsnChunk.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/chunks/InitAckChunk.cpp +4 -4
- package/worker/src/RTC/SCTP/packet/chunks/InitChunk.cpp +4 -4
- package/worker/src/RTC/SCTP/packet/chunks/OperationErrorChunk.cpp +3 -3
- package/worker/src/RTC/SCTP/packet/chunks/ReConfigChunk.cpp +3 -3
- package/worker/src/RTC/SCTP/packet/chunks/SackChunk.cpp +3 -3
- package/worker/src/RTC/SCTP/packet/chunks/ShutdownAckChunk.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/chunks/ShutdownChunk.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/chunks/ShutdownCompleteChunk.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/errorCauses/CookieReceivedWhileShuttingDownErrorCause.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/errorCauses/InvalidMandatoryParameterErrorCause.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/errorCauses/InvalidStreamIdentifierErrorCause.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/errorCauses/MissingMandatoryParameterErrorCause.cpp +4 -4
- package/worker/src/RTC/SCTP/packet/errorCauses/NoUserDataErrorCause.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/errorCauses/OutOfResourceErrorCause.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/errorCauses/ProtocolViolationErrorCause.cpp +1 -1
- package/worker/src/RTC/SCTP/packet/errorCauses/RestartOfAnAssociationWithNewAddressesErrorCause.cpp +1 -1
- package/worker/src/RTC/SCTP/packet/errorCauses/StaleCookieErrorCause.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/errorCauses/UnrecognizedChunkTypeErrorCause.cpp +1 -1
- package/worker/src/RTC/SCTP/packet/errorCauses/UnrecognizedParametersErrorCause.cpp +1 -1
- package/worker/src/RTC/SCTP/packet/errorCauses/UnresolvableAddressErrorCause.cpp +1 -1
- package/worker/src/RTC/SCTP/packet/errorCauses/UserInitiatedAbortErrorCause.cpp +1 -1
- package/worker/src/RTC/SCTP/packet/parameters/AddIncomingStreamsRequestParameter.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/parameters/AddOutgoingStreamsRequestParameter.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/parameters/CookiePreservativeParameter.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/parameters/ForwardTsnSupportedParameter.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/parameters/HeartbeatInfoParameter.cpp +1 -1
- package/worker/src/RTC/SCTP/packet/parameters/IPv4AddressParameter.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/parameters/IPv6AddressParameter.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/parameters/IncomingSsnResetRequestParameter.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/parameters/OutgoingSsnResetRequestParameter.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/parameters/ReconfigurationResponseParameter.cpp +3 -3
- package/worker/src/RTC/SCTP/packet/parameters/SsnTsnResetRequestParameter.cpp +2 -2
- package/worker/src/RTC/SCTP/packet/parameters/StateCookieParameter.cpp +3 -3
- package/worker/src/RTC/SCTP/packet/parameters/SupportedAddressTypesParameter.cpp +3 -3
- package/worker/src/RTC/SCTP/packet/parameters/SupportedExtensionsParameter.cpp +1 -1
- package/worker/src/RTC/SCTP/packet/parameters/UnrecognizedParameterParameter.cpp +1 -1
- package/worker/src/RTC/SCTP/packet/parameters/ZeroChecksumAcceptableParameter.cpp +3 -3
- package/worker/src/RTC/SCTP/rx/InterleavedReassemblyStreams.cpp +1 -0
- package/worker/src/RTC/SCTP/rx/TraditionalReassemblyStreams.cpp +1 -0
- package/worker/src/RTC/SCTP/tx/OutstandingData.cpp +8 -8
- package/worker/src/RTC/SCTP/tx/RoundRobinSendQueue.cpp +1 -1
- package/worker/src/RTC/SvcConsumer.cpp +6 -2
- package/worker/src/RTC/TcpServer.cpp +4 -4
- package/worker/src/RTC/Transport.cpp +42 -19
- package/worker/src/RTC/UdpSocket.cpp +4 -4
- package/worker/src/RTC/WebRtcServer.cpp +8 -8
- package/worker/src/RTC/WebRtcTransport.cpp +9 -8
- package/worker/src/Settings.cpp +2 -2
- package/worker/src/lib.cpp +1 -2
- package/worker/subprojects/packagefiles/ankerl-unordered-dense/meson.build +5 -0
- package/worker/subprojects/unordered-dense.wrap +9 -0
- package/worker/tasks.py +293 -196
- package/worker/test/src/RTC/ICE/TestStunPacket.cpp +22 -22
- package/worker/test/src/RTC/ICE/iceCommon.cpp +1 -1
- package/worker/test/src/RTC/RTCP/TestFeedbackRtpEcn.cpp +8 -8
- package/worker/test/src/RTC/RTCP/TestFeedbackRtpNack.cpp +1 -1
- package/worker/test/src/RTC/RTCP/TestFeedbackRtpSrReq.cpp +1 -1
- package/worker/test/src/RTC/RTCP/TestFeedbackRtpTllei.cpp +1 -1
- package/worker/test/src/RTC/RTCP/TestFeedbackRtpTmmb.cpp +1 -1
- package/worker/test/src/RTC/RTCP/TestSenderReport.cpp +1 -1
- package/worker/test/src/RTC/RTP/TestPacket.cpp +26 -26
- package/worker/test/src/RTC/RTP/TestSharedPacket.cpp +1 -1
- package/worker/test/src/RTC/RTP/rtpCommon.cpp +1 -1
- package/worker/test/src/RTC/SCTP/association/TestNegotiatedCapabilities.cpp +4 -4
- package/worker/test/src/RTC/SCTP/packet/TestPacket.cpp +14 -14
- package/worker/test/src/RTC/SCTP/packet/chunks/TestAbortAssociationChunk.cpp +4 -4
- package/worker/test/src/RTC/SCTP/packet/chunks/TestCookieAckChunk.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/chunks/TestCookieEchoChunk.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/chunks/TestForwardTsnChunk.cpp +3 -3
- package/worker/test/src/RTC/SCTP/packet/chunks/TestHeartbeatAckChunk.cpp +3 -3
- package/worker/test/src/RTC/SCTP/packet/chunks/TestHeartbeatRequestChunk.cpp +9 -9
- package/worker/test/src/RTC/SCTP/packet/chunks/TestIDataChunk.cpp +2 -2
- package/worker/test/src/RTC/SCTP/packet/chunks/TestIForwardTsnChunk.cpp +3 -3
- package/worker/test/src/RTC/SCTP/packet/chunks/TestInitAckChunk.cpp +3 -3
- package/worker/test/src/RTC/SCTP/packet/chunks/TestInitChunk.cpp +8 -8
- package/worker/test/src/RTC/SCTP/packet/chunks/TestOperationErrorChunk.cpp +7 -7
- package/worker/test/src/RTC/SCTP/packet/chunks/TestReConfigChunk.cpp +6 -6
- package/worker/test/src/RTC/SCTP/packet/chunks/TestSackChunk.cpp +2 -2
- package/worker/test/src/RTC/SCTP/packet/chunks/TestShutdownAckChunk.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/chunks/TestShutdownCompleteChunk.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/chunks/TestUnknownChunk.cpp +2 -2
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestCookieReceivedWhileShuttingDownErrorCause.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestInvalidMandatoryParameterErrorCause.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestInvalidStreamIdentifierErrorCause.cpp +6 -6
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestMissingMandatoryParameterErrorCause.cpp +11 -11
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestNoUserDataErrorCause.cpp +6 -6
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestOutOfResourceErrorCause.cpp +5 -5
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestProtocolViolationErrorCause.cpp +2 -2
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestRestartOfAnAssociationWithNewAddressesErrorCause.cpp +2 -2
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestStaleCookieErrorCause.cpp +6 -6
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestUnknownErrorCause.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestUnrecognizedChunkTypeErrorCause.cpp +2 -2
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestUnrecognizedParametersErrorCause.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestUnresolvableAddressErrorCause.cpp +2 -2
- package/worker/test/src/RTC/SCTP/packet/errorCauses/TestUserInitiatedAbortErrorCause.cpp +2 -2
- package/worker/test/src/RTC/SCTP/packet/parameters/TestAddIncomingStreamsRequestParameter.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/parameters/TestAddOutgoingStreamsRequestParameter.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/parameters/TestCookiePreservativeParameter.cpp +7 -7
- package/worker/test/src/RTC/SCTP/packet/parameters/TestForwardTsnSupportedParameter.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/parameters/TestHeartbeatInfoParameter.cpp +2 -2
- package/worker/test/src/RTC/SCTP/packet/parameters/TestIPv4AddressParameter.cpp +7 -7
- package/worker/test/src/RTC/SCTP/packet/parameters/TestIPv6AddressParameter.cpp +7 -7
- package/worker/test/src/RTC/SCTP/packet/parameters/TestIncomingSsnResetRequestParameter.cpp +2 -2
- package/worker/test/src/RTC/SCTP/packet/parameters/TestOutgoingSsnResetRequestParameter.cpp +2 -2
- package/worker/test/src/RTC/SCTP/packet/parameters/TestReconfigurationResponseParameter.cpp +5 -5
- package/worker/test/src/RTC/SCTP/packet/parameters/TestSsnTsnResetRequestParameter.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/parameters/TestStateCookieParameter.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/parameters/TestSupportedAddressTypesParameter.cpp +6 -6
- package/worker/test/src/RTC/SCTP/packet/parameters/TestSupportedExtensionsParameter.cpp +3 -3
- package/worker/test/src/RTC/SCTP/packet/parameters/TestUnknownParameter.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/parameters/TestUnrecognizedParameterParameter.cpp +1 -1
- package/worker/test/src/RTC/SCTP/packet/parameters/TestZeroChecksumAcceptableParameter.cpp +1 -1
- package/worker/test/src/RTC/SCTP/sctpCommon.cpp +1 -1
- package/worker/test/src/RTC/SCTP/tx/TestOutstandingData.cpp +3 -3
- package/worker/test/src/RTC/SCTP/tx/TestRetransmissionQueue.cpp +1 -1
- package/worker/test/src/RTC/TestNackGenerator.cpp +1 -1
- package/worker/test/src/RTC/TestPortManager.cpp +126 -0
- package/worker/test/src/RTC/TestTransportCongestionControlServer.cpp +2 -2
- package/worker/test/src/RTC/TestTransportTuple.cpp +3 -2
- package/worker/test/src/Utils/TestCrypto.cpp +3 -3
- package/worker/test/src/Utils/TestString.cpp +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
export declare class SctpNegotiatedMaxStreamsNotification implements flatbuffers.IUnpackableObject<SctpNegotiatedMaxStreamsNotificationT> {
|
|
3
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
+
bb_pos: number;
|
|
5
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): SctpNegotiatedMaxStreamsNotification;
|
|
6
|
+
static getRootAsSctpNegotiatedMaxStreamsNotification(bb: flatbuffers.ByteBuffer, obj?: SctpNegotiatedMaxStreamsNotification): SctpNegotiatedMaxStreamsNotification;
|
|
7
|
+
static getSizePrefixedRootAsSctpNegotiatedMaxStreamsNotification(bb: flatbuffers.ByteBuffer, obj?: SctpNegotiatedMaxStreamsNotification): SctpNegotiatedMaxStreamsNotification;
|
|
8
|
+
negotiatedMaxOutboundStreams(): number;
|
|
9
|
+
negotiatedMaxInboundStreams(): number;
|
|
10
|
+
static startSctpNegotiatedMaxStreamsNotification(builder: flatbuffers.Builder): void;
|
|
11
|
+
static addNegotiatedMaxOutboundStreams(builder: flatbuffers.Builder, negotiatedMaxOutboundStreams: number): void;
|
|
12
|
+
static addNegotiatedMaxInboundStreams(builder: flatbuffers.Builder, negotiatedMaxInboundStreams: number): void;
|
|
13
|
+
static endSctpNegotiatedMaxStreamsNotification(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
14
|
+
static createSctpNegotiatedMaxStreamsNotification(builder: flatbuffers.Builder, negotiatedMaxOutboundStreams: number, negotiatedMaxInboundStreams: number): flatbuffers.Offset;
|
|
15
|
+
unpack(): SctpNegotiatedMaxStreamsNotificationT;
|
|
16
|
+
unpackTo(_o: SctpNegotiatedMaxStreamsNotificationT): void;
|
|
17
|
+
}
|
|
18
|
+
export declare class SctpNegotiatedMaxStreamsNotificationT implements flatbuffers.IGeneratedObject {
|
|
19
|
+
negotiatedMaxOutboundStreams: number;
|
|
20
|
+
negotiatedMaxInboundStreams: number;
|
|
21
|
+
constructor(negotiatedMaxOutboundStreams?: number, negotiatedMaxInboundStreams?: number);
|
|
22
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=sctp-negotiated-max-streams-notification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sctp-negotiated-max-streams-notification.d.ts","sourceRoot":"","sources":["../../../src/fbs/transport/sctp-negotiated-max-streams-notification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,oCAAqC,YAAW,WAAW,CAAC,iBAAiB,CAAC,qCAAqC,CAAC;IAC/H,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,oCAAoC;IAMlF,MAAM,CAAC,6CAA6C,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,oCAAoC,GAAE,oCAAoC;IAI/J,MAAM,CAAC,yDAAyD,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,oCAAoC,GAAE,oCAAoC;IAK3K,4BAA4B,IAAG,MAAM;IAKrC,2BAA2B,IAAG,MAAM;IAKpC,MAAM,CAAC,yCAAyC,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAI5E,MAAM,CAAC,+BAA+B,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,4BAA4B,EAAC,MAAM;IAIvG,MAAM,CAAC,8BAA8B,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,2BAA2B,EAAC,MAAM;IAIrG,MAAM,CAAC,uCAAuC,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAK9F,MAAM,CAAC,0CAA0C,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,4BAA4B,EAAC,MAAM,EAAE,2BAA2B,EAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAO1K,MAAM,IAAI,qCAAqC;IAQ/C,QAAQ,CAAC,EAAE,EAAE,qCAAqC,GAAG,IAAI;CAIxD;AAED,qBAAa,qCAAsC,YAAW,WAAW,CAAC,gBAAgB;IAEjF,4BAA4B,EAAE,MAAM;IACpC,2BAA2B,EAAE,MAAM;gBADnC,4BAA4B,GAAE,MAAU,EACxC,2BAA2B,GAAE,MAAU;IAIhD,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAMpD"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// automatically generated by the FlatBuffers compiler, do not modify
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SctpNegotiatedMaxStreamsNotificationT = exports.SctpNegotiatedMaxStreamsNotification = void 0;
|
|
38
|
+
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
39
|
+
const flatbuffers = __importStar(require("flatbuffers"));
|
|
40
|
+
class SctpNegotiatedMaxStreamsNotification {
|
|
41
|
+
bb = null;
|
|
42
|
+
bb_pos = 0;
|
|
43
|
+
__init(i, bb) {
|
|
44
|
+
this.bb_pos = i;
|
|
45
|
+
this.bb = bb;
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
static getRootAsSctpNegotiatedMaxStreamsNotification(bb, obj) {
|
|
49
|
+
return (obj || new SctpNegotiatedMaxStreamsNotification()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
50
|
+
}
|
|
51
|
+
static getSizePrefixedRootAsSctpNegotiatedMaxStreamsNotification(bb, obj) {
|
|
52
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
53
|
+
return (obj || new SctpNegotiatedMaxStreamsNotification()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
54
|
+
}
|
|
55
|
+
negotiatedMaxOutboundStreams() {
|
|
56
|
+
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
57
|
+
return offset ? this.bb.readUint16(this.bb_pos + offset) : 0;
|
|
58
|
+
}
|
|
59
|
+
negotiatedMaxInboundStreams() {
|
|
60
|
+
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
61
|
+
return offset ? this.bb.readUint16(this.bb_pos + offset) : 0;
|
|
62
|
+
}
|
|
63
|
+
static startSctpNegotiatedMaxStreamsNotification(builder) {
|
|
64
|
+
builder.startObject(2);
|
|
65
|
+
}
|
|
66
|
+
static addNegotiatedMaxOutboundStreams(builder, negotiatedMaxOutboundStreams) {
|
|
67
|
+
builder.addFieldInt16(0, negotiatedMaxOutboundStreams, 0);
|
|
68
|
+
}
|
|
69
|
+
static addNegotiatedMaxInboundStreams(builder, negotiatedMaxInboundStreams) {
|
|
70
|
+
builder.addFieldInt16(1, negotiatedMaxInboundStreams, 0);
|
|
71
|
+
}
|
|
72
|
+
static endSctpNegotiatedMaxStreamsNotification(builder) {
|
|
73
|
+
const offset = builder.endObject();
|
|
74
|
+
return offset;
|
|
75
|
+
}
|
|
76
|
+
static createSctpNegotiatedMaxStreamsNotification(builder, negotiatedMaxOutboundStreams, negotiatedMaxInboundStreams) {
|
|
77
|
+
SctpNegotiatedMaxStreamsNotification.startSctpNegotiatedMaxStreamsNotification(builder);
|
|
78
|
+
SctpNegotiatedMaxStreamsNotification.addNegotiatedMaxOutboundStreams(builder, negotiatedMaxOutboundStreams);
|
|
79
|
+
SctpNegotiatedMaxStreamsNotification.addNegotiatedMaxInboundStreams(builder, negotiatedMaxInboundStreams);
|
|
80
|
+
return SctpNegotiatedMaxStreamsNotification.endSctpNegotiatedMaxStreamsNotification(builder);
|
|
81
|
+
}
|
|
82
|
+
unpack() {
|
|
83
|
+
return new SctpNegotiatedMaxStreamsNotificationT(this.negotiatedMaxOutboundStreams(), this.negotiatedMaxInboundStreams());
|
|
84
|
+
}
|
|
85
|
+
unpackTo(_o) {
|
|
86
|
+
_o.negotiatedMaxOutboundStreams = this.negotiatedMaxOutboundStreams();
|
|
87
|
+
_o.negotiatedMaxInboundStreams = this.negotiatedMaxInboundStreams();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.SctpNegotiatedMaxStreamsNotification = SctpNegotiatedMaxStreamsNotification;
|
|
91
|
+
class SctpNegotiatedMaxStreamsNotificationT {
|
|
92
|
+
negotiatedMaxOutboundStreams;
|
|
93
|
+
negotiatedMaxInboundStreams;
|
|
94
|
+
constructor(negotiatedMaxOutboundStreams = 0, negotiatedMaxInboundStreams = 0) {
|
|
95
|
+
this.negotiatedMaxOutboundStreams = negotiatedMaxOutboundStreams;
|
|
96
|
+
this.negotiatedMaxInboundStreams = negotiatedMaxInboundStreams;
|
|
97
|
+
}
|
|
98
|
+
pack(builder) {
|
|
99
|
+
return SctpNegotiatedMaxStreamsNotification.createSctpNegotiatedMaxStreamsNotification(builder, this.negotiatedMaxOutboundStreams, this.negotiatedMaxInboundStreams);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.SctpNegotiatedMaxStreamsNotificationT = SctpNegotiatedMaxStreamsNotificationT;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
export declare class SctpNegotiatedOptionsNotification implements flatbuffers.IUnpackableObject<SctpNegotiatedOptionsNotificationT> {
|
|
3
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
+
bb_pos: number;
|
|
5
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): SctpNegotiatedOptionsNotification;
|
|
6
|
+
static getRootAsSctpNegotiatedOptionsNotification(bb: flatbuffers.ByteBuffer, obj?: SctpNegotiatedOptionsNotification): SctpNegotiatedOptionsNotification;
|
|
7
|
+
static getSizePrefixedRootAsSctpNegotiatedOptionsNotification(bb: flatbuffers.ByteBuffer, obj?: SctpNegotiatedOptionsNotification): SctpNegotiatedOptionsNotification;
|
|
8
|
+
negotiatedMaxOutboundStreams(): number;
|
|
9
|
+
negotiatedMaxInboundStreams(): number;
|
|
10
|
+
static startSctpNegotiatedOptionsNotification(builder: flatbuffers.Builder): void;
|
|
11
|
+
static addNegotiatedMaxOutboundStreams(builder: flatbuffers.Builder, negotiatedMaxOutboundStreams: number): void;
|
|
12
|
+
static addNegotiatedMaxInboundStreams(builder: flatbuffers.Builder, negotiatedMaxInboundStreams: number): void;
|
|
13
|
+
static endSctpNegotiatedOptionsNotification(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
14
|
+
static createSctpNegotiatedOptionsNotification(builder: flatbuffers.Builder, negotiatedMaxOutboundStreams: number, negotiatedMaxInboundStreams: number): flatbuffers.Offset;
|
|
15
|
+
unpack(): SctpNegotiatedOptionsNotificationT;
|
|
16
|
+
unpackTo(_o: SctpNegotiatedOptionsNotificationT): void;
|
|
17
|
+
}
|
|
18
|
+
export declare class SctpNegotiatedOptionsNotificationT implements flatbuffers.IGeneratedObject {
|
|
19
|
+
negotiatedMaxOutboundStreams: number;
|
|
20
|
+
negotiatedMaxInboundStreams: number;
|
|
21
|
+
constructor(negotiatedMaxOutboundStreams?: number, negotiatedMaxInboundStreams?: number);
|
|
22
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=sctp-negotiated-options-notification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sctp-negotiated-options-notification.d.ts","sourceRoot":"","sources":["../../../src/fbs/transport/sctp-negotiated-options-notification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,iCAAkC,YAAW,WAAW,CAAC,iBAAiB,CAAC,kCAAkC,CAAC;IACzH,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,iCAAiC;IAM/E,MAAM,CAAC,0CAA0C,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,iCAAiC,GAAE,iCAAiC;IAItJ,MAAM,CAAC,sDAAsD,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,iCAAiC,GAAE,iCAAiC;IAKlK,4BAA4B,IAAG,MAAM;IAKrC,2BAA2B,IAAG,MAAM;IAKpC,MAAM,CAAC,sCAAsC,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIzE,MAAM,CAAC,+BAA+B,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,4BAA4B,EAAC,MAAM;IAIvG,MAAM,CAAC,8BAA8B,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,2BAA2B,EAAC,MAAM;IAIrG,MAAM,CAAC,oCAAoC,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAK3F,MAAM,CAAC,uCAAuC,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,4BAA4B,EAAC,MAAM,EAAE,2BAA2B,EAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAOvK,MAAM,IAAI,kCAAkC;IAQ5C,QAAQ,CAAC,EAAE,EAAE,kCAAkC,GAAG,IAAI;CAIrD;AAED,qBAAa,kCAAmC,YAAW,WAAW,CAAC,gBAAgB;IAE9E,4BAA4B,EAAE,MAAM;IACpC,2BAA2B,EAAE,MAAM;gBADnC,4BAA4B,GAAE,MAAU,EACxC,2BAA2B,GAAE,MAAU;IAIhD,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAMpD"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// automatically generated by the FlatBuffers compiler, do not modify
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SctpNegotiatedOptionsNotificationT = exports.SctpNegotiatedOptionsNotification = void 0;
|
|
38
|
+
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
39
|
+
const flatbuffers = __importStar(require("flatbuffers"));
|
|
40
|
+
class SctpNegotiatedOptionsNotification {
|
|
41
|
+
bb = null;
|
|
42
|
+
bb_pos = 0;
|
|
43
|
+
__init(i, bb) {
|
|
44
|
+
this.bb_pos = i;
|
|
45
|
+
this.bb = bb;
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
static getRootAsSctpNegotiatedOptionsNotification(bb, obj) {
|
|
49
|
+
return (obj || new SctpNegotiatedOptionsNotification()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
50
|
+
}
|
|
51
|
+
static getSizePrefixedRootAsSctpNegotiatedOptionsNotification(bb, obj) {
|
|
52
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
53
|
+
return (obj || new SctpNegotiatedOptionsNotification()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
54
|
+
}
|
|
55
|
+
negotiatedMaxOutboundStreams() {
|
|
56
|
+
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
57
|
+
return offset ? this.bb.readUint16(this.bb_pos + offset) : 0;
|
|
58
|
+
}
|
|
59
|
+
negotiatedMaxInboundStreams() {
|
|
60
|
+
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
61
|
+
return offset ? this.bb.readUint16(this.bb_pos + offset) : 0;
|
|
62
|
+
}
|
|
63
|
+
static startSctpNegotiatedOptionsNotification(builder) {
|
|
64
|
+
builder.startObject(2);
|
|
65
|
+
}
|
|
66
|
+
static addNegotiatedMaxOutboundStreams(builder, negotiatedMaxOutboundStreams) {
|
|
67
|
+
builder.addFieldInt16(0, negotiatedMaxOutboundStreams, 0);
|
|
68
|
+
}
|
|
69
|
+
static addNegotiatedMaxInboundStreams(builder, negotiatedMaxInboundStreams) {
|
|
70
|
+
builder.addFieldInt16(1, negotiatedMaxInboundStreams, 0);
|
|
71
|
+
}
|
|
72
|
+
static endSctpNegotiatedOptionsNotification(builder) {
|
|
73
|
+
const offset = builder.endObject();
|
|
74
|
+
return offset;
|
|
75
|
+
}
|
|
76
|
+
static createSctpNegotiatedOptionsNotification(builder, negotiatedMaxOutboundStreams, negotiatedMaxInboundStreams) {
|
|
77
|
+
SctpNegotiatedOptionsNotification.startSctpNegotiatedOptionsNotification(builder);
|
|
78
|
+
SctpNegotiatedOptionsNotification.addNegotiatedMaxOutboundStreams(builder, negotiatedMaxOutboundStreams);
|
|
79
|
+
SctpNegotiatedOptionsNotification.addNegotiatedMaxInboundStreams(builder, negotiatedMaxInboundStreams);
|
|
80
|
+
return SctpNegotiatedOptionsNotification.endSctpNegotiatedOptionsNotification(builder);
|
|
81
|
+
}
|
|
82
|
+
unpack() {
|
|
83
|
+
return new SctpNegotiatedOptionsNotificationT(this.negotiatedMaxOutboundStreams(), this.negotiatedMaxInboundStreams());
|
|
84
|
+
}
|
|
85
|
+
unpackTo(_o) {
|
|
86
|
+
_o.negotiatedMaxOutboundStreams = this.negotiatedMaxOutboundStreams();
|
|
87
|
+
_o.negotiatedMaxInboundStreams = this.negotiatedMaxInboundStreams();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.SctpNegotiatedOptionsNotification = SctpNegotiatedOptionsNotification;
|
|
91
|
+
class SctpNegotiatedOptionsNotificationT {
|
|
92
|
+
negotiatedMaxOutboundStreams;
|
|
93
|
+
negotiatedMaxInboundStreams;
|
|
94
|
+
constructor(negotiatedMaxOutboundStreams = 0, negotiatedMaxInboundStreams = 0) {
|
|
95
|
+
this.negotiatedMaxOutboundStreams = negotiatedMaxOutboundStreams;
|
|
96
|
+
this.negotiatedMaxInboundStreams = negotiatedMaxInboundStreams;
|
|
97
|
+
}
|
|
98
|
+
pack(builder) {
|
|
99
|
+
return SctpNegotiatedOptionsNotification.createSctpNegotiatedOptionsNotification(builder, this.negotiatedMaxOutboundStreams, this.negotiatedMaxInboundStreams);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.SctpNegotiatedOptionsNotificationT = SctpNegotiatedOptionsNotificationT;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
export declare class CloseNotification implements flatbuffers.IUnpackableObject<CloseNotificationT> {
|
|
3
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
+
bb_pos: number;
|
|
5
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): CloseNotification;
|
|
6
|
+
static getRootAsCloseNotification(bb: flatbuffers.ByteBuffer, obj?: CloseNotification): CloseNotification;
|
|
7
|
+
static getSizePrefixedRootAsCloseNotification(bb: flatbuffers.ByteBuffer, obj?: CloseNotification): CloseNotification;
|
|
8
|
+
static startCloseNotification(builder: flatbuffers.Builder): void;
|
|
9
|
+
static endCloseNotification(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
10
|
+
static createCloseNotification(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
11
|
+
unpack(): CloseNotificationT;
|
|
12
|
+
unpackTo(_o: CloseNotificationT): void;
|
|
13
|
+
}
|
|
14
|
+
export declare class CloseNotificationT implements flatbuffers.IGeneratedObject {
|
|
15
|
+
constructor();
|
|
16
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=close-notification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"close-notification.d.ts","sourceRoot":"","sources":["../../../src/fbs/worker/close-notification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,iBAAkB,YAAW,WAAW,CAAC,iBAAiB,CAAC,kBAAkB,CAAC;IACzF,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,iBAAiB;IAM/D,MAAM,CAAC,0BAA0B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,iBAAiB,GAAE,iBAAiB;IAItG,MAAM,CAAC,sCAAsC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,iBAAiB,GAAE,iBAAiB;IAKlH,MAAM,CAAC,sBAAsB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIzD,MAAM,CAAC,oBAAoB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAK3E,MAAM,CAAC,uBAAuB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAK9E,MAAM,IAAI,kBAAkB;IAK5B,QAAQ,CAAC,EAAE,EAAE,kBAAkB,GAAG,IAAI;CACrC;AAED,qBAAa,kBAAmB,YAAW,WAAW,CAAC,gBAAgB;;IAIvE,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAGpD"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// automatically generated by the FlatBuffers compiler, do not modify
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.CloseNotificationT = exports.CloseNotification = void 0;
|
|
38
|
+
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
39
|
+
const flatbuffers = __importStar(require("flatbuffers"));
|
|
40
|
+
class CloseNotification {
|
|
41
|
+
bb = null;
|
|
42
|
+
bb_pos = 0;
|
|
43
|
+
__init(i, bb) {
|
|
44
|
+
this.bb_pos = i;
|
|
45
|
+
this.bb = bb;
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
static getRootAsCloseNotification(bb, obj) {
|
|
49
|
+
return (obj || new CloseNotification()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
50
|
+
}
|
|
51
|
+
static getSizePrefixedRootAsCloseNotification(bb, obj) {
|
|
52
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
53
|
+
return (obj || new CloseNotification()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
54
|
+
}
|
|
55
|
+
static startCloseNotification(builder) {
|
|
56
|
+
builder.startObject(0);
|
|
57
|
+
}
|
|
58
|
+
static endCloseNotification(builder) {
|
|
59
|
+
const offset = builder.endObject();
|
|
60
|
+
return offset;
|
|
61
|
+
}
|
|
62
|
+
static createCloseNotification(builder) {
|
|
63
|
+
CloseNotification.startCloseNotification(builder);
|
|
64
|
+
return CloseNotification.endCloseNotification(builder);
|
|
65
|
+
}
|
|
66
|
+
unpack() {
|
|
67
|
+
return new CloseNotificationT();
|
|
68
|
+
}
|
|
69
|
+
unpackTo(_o) { }
|
|
70
|
+
}
|
|
71
|
+
exports.CloseNotification = CloseNotification;
|
|
72
|
+
class CloseNotificationT {
|
|
73
|
+
constructor() { }
|
|
74
|
+
pack(builder) {
|
|
75
|
+
return CloseNotification.createCloseNotification(builder);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.CloseNotificationT = CloseNotificationT;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
export declare class CloseRequest implements flatbuffers.IUnpackableObject<CloseRequestT> {
|
|
3
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
+
bb_pos: number;
|
|
5
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): CloseRequest;
|
|
6
|
+
static getRootAsCloseRequest(bb: flatbuffers.ByteBuffer, obj?: CloseRequest): CloseRequest;
|
|
7
|
+
static getSizePrefixedRootAsCloseRequest(bb: flatbuffers.ByteBuffer, obj?: CloseRequest): CloseRequest;
|
|
8
|
+
static startCloseRequest(builder: flatbuffers.Builder): void;
|
|
9
|
+
static endCloseRequest(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
10
|
+
static createCloseRequest(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
11
|
+
unpack(): CloseRequestT;
|
|
12
|
+
unpackTo(_o: CloseRequestT): void;
|
|
13
|
+
}
|
|
14
|
+
export declare class CloseRequestT implements flatbuffers.IGeneratedObject {
|
|
15
|
+
constructor();
|
|
16
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=close-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"close-request.d.ts","sourceRoot":"","sources":["../../../src/fbs/worker/close-request.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,YAAa,YAAW,WAAW,CAAC,iBAAiB,CAAC,aAAa,CAAC;IAC/E,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,YAAY;IAM1D,MAAM,CAAC,qBAAqB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,YAAY,GAAE,YAAY;IAIvF,MAAM,CAAC,iCAAiC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,YAAY,GAAE,YAAY;IAKnG,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIpD,MAAM,CAAC,eAAe,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAKtE,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAKzE,MAAM,IAAI,aAAa;IAKvB,QAAQ,CAAC,EAAE,EAAE,aAAa,GAAG,IAAI;CAChC;AAED,qBAAa,aAAc,YAAW,WAAW,CAAC,gBAAgB;;IAIlE,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAGpD"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// automatically generated by the FlatBuffers compiler, do not modify
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.CloseRequestT = exports.CloseRequest = void 0;
|
|
38
|
+
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
39
|
+
const flatbuffers = __importStar(require("flatbuffers"));
|
|
40
|
+
class CloseRequest {
|
|
41
|
+
bb = null;
|
|
42
|
+
bb_pos = 0;
|
|
43
|
+
__init(i, bb) {
|
|
44
|
+
this.bb_pos = i;
|
|
45
|
+
this.bb = bb;
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
static getRootAsCloseRequest(bb, obj) {
|
|
49
|
+
return (obj || new CloseRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
50
|
+
}
|
|
51
|
+
static getSizePrefixedRootAsCloseRequest(bb, obj) {
|
|
52
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
53
|
+
return (obj || new CloseRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
54
|
+
}
|
|
55
|
+
static startCloseRequest(builder) {
|
|
56
|
+
builder.startObject(0);
|
|
57
|
+
}
|
|
58
|
+
static endCloseRequest(builder) {
|
|
59
|
+
const offset = builder.endObject();
|
|
60
|
+
return offset;
|
|
61
|
+
}
|
|
62
|
+
static createCloseRequest(builder) {
|
|
63
|
+
CloseRequest.startCloseRequest(builder);
|
|
64
|
+
return CloseRequest.endCloseRequest(builder);
|
|
65
|
+
}
|
|
66
|
+
unpack() {
|
|
67
|
+
return new CloseRequestT();
|
|
68
|
+
}
|
|
69
|
+
unpackTo(_o) { }
|
|
70
|
+
}
|
|
71
|
+
exports.CloseRequest = CloseRequest;
|
|
72
|
+
class CloseRequestT {
|
|
73
|
+
constructor() { }
|
|
74
|
+
pack(builder) {
|
|
75
|
+
return CloseRequest.createCloseRequest(builder);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.CloseRequestT = CloseRequestT;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
export declare class CloseWorkerNotification implements flatbuffers.IUnpackableObject<CloseWorkerNotificationT> {
|
|
3
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
+
bb_pos: number;
|
|
5
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): CloseWorkerNotification;
|
|
6
|
+
static getRootAsCloseWorkerNotification(bb: flatbuffers.ByteBuffer, obj?: CloseWorkerNotification): CloseWorkerNotification;
|
|
7
|
+
static getSizePrefixedRootAsCloseWorkerNotification(bb: flatbuffers.ByteBuffer, obj?: CloseWorkerNotification): CloseWorkerNotification;
|
|
8
|
+
static startCloseWorkerNotification(builder: flatbuffers.Builder): void;
|
|
9
|
+
static endCloseWorkerNotification(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
10
|
+
static createCloseWorkerNotification(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
11
|
+
unpack(): CloseWorkerNotificationT;
|
|
12
|
+
unpackTo(_o: CloseWorkerNotificationT): void;
|
|
13
|
+
}
|
|
14
|
+
export declare class CloseWorkerNotificationT implements flatbuffers.IGeneratedObject {
|
|
15
|
+
constructor();
|
|
16
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=close-worker-notification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"close-worker-notification.d.ts","sourceRoot":"","sources":["../../../src/fbs/worker/close-worker-notification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,uBAAwB,YAAW,WAAW,CAAC,iBAAiB,CAAC,wBAAwB,CAAC;IACrG,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,uBAAuB;IAMrE,MAAM,CAAC,gCAAgC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,uBAAuB,GAAE,uBAAuB;IAIxH,MAAM,CAAC,4CAA4C,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,uBAAuB,GAAE,uBAAuB;IAKpI,MAAM,CAAC,4BAA4B,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAI/D,MAAM,CAAC,0BAA0B,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAKjF,MAAM,CAAC,6BAA6B,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAKpF,MAAM,IAAI,wBAAwB;IAKlC,QAAQ,CAAC,EAAE,EAAE,wBAAwB,GAAG,IAAI;CAC3C;AAED,qBAAa,wBAAyB,YAAW,WAAW,CAAC,gBAAgB;;IAI7E,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAGpD"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// automatically generated by the FlatBuffers compiler, do not modify
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.CloseWorkerNotificationT = exports.CloseWorkerNotification = void 0;
|
|
38
|
+
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
39
|
+
const flatbuffers = __importStar(require("flatbuffers"));
|
|
40
|
+
class CloseWorkerNotification {
|
|
41
|
+
bb = null;
|
|
42
|
+
bb_pos = 0;
|
|
43
|
+
__init(i, bb) {
|
|
44
|
+
this.bb_pos = i;
|
|
45
|
+
this.bb = bb;
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
static getRootAsCloseWorkerNotification(bb, obj) {
|
|
49
|
+
return (obj || new CloseWorkerNotification()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
50
|
+
}
|
|
51
|
+
static getSizePrefixedRootAsCloseWorkerNotification(bb, obj) {
|
|
52
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
53
|
+
return (obj || new CloseWorkerNotification()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
54
|
+
}
|
|
55
|
+
static startCloseWorkerNotification(builder) {
|
|
56
|
+
builder.startObject(0);
|
|
57
|
+
}
|
|
58
|
+
static endCloseWorkerNotification(builder) {
|
|
59
|
+
const offset = builder.endObject();
|
|
60
|
+
return offset;
|
|
61
|
+
}
|
|
62
|
+
static createCloseWorkerNotification(builder) {
|
|
63
|
+
CloseWorkerNotification.startCloseWorkerNotification(builder);
|
|
64
|
+
return CloseWorkerNotification.endCloseWorkerNotification(builder);
|
|
65
|
+
}
|
|
66
|
+
unpack() {
|
|
67
|
+
return new CloseWorkerNotificationT();
|
|
68
|
+
}
|
|
69
|
+
unpackTo(_o) { }
|
|
70
|
+
}
|
|
71
|
+
exports.CloseWorkerNotification = CloseWorkerNotification;
|
|
72
|
+
class CloseWorkerNotificationT {
|
|
73
|
+
constructor() { }
|
|
74
|
+
pack(builder) {
|
|
75
|
+
return CloseWorkerNotification.createCloseWorkerNotification(builder);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.CloseWorkerNotificationT = CloseWorkerNotificationT;
|
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
export type SctpParameters = {
|
|
2
|
+
/**
|
|
3
|
+
* SCTP source port of the transport.
|
|
4
|
+
*/
|
|
2
5
|
port: number;
|
|
6
|
+
/**
|
|
7
|
+
* Maximum size for SCTP messages sent by DataConsumers (in bytes).
|
|
8
|
+
*/
|
|
3
9
|
maxSendMessageSize: number;
|
|
10
|
+
/**
|
|
11
|
+
* Maximum size for SCTP messages received by DataProducers (in bytes).
|
|
12
|
+
*/
|
|
4
13
|
maxReceiveMessageSize: number;
|
|
14
|
+
/**
|
|
15
|
+
* Maximum SCTP send buffer used by DataConsumers (in bytes).
|
|
16
|
+
*/
|
|
5
17
|
sendBufferSize: number;
|
|
18
|
+
/**
|
|
19
|
+
* Per stream send queue size limit. Similar to `sendBufferSize`, but
|
|
20
|
+
* limiting the size of individual streams.
|
|
21
|
+
*/
|
|
6
22
|
perStreamSendQueueLimit: number;
|
|
23
|
+
/**
|
|
24
|
+
* Maximum received window buffer size (in bytes).
|
|
25
|
+
*/
|
|
7
26
|
maxReceiverWindowBufferSize: number;
|
|
27
|
+
/**
|
|
28
|
+
* Whether this is a WebRTC DataChannel based SCTP association. Only `true`
|
|
29
|
+
* in WebRTC transports.
|
|
30
|
+
*/
|
|
8
31
|
isDataChannel: boolean;
|
|
9
32
|
OS: number;
|
|
10
33
|
MIS: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sctpParametersTypes.d.ts","sourceRoot":"","sources":["../src/sctpParametersTypes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"sctpParametersTypes.d.ts","sourceRoot":"","sources":["../src/sctpParametersTypes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;IAEpC;;;OAGG;IACH,aAAa,EAAE,OAAO,CAAC;IAGvB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACxC,4BAA4B,EAAE,MAAM,CAAC;IACrC,2BAA2B,EAAE,MAAM,CAAC;CACpC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|