mediasoup 3.20.7 → 3.20.9
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/README.md +8 -2
- package/node/lib/WebRtcServer.d.ts.map +1 -1
- package/node/lib/WebRtcServer.js +0 -7
- package/node/lib/WebRtcServerTypes.d.ts +0 -5
- package/node/lib/WebRtcServerTypes.d.ts.map +1 -1
- package/node/lib/fbs/web-rtc-server/dump-response.d.ts +2 -9
- package/node/lib/fbs/web-rtc-server/dump-response.d.ts.map +1 -1
- package/node/lib/fbs/web-rtc-server/dump-response.js +5 -33
- package/node/lib/fbs/web-rtc-server.d.ts +0 -1
- package/node/lib/fbs/web-rtc-server.d.ts.map +1 -1
- package/node/lib/fbs/web-rtc-server.js +1 -4
- package/node/lib/test/test-WebRtcServer.js +0 -7
- package/npm-scripts.mjs +132 -55
- package/package.json +6 -4
- package/worker/fbs/webRtcServer.fbs +0 -6
- package/worker/include/RTC/TransportTuple.hpp +70 -14
- package/worker/include/RTC/WebRtcServer.hpp +5 -2
- package/worker/include/Utils.hpp +6 -0
- package/worker/src/RTC/PortManager.cpp +16 -20
- package/worker/src/RTC/SeqManager.cpp +4 -1
- package/worker/src/RTC/SimpleProducerStreamManager.cpp +6 -3
- package/worker/src/RTC/TransportTuple.cpp +87 -50
- package/worker/src/RTC/WebRtcServer.cpp +20 -29
- package/worker/test/src/RTC/TestSeqManager.cpp +167 -62
- package/worker/test/src/RTC/TestTransportTuple.cpp +21 -14
- package/node/lib/fbs/consumer/degrade-request.d.ts +0 -30
- package/node/lib/fbs/consumer/degrade-request.d.ts.map +0 -1
- package/node/lib/fbs/consumer/degrade-request.js +0 -124
- package/node/lib/fbs/consumer/enable-delay-and-loss-request.d.ts +0 -24
- package/node/lib/fbs/consumer/enable-delay-and-loss-request.d.ts.map +0 -1
- package/node/lib/fbs/consumer/enable-delay-and-loss-request.js +0 -102
- package/node/lib/fbs/lib-uring/dump.d.ts +0 -27
- package/node/lib/fbs/lib-uring/dump.d.ts.map +0 -1
- package/node/lib/fbs/lib-uring/dump.js +0 -113
- package/node/lib/fbs/lib-uring.d.ts +0 -2
- package/node/lib/fbs/lib-uring.d.ts.map +0 -1
- package/node/lib/fbs/lib-uring.js +0 -8
- package/node/lib/fbs/producer/degrade-request.d.ts +0 -30
- package/node/lib/fbs/producer/degrade-request.d.ts.map +0 -1
- package/node/lib/fbs/producer/degrade-request.js +0 -124
- package/node/lib/fbs/sctp-parameters/num-sctp-streams.d.ts +0 -24
- package/node/lib/fbs/sctp-parameters/num-sctp-streams.d.ts.map +0 -1
- package/node/lib/fbs/sctp-parameters/num-sctp-streams.js +0 -102
- package/node/lib/fbs/transport/sctp-negotiated-max-streams-notification.d.ts +0 -24
- package/node/lib/fbs/transport/sctp-negotiated-max-streams-notification.d.ts.map +0 -1
- package/node/lib/fbs/transport/sctp-negotiated-max-streams-notification.js +0 -102
- package/node/lib/fbs/transport/sctp-negotiated-options-notification.d.ts +0 -24
- package/node/lib/fbs/transport/sctp-negotiated-options-notification.d.ts.map +0 -1
- package/node/lib/fbs/transport/sctp-negotiated-options-notification.js +0 -102
- package/node/lib/fbs/web-rtc-server/tuple-hash.d.ts +0 -25
- package/node/lib/fbs/web-rtc-server/tuple-hash.d.ts.map +0 -1
- package/node/lib/fbs/web-rtc-server/tuple-hash.js +0 -104
- package/node/lib/fbs/worker/close-notification.d.ts +0 -18
- package/node/lib/fbs/worker/close-notification.d.ts.map +0 -1
- package/node/lib/fbs/worker/close-notification.js +0 -78
- package/node/lib/fbs/worker/close-request.d.ts +0 -18
- package/node/lib/fbs/worker/close-request.d.ts.map +0 -1
- package/node/lib/fbs/worker/close-request.js +0 -78
- package/node/lib/fbs/worker/close-worker-notification.d.ts +0 -18
- package/node/lib/fbs/worker/close-worker-notification.d.ts.map +0 -1
- package/node/lib/fbs/worker/close-worker-notification.js +0 -78
|
@@ -1,124 +0,0 @@
|
|
|
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.DegradeRequestT = exports.DegradeRequest = 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 DegradeRequest {
|
|
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 getRootAsDegradeRequest(bb, obj) {
|
|
49
|
-
return (obj || new DegradeRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
50
|
-
}
|
|
51
|
-
static getSizePrefixedRootAsDegradeRequest(bb, obj) {
|
|
52
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
53
|
-
return (obj || new DegradeRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
54
|
-
}
|
|
55
|
-
durationMs() {
|
|
56
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
57
|
-
return offset ? this.bb.readUint32(this.bb_pos + offset) : 0;
|
|
58
|
-
}
|
|
59
|
-
maxDelayMs() {
|
|
60
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
61
|
-
return offset ? this.bb.readUint16(this.bb_pos + offset) : 0;
|
|
62
|
-
}
|
|
63
|
-
delayPercent() {
|
|
64
|
-
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
65
|
-
return offset ? this.bb.readUint8(this.bb_pos + offset) : 0;
|
|
66
|
-
}
|
|
67
|
-
lossPercent() {
|
|
68
|
-
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
69
|
-
return offset ? this.bb.readUint8(this.bb_pos + offset) : 0;
|
|
70
|
-
}
|
|
71
|
-
static startDegradeRequest(builder) {
|
|
72
|
-
builder.startObject(4);
|
|
73
|
-
}
|
|
74
|
-
static addDurationMs(builder, durationMs) {
|
|
75
|
-
builder.addFieldInt32(0, durationMs, 0);
|
|
76
|
-
}
|
|
77
|
-
static addMaxDelayMs(builder, maxDelayMs) {
|
|
78
|
-
builder.addFieldInt16(1, maxDelayMs, 0);
|
|
79
|
-
}
|
|
80
|
-
static addDelayPercent(builder, delayPercent) {
|
|
81
|
-
builder.addFieldInt8(2, delayPercent, 0);
|
|
82
|
-
}
|
|
83
|
-
static addLossPercent(builder, lossPercent) {
|
|
84
|
-
builder.addFieldInt8(3, lossPercent, 0);
|
|
85
|
-
}
|
|
86
|
-
static endDegradeRequest(builder) {
|
|
87
|
-
const offset = builder.endObject();
|
|
88
|
-
return offset;
|
|
89
|
-
}
|
|
90
|
-
static createDegradeRequest(builder, durationMs, maxDelayMs, delayPercent, lossPercent) {
|
|
91
|
-
DegradeRequest.startDegradeRequest(builder);
|
|
92
|
-
DegradeRequest.addDurationMs(builder, durationMs);
|
|
93
|
-
DegradeRequest.addMaxDelayMs(builder, maxDelayMs);
|
|
94
|
-
DegradeRequest.addDelayPercent(builder, delayPercent);
|
|
95
|
-
DegradeRequest.addLossPercent(builder, lossPercent);
|
|
96
|
-
return DegradeRequest.endDegradeRequest(builder);
|
|
97
|
-
}
|
|
98
|
-
unpack() {
|
|
99
|
-
return new DegradeRequestT(this.durationMs(), this.maxDelayMs(), this.delayPercent(), this.lossPercent());
|
|
100
|
-
}
|
|
101
|
-
unpackTo(_o) {
|
|
102
|
-
_o.durationMs = this.durationMs();
|
|
103
|
-
_o.maxDelayMs = this.maxDelayMs();
|
|
104
|
-
_o.delayPercent = this.delayPercent();
|
|
105
|
-
_o.lossPercent = this.lossPercent();
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
exports.DegradeRequest = DegradeRequest;
|
|
109
|
-
class DegradeRequestT {
|
|
110
|
-
durationMs;
|
|
111
|
-
maxDelayMs;
|
|
112
|
-
delayPercent;
|
|
113
|
-
lossPercent;
|
|
114
|
-
constructor(durationMs = 0, maxDelayMs = 0, delayPercent = 0, lossPercent = 0) {
|
|
115
|
-
this.durationMs = durationMs;
|
|
116
|
-
this.maxDelayMs = maxDelayMs;
|
|
117
|
-
this.delayPercent = delayPercent;
|
|
118
|
-
this.lossPercent = lossPercent;
|
|
119
|
-
}
|
|
120
|
-
pack(builder) {
|
|
121
|
-
return DegradeRequest.createDegradeRequest(builder, this.durationMs, this.maxDelayMs, this.delayPercent, this.lossPercent);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
exports.DegradeRequestT = DegradeRequestT;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
export declare class NumSctpStreams implements flatbuffers.IUnpackableObject<NumSctpStreamsT> {
|
|
3
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
-
bb_pos: number;
|
|
5
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): NumSctpStreams;
|
|
6
|
-
static getRootAsNumSctpStreams(bb: flatbuffers.ByteBuffer, obj?: NumSctpStreams): NumSctpStreams;
|
|
7
|
-
static getSizePrefixedRootAsNumSctpStreams(bb: flatbuffers.ByteBuffer, obj?: NumSctpStreams): NumSctpStreams;
|
|
8
|
-
os(): number;
|
|
9
|
-
mis(): number;
|
|
10
|
-
static startNumSctpStreams(builder: flatbuffers.Builder): void;
|
|
11
|
-
static addOs(builder: flatbuffers.Builder, os: number): void;
|
|
12
|
-
static addMis(builder: flatbuffers.Builder, mis: number): void;
|
|
13
|
-
static endNumSctpStreams(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
14
|
-
static createNumSctpStreams(builder: flatbuffers.Builder, os: number, mis: number): flatbuffers.Offset;
|
|
15
|
-
unpack(): NumSctpStreamsT;
|
|
16
|
-
unpackTo(_o: NumSctpStreamsT): void;
|
|
17
|
-
}
|
|
18
|
-
export declare class NumSctpStreamsT implements flatbuffers.IGeneratedObject {
|
|
19
|
-
os: number;
|
|
20
|
-
mis: number;
|
|
21
|
-
constructor(os?: number, mis?: number);
|
|
22
|
-
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingUR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B,YAAW,WAAW,CAAC,gBAAgB;IAE3D,EAAE,EAAE,MAAM;IACV,GAAG,EAAE,MAAM;gBADX,EAAE,GAAE,MAAc,EAClB,GAAG,GAAE,MAAc;IAI5B,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAMpD"}
|
|
@@ -1,102 +0,0 @@
|
|
|
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.NumSctpStreamsT = exports.NumSctpStreams = 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 NumSctpStreams {
|
|
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 getRootAsNumSctpStreams(bb, obj) {
|
|
49
|
-
return (obj || new NumSctpStreams()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
50
|
-
}
|
|
51
|
-
static getSizePrefixedRootAsNumSctpStreams(bb, obj) {
|
|
52
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
53
|
-
return (obj || new NumSctpStreams()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
54
|
-
}
|
|
55
|
-
os() {
|
|
56
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
57
|
-
return offset ? this.bb.readUint16(this.bb_pos + offset) : 65535;
|
|
58
|
-
}
|
|
59
|
-
mis() {
|
|
60
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
61
|
-
return offset ? this.bb.readUint16(this.bb_pos + offset) : 65535;
|
|
62
|
-
}
|
|
63
|
-
static startNumSctpStreams(builder) {
|
|
64
|
-
builder.startObject(2);
|
|
65
|
-
}
|
|
66
|
-
static addOs(builder, os) {
|
|
67
|
-
builder.addFieldInt16(0, os, 65535);
|
|
68
|
-
}
|
|
69
|
-
static addMis(builder, mis) {
|
|
70
|
-
builder.addFieldInt16(1, mis, 65535);
|
|
71
|
-
}
|
|
72
|
-
static endNumSctpStreams(builder) {
|
|
73
|
-
const offset = builder.endObject();
|
|
74
|
-
return offset;
|
|
75
|
-
}
|
|
76
|
-
static createNumSctpStreams(builder, os, mis) {
|
|
77
|
-
NumSctpStreams.startNumSctpStreams(builder);
|
|
78
|
-
NumSctpStreams.addOs(builder, os);
|
|
79
|
-
NumSctpStreams.addMis(builder, mis);
|
|
80
|
-
return NumSctpStreams.endNumSctpStreams(builder);
|
|
81
|
-
}
|
|
82
|
-
unpack() {
|
|
83
|
-
return new NumSctpStreamsT(this.os(), this.mis());
|
|
84
|
-
}
|
|
85
|
-
unpackTo(_o) {
|
|
86
|
-
_o.os = this.os();
|
|
87
|
-
_o.mis = this.mis();
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
exports.NumSctpStreams = NumSctpStreams;
|
|
91
|
-
class NumSctpStreamsT {
|
|
92
|
-
os;
|
|
93
|
-
mis;
|
|
94
|
-
constructor(os = 65535, mis = 65535) {
|
|
95
|
-
this.os = os;
|
|
96
|
-
this.mis = mis;
|
|
97
|
-
}
|
|
98
|
-
pack(builder) {
|
|
99
|
-
return NumSctpStreams.createNumSctpStreams(builder, this.os, this.mis);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
exports.NumSctpStreamsT = NumSctpStreamsT;
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,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AU;IAIhD,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAMpD"}
|
|
@@ -1,102 +0,0 @@
|
|
|
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;
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,102 +0,0 @@
|
|
|
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;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
export declare class TupleHash implements flatbuffers.IUnpackableObject<TupleHashT> {
|
|
3
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
-
bb_pos: number;
|
|
5
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): TupleHash;
|
|
6
|
-
static getRootAsTupleHash(bb: flatbuffers.ByteBuffer, obj?: TupleHash): TupleHash;
|
|
7
|
-
static getSizePrefixedRootAsTupleHash(bb: flatbuffers.ByteBuffer, obj?: TupleHash): TupleHash;
|
|
8
|
-
tupleHash(): bigint;
|
|
9
|
-
webRtcTransportId(): string | null;
|
|
10
|
-
webRtcTransportId(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
11
|
-
static startTupleHash(builder: flatbuffers.Builder): void;
|
|
12
|
-
static addTupleHash(builder: flatbuffers.Builder, tupleHash: bigint): void;
|
|
13
|
-
static addWebRtcTransportId(builder: flatbuffers.Builder, webRtcTransportIdOffset: flatbuffers.Offset): void;
|
|
14
|
-
static endTupleHash(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
15
|
-
static createTupleHash(builder: flatbuffers.Builder, tupleHash: bigint, webRtcTransportIdOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
16
|
-
unpack(): TupleHashT;
|
|
17
|
-
unpackTo(_o: TupleHashT): void;
|
|
18
|
-
}
|
|
19
|
-
export declare class TupleHashT implements flatbuffers.IGeneratedObject {
|
|
20
|
-
tupleHash: bigint;
|
|
21
|
-
webRtcTransportId: string | Uint8Array | null;
|
|
22
|
-
constructor(tupleHash?: bigint, webRtcTransportId?: string | Uint8Array | null);
|
|
23
|
-
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=tuple-hash.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tuple-hash.d.ts","sourceRoot":"","sources":["../../../src/fbs/web-rtc-server/tuple-hash.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,SAAU,YAAW,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC;IACzE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,SAAS;IAMvD,MAAM,CAAC,kBAAkB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,SAAS,GAAE,SAAS;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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.TupleHashT = exports.TupleHash = 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 TupleHash {
|
|
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 getRootAsTupleHash(bb, obj) {
|
|
49
|
-
return (obj || new TupleHash()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
50
|
-
}
|
|
51
|
-
static getSizePrefixedRootAsTupleHash(bb, obj) {
|
|
52
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
53
|
-
return (obj || new TupleHash()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
54
|
-
}
|
|
55
|
-
tupleHash() {
|
|
56
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
57
|
-
return offset ? this.bb.readUint64(this.bb_pos + offset) : BigInt('0');
|
|
58
|
-
}
|
|
59
|
-
webRtcTransportId(optionalEncoding) {
|
|
60
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
61
|
-
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
62
|
-
}
|
|
63
|
-
static startTupleHash(builder) {
|
|
64
|
-
builder.startObject(2);
|
|
65
|
-
}
|
|
66
|
-
static addTupleHash(builder, tupleHash) {
|
|
67
|
-
builder.addFieldInt64(0, tupleHash, BigInt('0'));
|
|
68
|
-
}
|
|
69
|
-
static addWebRtcTransportId(builder, webRtcTransportIdOffset) {
|
|
70
|
-
builder.addFieldOffset(1, webRtcTransportIdOffset, 0);
|
|
71
|
-
}
|
|
72
|
-
static endTupleHash(builder) {
|
|
73
|
-
const offset = builder.endObject();
|
|
74
|
-
builder.requiredField(offset, 6); // web_rtc_transport_id
|
|
75
|
-
return offset;
|
|
76
|
-
}
|
|
77
|
-
static createTupleHash(builder, tupleHash, webRtcTransportIdOffset) {
|
|
78
|
-
TupleHash.startTupleHash(builder);
|
|
79
|
-
TupleHash.addTupleHash(builder, tupleHash);
|
|
80
|
-
TupleHash.addWebRtcTransportId(builder, webRtcTransportIdOffset);
|
|
81
|
-
return TupleHash.endTupleHash(builder);
|
|
82
|
-
}
|
|
83
|
-
unpack() {
|
|
84
|
-
return new TupleHashT(this.tupleHash(), this.webRtcTransportId());
|
|
85
|
-
}
|
|
86
|
-
unpackTo(_o) {
|
|
87
|
-
_o.tupleHash = this.tupleHash();
|
|
88
|
-
_o.webRtcTransportId = this.webRtcTransportId();
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
exports.TupleHash = TupleHash;
|
|
92
|
-
class TupleHashT {
|
|
93
|
-
tupleHash;
|
|
94
|
-
webRtcTransportId;
|
|
95
|
-
constructor(tupleHash = BigInt('0'), webRtcTransportId = null) {
|
|
96
|
-
this.tupleHash = tupleHash;
|
|
97
|
-
this.webRtcTransportId = webRtcTransportId;
|
|
98
|
-
}
|
|
99
|
-
pack(builder) {
|
|
100
|
-
const webRtcTransportId = (this.webRtcTransportId !== null ? builder.createString(this.webRtcTransportId) : 0);
|
|
101
|
-
return TupleHash.createTupleHash(builder, this.tupleHash, webRtcTransportId);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
exports.TupleHashT = TupleHashT;
|