mediasoup 3.16.1 → 3.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediasoup",
3
- "version": "3.16.1",
3
+ "version": "3.16.2",
4
4
  "description": "Cutting Edge WebRTC Video Conferencing",
5
5
  "contributors": [
6
6
  "Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)",
@@ -111,10 +111,10 @@
111
111
  "eslint-plugin-prettier": "^5.5.1",
112
112
  "globals": "^16.2.0",
113
113
  "jest": "^30.0.3",
114
- "marked": "^15.0.12",
114
+ "marked": "^16.0.0",
115
115
  "open-cli": "^8.0.0",
116
116
  "pick-port": "^2.1.0",
117
- "prettier": "^3.6.1",
117
+ "prettier": "^3.6.2",
118
118
  "sctp": "^1.0.0",
119
119
  "ts-jest": "^29.4.0",
120
120
  "typescript": "^5.8.3",
@@ -265,8 +265,10 @@ namespace RTC
265
265
 
266
266
  // Store the packet for the scenario in which this packet is part of the
267
267
  // key frame and it arrived before the first packet of the key frame.
268
- StorePacketInTargetLayerRetransmissionBuffer(
269
- targetLayerRetransmissionBuffer, packet, sharedPacket);
268
+ // TODO: Uncomment once this issue is fixed:
269
+ // https://github.com/versatica/mediasoup/issues/1554
270
+ // StorePacketInTargetLayerRetransmissionBuffer(
271
+ // targetLayerRetransmissionBuffer, packet, sharedPacket);
270
272
 
271
273
  return;
272
274
  }
@@ -3,6 +3,7 @@
3
3
 
4
4
  #include "RTC/RtcLogger.hpp"
5
5
  #include "Logger.hpp"
6
+ #include <sstream>
6
7
 
7
8
  namespace RTC
8
9
  {
@@ -52,42 +53,41 @@ namespace RTC
52
53
  {
53
54
  MS_TRACE();
54
55
 
55
- // TODO: Here we are using std::cout() which means that it's directly
56
- // written to stdout. When in Node, it means that Worker.ts captures it
57
- // and prints it ONLY if DEBUG env contains "Worker", and it prefixes the
58
- // log with "(stdout)". We should move to MS_DUMP() or MS_DUMP_CLEAN().
56
+ std::stringstream ss;
59
57
 
60
- std::cout << "{";
61
- std::cout << "\"timestamp\": " << this->timestamp;
58
+ ss << "{";
59
+ ss << "\"timestamp\": " << this->timestamp;
62
60
 
63
61
  if (!this->recvTransportId.empty())
64
62
  {
65
- std::cout << R"(, "recvTransportId": ")" << this->recvTransportId << "\"";
63
+ ss << R"(, "recvTransportId": ")" << this->recvTransportId << "\"";
66
64
  }
67
65
  if (!this->sendTransportId.empty())
68
66
  {
69
- std::cout << R"(, "sendTransportId": ")" << this->sendTransportId << "\"";
67
+ ss << R"(, "sendTransportId": ")" << this->sendTransportId << "\"";
70
68
  }
71
69
  if (!this->routerId.empty())
72
70
  {
73
- std::cout << R"(, "routerId": ")" << this->routerId << "\"";
71
+ ss << R"(, "routerId": ")" << this->routerId << "\"";
74
72
  }
75
73
  if (!this->producerId.empty())
76
74
  {
77
- std::cout << R"(, "producerId": ")" << this->producerId << "\"";
75
+ ss << R"(, "producerId": ")" << this->producerId << "\"";
78
76
  }
79
77
  if (!this->consumerId.empty())
80
78
  {
81
- std::cout << R"(, "consumerId": ")" << this->consumerId << "\"";
79
+ ss << R"(, "consumerId": ")" << this->consumerId << "\"";
82
80
  }
83
81
 
84
- std::cout << ", \"recvRtpTimestamp\": " << this->recvRtpTimestamp;
85
- std::cout << ", \"sendRtpTimestamp\": " << this->sendRtpTimestamp;
86
- std::cout << ", \"recvSeqNumber\": " << this->recvSeqNumber;
87
- std::cout << ", \"sendSeqNumber\": " << this->sendSeqNumber;
88
- std::cout << ", \"discarded\": " << (this->discarded ? "true" : "false");
89
- std::cout << ", \"discardReason\": '" << discardReason2String[this->discardReason] << "'";
90
- std::cout << "}" << std::endl;
82
+ ss << ", \"recvRtpTimestamp\": " << this->recvRtpTimestamp;
83
+ ss << ", \"sendRtpTimestamp\": " << this->sendRtpTimestamp;
84
+ ss << ", \"recvSeqNumber\": " << this->recvSeqNumber;
85
+ ss << ", \"sendSeqNumber\": " << this->sendSeqNumber;
86
+ ss << ", \"discarded\": " << (this->discarded ? "true" : "false");
87
+ ss << ", \"discardReason\": '" << discardReason2String[this->discardReason] << "'";
88
+ ss << "}";
89
+
90
+ MS_DUMP("%s", ss.str().c_str());
91
91
  }
92
92
 
93
93
  void RtpPacket::Clear()
@@ -347,7 +347,9 @@ namespace RTC
347
347
 
348
348
  // Store the packet for the scenario in which this packet is part of the
349
349
  // key frame and it arrived before the first packet of the key frame.
350
- StorePacketInTargetLayerRetransmissionBuffer(packet, sharedPacket);
350
+ // TODO: Uncomment once this issue is fixed:
351
+ // https://github.com/versatica/mediasoup/issues/1554
352
+ // StorePacketInTargetLayerRetransmissionBuffer(packet, sharedPacket);
351
353
 
352
354
  return;
353
355
  }
@@ -811,7 +811,9 @@ namespace RTC
811
811
 
812
812
  // Store the packet for the scenario in which this packet is part of the
813
813
  // key frame and it arrived before the first packet of the key frame.
814
- StorePacketInTargetLayerRetransmissionBuffer(packet, sharedPacket);
814
+ // TODO: Uncomment once this issue is fixed:
815
+ // https://github.com/versatica/mediasoup/issues/1554
816
+ // StorePacketInTargetLayerRetransmissionBuffer(packet, sharedPacket);
815
817
 
816
818
  return;
817
819
  }
@@ -685,7 +685,9 @@ namespace RTC
685
685
 
686
686
  // Store the packet for the scenario in which this packet is part of the
687
687
  // key frame and it arrived before the first packet of the key frame.
688
- StorePacketInTargetLayerRetransmissionBuffer(packet, sharedPacket);
688
+ // TODO: Uncomment once this issue is fixed:
689
+ // https://github.com/versatica/mediasoup/issues/1554
690
+ // StorePacketInTargetLayerRetransmissionBuffer(packet, sharedPacket);
689
691
 
690
692
  return;
691
693
  }
@@ -1,30 +0,0 @@
1
- import * as flatbuffers from 'flatbuffers';
2
- export declare class DegradeRequest implements flatbuffers.IUnpackableObject<DegradeRequestT> {
3
- bb: flatbuffers.ByteBuffer | null;
4
- bb_pos: number;
5
- __init(i: number, bb: flatbuffers.ByteBuffer): DegradeRequest;
6
- static getRootAsDegradeRequest(bb: flatbuffers.ByteBuffer, obj?: DegradeRequest): DegradeRequest;
7
- static getSizePrefixedRootAsDegradeRequest(bb: flatbuffers.ByteBuffer, obj?: DegradeRequest): DegradeRequest;
8
- durationMs(): number;
9
- maxDelayMs(): number;
10
- delayPercent(): number;
11
- lossPercent(): number;
12
- static startDegradeRequest(builder: flatbuffers.Builder): void;
13
- static addDurationMs(builder: flatbuffers.Builder, durationMs: number): void;
14
- static addMaxDelayMs(builder: flatbuffers.Builder, maxDelayMs: number): void;
15
- static addDelayPercent(builder: flatbuffers.Builder, delayPercent: number): void;
16
- static addLossPercent(builder: flatbuffers.Builder, lossPercent: number): void;
17
- static endDegradeRequest(builder: flatbuffers.Builder): flatbuffers.Offset;
18
- static createDegradeRequest(builder: flatbuffers.Builder, durationMs: number, maxDelayMs: number, delayPercent: number, lossPercent: number): flatbuffers.Offset;
19
- unpack(): DegradeRequestT;
20
- unpackTo(_o: DegradeRequestT): void;
21
- }
22
- export declare class DegradeRequestT implements flatbuffers.IGeneratedObject {
23
- durationMs: number;
24
- maxDelayMs: number;
25
- delayPercent: number;
26
- lossPercent: number;
27
- constructor(durationMs?: number, maxDelayMs?: number, delayPercent?: number, lossPercent?: number);
28
- pack(builder: flatbuffers.Builder): flatbuffers.Offset;
29
- }
30
- //# sourceMappingURL=degrade-request.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"degrade-request.d.ts","sourceRoot":"","sources":["../../../src/fbs/consumer/degrade-request.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,cAAe,YAAW,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC;IACnF,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,cAAc;IAM5D,MAAM,CAAC,uBAAuB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,cAAc,GAAE,cAAc;IAI7F,MAAM,CAAC,mCAAmC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,cAAc,GAAE,cAAc;IAKzG,UAAU,IAAG,MAAM;IAKnB,UAAU,IAAG,MAAM;IAKnB,YAAY,IAAG,MAAM;IAKrB,WAAW,IAAG,MAAM;IAKpB,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAItD,MAAM,CAAC,aAAa,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,UAAU,EAAC,MAAM;IAInE,MAAM,CAAC,aAAa,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,UAAU,EAAC,MAAM;IAInE,MAAM,CAAC,eAAe,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,YAAY,EAAC,MAAM;IAIvE,MAAM,CAAC,cAAc,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,WAAW,EAAC,MAAM;IAIrE,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAKxE,MAAM,CAAC,oBAAoB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,UAAU,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,EAAE,YAAY,EAAC,MAAM,EAAE,WAAW,EAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAS1J,MAAM,IAAI,eAAe;IAUzB,QAAQ,CAAC,EAAE,EAAE,eAAe,GAAG,IAAI;CAMlC;AAED,qBAAa,eAAgB,YAAW,WAAW,CAAC,gBAAgB;IAE3D,UAAU,EAAE,MAAM;IAClB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,MAAM;IACpB,WAAW,EAAE,MAAM;gBAHnB,UAAU,GAAE,MAAU,EACtB,UAAU,GAAE,MAAU,EACtB,YAAY,GAAE,MAAU,EACxB,WAAW,GAAE,MAAU;IAIhC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAQpD"}
@@ -1,91 +0,0 @@
1
- "use strict";
2
- // automatically generated by the FlatBuffers compiler, do not modify
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.DegradeRequestT = exports.DegradeRequest = void 0;
5
- /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
6
- const flatbuffers = require("flatbuffers");
7
- class DegradeRequest {
8
- bb = null;
9
- bb_pos = 0;
10
- __init(i, bb) {
11
- this.bb_pos = i;
12
- this.bb = bb;
13
- return this;
14
- }
15
- static getRootAsDegradeRequest(bb, obj) {
16
- return (obj || new DegradeRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
17
- }
18
- static getSizePrefixedRootAsDegradeRequest(bb, obj) {
19
- bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
20
- return (obj || new DegradeRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
21
- }
22
- durationMs() {
23
- const offset = this.bb.__offset(this.bb_pos, 4);
24
- return offset ? this.bb.readUint32(this.bb_pos + offset) : 0;
25
- }
26
- maxDelayMs() {
27
- const offset = this.bb.__offset(this.bb_pos, 6);
28
- return offset ? this.bb.readUint16(this.bb_pos + offset) : 0;
29
- }
30
- delayPercent() {
31
- const offset = this.bb.__offset(this.bb_pos, 8);
32
- return offset ? this.bb.readUint8(this.bb_pos + offset) : 0;
33
- }
34
- lossPercent() {
35
- const offset = this.bb.__offset(this.bb_pos, 10);
36
- return offset ? this.bb.readUint8(this.bb_pos + offset) : 0;
37
- }
38
- static startDegradeRequest(builder) {
39
- builder.startObject(4);
40
- }
41
- static addDurationMs(builder, durationMs) {
42
- builder.addFieldInt32(0, durationMs, 0);
43
- }
44
- static addMaxDelayMs(builder, maxDelayMs) {
45
- builder.addFieldInt16(1, maxDelayMs, 0);
46
- }
47
- static addDelayPercent(builder, delayPercent) {
48
- builder.addFieldInt8(2, delayPercent, 0);
49
- }
50
- static addLossPercent(builder, lossPercent) {
51
- builder.addFieldInt8(3, lossPercent, 0);
52
- }
53
- static endDegradeRequest(builder) {
54
- const offset = builder.endObject();
55
- return offset;
56
- }
57
- static createDegradeRequest(builder, durationMs, maxDelayMs, delayPercent, lossPercent) {
58
- DegradeRequest.startDegradeRequest(builder);
59
- DegradeRequest.addDurationMs(builder, durationMs);
60
- DegradeRequest.addMaxDelayMs(builder, maxDelayMs);
61
- DegradeRequest.addDelayPercent(builder, delayPercent);
62
- DegradeRequest.addLossPercent(builder, lossPercent);
63
- return DegradeRequest.endDegradeRequest(builder);
64
- }
65
- unpack() {
66
- return new DegradeRequestT(this.durationMs(), this.maxDelayMs(), this.delayPercent(), this.lossPercent());
67
- }
68
- unpackTo(_o) {
69
- _o.durationMs = this.durationMs();
70
- _o.maxDelayMs = this.maxDelayMs();
71
- _o.delayPercent = this.delayPercent();
72
- _o.lossPercent = this.lossPercent();
73
- }
74
- }
75
- exports.DegradeRequest = DegradeRequest;
76
- class DegradeRequestT {
77
- durationMs;
78
- maxDelayMs;
79
- delayPercent;
80
- lossPercent;
81
- constructor(durationMs = 0, maxDelayMs = 0, delayPercent = 0, lossPercent = 0) {
82
- this.durationMs = durationMs;
83
- this.maxDelayMs = maxDelayMs;
84
- this.delayPercent = delayPercent;
85
- this.lossPercent = lossPercent;
86
- }
87
- pack(builder) {
88
- return DegradeRequest.createDegradeRequest(builder, this.durationMs, this.maxDelayMs, this.delayPercent, this.lossPercent);
89
- }
90
- }
91
- exports.DegradeRequestT = DegradeRequestT;
@@ -1,24 +0,0 @@
1
- import * as flatbuffers from 'flatbuffers';
2
- export declare class EnableDelayAndLossRequest implements flatbuffers.IUnpackableObject<EnableDelayAndLossRequestT> {
3
- bb: flatbuffers.ByteBuffer | null;
4
- bb_pos: number;
5
- __init(i: number, bb: flatbuffers.ByteBuffer): EnableDelayAndLossRequest;
6
- static getRootAsEnableDelayAndLossRequest(bb: flatbuffers.ByteBuffer, obj?: EnableDelayAndLossRequest): EnableDelayAndLossRequest;
7
- static getSizePrefixedRootAsEnableDelayAndLossRequest(bb: flatbuffers.ByteBuffer, obj?: EnableDelayAndLossRequest): EnableDelayAndLossRequest;
8
- delay(): boolean;
9
- loss(): boolean;
10
- static startEnableDelayAndLossRequest(builder: flatbuffers.Builder): void;
11
- static addDelay(builder: flatbuffers.Builder, delay: boolean): void;
12
- static addLoss(builder: flatbuffers.Builder, loss: boolean): void;
13
- static endEnableDelayAndLossRequest(builder: flatbuffers.Builder): flatbuffers.Offset;
14
- static createEnableDelayAndLossRequest(builder: flatbuffers.Builder, delay: boolean, loss: boolean): flatbuffers.Offset;
15
- unpack(): EnableDelayAndLossRequestT;
16
- unpackTo(_o: EnableDelayAndLossRequestT): void;
17
- }
18
- export declare class EnableDelayAndLossRequestT implements flatbuffers.IGeneratedObject {
19
- delay: boolean;
20
- loss: boolean;
21
- constructor(delay?: boolean, loss?: boolean);
22
- pack(builder: flatbuffers.Builder): flatbuffers.Offset;
23
- }
24
- //# sourceMappingURL=enable-delay-and-loss-request.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable-delay-and-loss-request.d.ts","sourceRoot":"","sources":["../../../src/fbs/consumer/enable-delay-and-loss-request.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,yBAA0B,YAAW,WAAW,CAAC,iBAAiB,CAAC,0BAA0B,CAAC;IACzG,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,yBAAyB;IAMvE,MAAM,CAAC,kCAAkC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,yBAAyB,GAAE,yBAAyB;IAI9H,MAAM,CAAC,8CAA8C,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,yBAAyB,GAAE,yBAAyB;IAK1I,KAAK,IAAG,OAAO;IAKf,IAAI,IAAG,OAAO;IAKd,MAAM,CAAC,8BAA8B,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIjE,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,KAAK,EAAC,OAAO;IAI1D,MAAM,CAAC,OAAO,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,IAAI,EAAC,OAAO;IAIxD,MAAM,CAAC,4BAA4B,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAKnF,MAAM,CAAC,+BAA+B,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,KAAK,EAAC,OAAO,EAAE,IAAI,EAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAOnH,MAAM,IAAI,0BAA0B;IAQpC,QAAQ,CAAC,EAAE,EAAE,0BAA0B,GAAG,IAAI;CAI7C;AAED,qBAAa,0BAA2B,YAAW,WAAW,CAAC,gBAAgB;IAEtE,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,OAAO;gBADb,KAAK,GAAE,OAAe,EACtB,IAAI,GAAE,OAAe;IAI9B,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAMpD"}
@@ -1,69 +0,0 @@
1
- "use strict";
2
- // automatically generated by the FlatBuffers compiler, do not modify
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.EnableDelayAndLossRequestT = exports.EnableDelayAndLossRequest = void 0;
5
- /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
6
- const flatbuffers = require("flatbuffers");
7
- class EnableDelayAndLossRequest {
8
- bb = null;
9
- bb_pos = 0;
10
- __init(i, bb) {
11
- this.bb_pos = i;
12
- this.bb = bb;
13
- return this;
14
- }
15
- static getRootAsEnableDelayAndLossRequest(bb, obj) {
16
- return (obj || new EnableDelayAndLossRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
17
- }
18
- static getSizePrefixedRootAsEnableDelayAndLossRequest(bb, obj) {
19
- bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
20
- return (obj || new EnableDelayAndLossRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
21
- }
22
- delay() {
23
- const offset = this.bb.__offset(this.bb_pos, 4);
24
- return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false;
25
- }
26
- loss() {
27
- const offset = this.bb.__offset(this.bb_pos, 6);
28
- return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false;
29
- }
30
- static startEnableDelayAndLossRequest(builder) {
31
- builder.startObject(2);
32
- }
33
- static addDelay(builder, delay) {
34
- builder.addFieldInt8(0, +delay, +false);
35
- }
36
- static addLoss(builder, loss) {
37
- builder.addFieldInt8(1, +loss, +false);
38
- }
39
- static endEnableDelayAndLossRequest(builder) {
40
- const offset = builder.endObject();
41
- return offset;
42
- }
43
- static createEnableDelayAndLossRequest(builder, delay, loss) {
44
- EnableDelayAndLossRequest.startEnableDelayAndLossRequest(builder);
45
- EnableDelayAndLossRequest.addDelay(builder, delay);
46
- EnableDelayAndLossRequest.addLoss(builder, loss);
47
- return EnableDelayAndLossRequest.endEnableDelayAndLossRequest(builder);
48
- }
49
- unpack() {
50
- return new EnableDelayAndLossRequestT(this.delay(), this.loss());
51
- }
52
- unpackTo(_o) {
53
- _o.delay = this.delay();
54
- _o.loss = this.loss();
55
- }
56
- }
57
- exports.EnableDelayAndLossRequest = EnableDelayAndLossRequest;
58
- class EnableDelayAndLossRequestT {
59
- delay;
60
- loss;
61
- constructor(delay = false, loss = false) {
62
- this.delay = delay;
63
- this.loss = loss;
64
- }
65
- pack(builder) {
66
- return EnableDelayAndLossRequest.createEnableDelayAndLossRequest(builder, this.delay, this.loss);
67
- }
68
- }
69
- exports.EnableDelayAndLossRequestT = EnableDelayAndLossRequestT;
@@ -1,18 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,45 +0,0 @@
1
- "use strict";
2
- // automatically generated by the FlatBuffers compiler, do not modify
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.CloseRequestT = exports.CloseRequest = void 0;
5
- /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
6
- const flatbuffers = require("flatbuffers");
7
- class CloseRequest {
8
- bb = null;
9
- bb_pos = 0;
10
- __init(i, bb) {
11
- this.bb_pos = i;
12
- this.bb = bb;
13
- return this;
14
- }
15
- static getRootAsCloseRequest(bb, obj) {
16
- return (obj || new CloseRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
17
- }
18
- static getSizePrefixedRootAsCloseRequest(bb, obj) {
19
- bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
20
- return (obj || new CloseRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
21
- }
22
- static startCloseRequest(builder) {
23
- builder.startObject(0);
24
- }
25
- static endCloseRequest(builder) {
26
- const offset = builder.endObject();
27
- return offset;
28
- }
29
- static createCloseRequest(builder) {
30
- CloseRequest.startCloseRequest(builder);
31
- return CloseRequest.endCloseRequest(builder);
32
- }
33
- unpack() {
34
- return new CloseRequestT();
35
- }
36
- unpackTo(_o) { }
37
- }
38
- exports.CloseRequest = CloseRequest;
39
- class CloseRequestT {
40
- constructor() { }
41
- pack(builder) {
42
- return CloseRequest.createCloseRequest(builder);
43
- }
44
- }
45
- exports.CloseRequestT = CloseRequestT;