mediasoup 3.20.7 → 3.20.8
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/Worker.d.ts +1 -1
- package/node/lib/Worker.d.ts.map +1 -1
- package/node/lib/Worker.js +11 -1
- package/node/lib/WorkerTypes.d.ts +9 -0
- package/node/lib/WorkerTypes.d.ts.map +1 -1
- package/node/lib/fbs/data-consumer/binary.d.ts +25 -0
- package/node/lib/fbs/data-consumer/binary.d.ts.map +1 -0
- package/node/lib/fbs/data-consumer/binary.js +110 -0
- package/node/lib/fbs/data-consumer/data.d.ts +10 -0
- package/node/lib/fbs/data-consumer/data.d.ts.map +1 -0
- package/node/lib/fbs/data-consumer/data.js +30 -0
- package/node/lib/fbs/data-consumer/string.d.ts +22 -0
- package/node/lib/fbs/data-consumer/string.d.ts.map +1 -0
- package/node/lib/fbs/{worker/close-notification.js → data-consumer/string.js} +34 -20
- package/node/lib/fbs/data-producer/binary.d.ts +25 -0
- package/node/lib/fbs/data-producer/binary.d.ts.map +1 -0
- package/node/lib/fbs/data-producer/binary.js +110 -0
- package/node/lib/fbs/data-producer/data.d.ts +10 -0
- package/node/lib/fbs/data-producer/data.d.ts.map +1 -0
- package/node/lib/fbs/data-producer/data.js +30 -0
- package/node/lib/fbs/data-producer/string.d.ts +22 -0
- package/node/lib/fbs/data-producer/string.d.ts.map +1 -0
- package/node/lib/fbs/data-producer/string.js +92 -0
- package/node/lib/fbs/message/type.d.ts +7 -0
- package/node/lib/fbs/message/type.d.ts.map +1 -0
- package/node/lib/fbs/message/type.js +11 -0
- package/node/lib/fbs/message-from-worker/body.d.ts +12 -0
- package/node/lib/fbs/message-from-worker/body.d.ts.map +1 -0
- package/node/lib/fbs/message-from-worker/body.js +34 -0
- package/node/lib/fbs/message-from-worker/message.d.ts +30 -0
- package/node/lib/fbs/message-from-worker/message.d.ts.map +1 -0
- package/node/lib/fbs/message-from-worker/message.js +122 -0
- package/node/lib/fbs/message-from-worker.d.ts +3 -0
- package/node/lib/fbs/message-from-worker.d.ts.map +1 -0
- package/node/lib/fbs/message-from-worker.js +9 -0
- package/node/lib/fbs/message-to-worker/body.d.ts +10 -0
- package/node/lib/fbs/message-to-worker/body.d.ts.map +1 -0
- package/node/lib/fbs/message-to-worker/body.js +30 -0
- package/node/lib/fbs/message-to-worker/message.d.ts +29 -0
- package/node/lib/fbs/message-to-worker/message.d.ts.map +1 -0
- package/node/lib/fbs/message-to-worker/message.js +122 -0
- package/node/lib/fbs/message-to-worker.d.ts +3 -0
- package/node/lib/fbs/message-to-worker.d.ts.map +1 -0
- package/node/lib/fbs/message-to-worker.js +9 -0
- package/node/lib/fbs/notification-from-worker/body.d.ts +44 -0
- package/node/lib/fbs/notification-from-worker/body.d.ts.map +1 -0
- package/node/lib/fbs/notification-from-worker/body.js +98 -0
- package/node/lib/fbs/notification-from-worker/event.d.ts +31 -0
- package/node/lib/fbs/notification-from-worker/event.d.ts.map +1 -0
- package/node/lib/fbs/notification-from-worker/event.js +35 -0
- package/node/lib/fbs/notification-from-worker/notification.d.ts +52 -0
- package/node/lib/fbs/notification-from-worker/notification.d.ts.map +1 -0
- package/node/lib/fbs/notification-from-worker/notification.js +140 -0
- package/node/lib/fbs/notification-from-worker.d.ts +4 -0
- package/node/lib/fbs/notification-from-worker.d.ts.map +1 -0
- package/node/lib/fbs/notification-from-worker.js +11 -0
- package/node/lib/fbs/notification-to-worker/body.d.ts +12 -0
- package/node/lib/fbs/notification-to-worker/body.d.ts.map +1 -0
- package/node/lib/fbs/notification-to-worker/body.js +34 -0
- package/node/lib/fbs/notification-to-worker/event.d.ts +6 -0
- package/node/lib/fbs/notification-to-worker/event.d.ts.map +1 -0
- package/node/lib/fbs/notification-to-worker/event.js +10 -0
- package/node/lib/fbs/notification-to-worker/notification.d.ts +36 -0
- package/node/lib/fbs/notification-to-worker/notification.d.ts.map +1 -0
- package/node/lib/fbs/notification-to-worker/notification.js +140 -0
- package/node/lib/fbs/notification-to-worker.d.ts +4 -0
- package/node/lib/fbs/notification-to-worker.d.ts.map +1 -0
- package/node/lib/fbs/notification-to-worker.js +11 -0
- package/node/lib/fbs/plain-transport/connect-response.d.ts.map +1 -1
- package/node/lib/fbs/plain-transport/connect-response.js +1 -0
- 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/trace-events/fir-trace-info.d.ts +21 -0
- package/node/lib/fbs/trace-events/fir-trace-info.d.ts.map +1 -0
- package/node/lib/fbs/{worker/close-request.js → trace-events/fir-trace-info.js} +32 -20
- package/node/lib/fbs/trace-events/key-frame-trace-info.d.ts +25 -0
- package/node/lib/fbs/trace-events/key-frame-trace-info.d.ts.map +1 -0
- package/node/lib/fbs/trace-events/key-frame-trace-info.js +104 -0
- package/node/lib/fbs/trace-events/pli-trace-info.d.ts +21 -0
- package/node/lib/fbs/trace-events/pli-trace-info.d.ts.map +1 -0
- package/node/lib/fbs/{worker/close-worker-notification.js → trace-events/pli-trace-info.js} +32 -20
- package/node/lib/fbs/trace-events/rtp-trace-info.d.ts +25 -0
- package/node/lib/fbs/trace-events/rtp-trace-info.d.ts.map +1 -0
- package/node/lib/fbs/{consumer/enable-delay-and-loss-request.js → trace-events/rtp-trace-info.js} +35 -33
- package/node/lib/fbs/trace-events/trace-event-type.d.ts +8 -0
- package/node/lib/fbs/trace-events/trace-event-type.d.ts.map +1 -0
- package/node/lib/fbs/trace-events/trace-event-type.js +12 -0
- package/node/lib/fbs/trace-events/trace-info.d.ts +14 -0
- package/node/lib/fbs/trace-events/trace-info.d.ts.map +1 -0
- package/node/lib/fbs/trace-events/trace-info.js +38 -0
- package/node/lib/fbs/trace-events.d.ts +7 -0
- package/node/lib/fbs/trace-events.d.ts.map +1 -0
- package/node/lib/fbs/trace-events.js +20 -0
- package/node/lib/fbs/worker/dump-response.d.ts +5 -1
- package/node/lib/fbs/worker/dump-response.d.ts.map +1 -1
- package/node/lib/fbs/worker/dump-response.js +16 -3
- package/node/lib/index.d.ts +1 -1
- package/node/lib/index.d.ts.map +1 -1
- package/node/lib/index.js +2 -1
- package/node/lib/test/test-PlainTransport.js +0 -30
- package/node/lib/test/test-Worker.js +1 -0
- package/package.json +1 -1
- package/worker/src/RTC/SimpleProducerStreamManager.cpp +6 -3
- 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/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/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/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-request.d.ts +0 -18
- package/node/lib/fbs/worker/close-request.d.ts.map +0 -1
- 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
|
@@ -0,0 +1,140 @@
|
|
|
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.NotificationT = exports.Notification = void 0;
|
|
38
|
+
const flatbuffers = __importStar(require("flatbuffers"));
|
|
39
|
+
const body_1 = require("../../fbs/notification-to-worker/body");
|
|
40
|
+
const event_1 = require("../../fbs/notification-to-worker/event");
|
|
41
|
+
class Notification {
|
|
42
|
+
bb = null;
|
|
43
|
+
bb_pos = 0;
|
|
44
|
+
__init(i, bb) {
|
|
45
|
+
this.bb_pos = i;
|
|
46
|
+
this.bb = bb;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
static getRootAsNotification(bb, obj) {
|
|
50
|
+
return (obj || new Notification()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
51
|
+
}
|
|
52
|
+
static getSizePrefixedRootAsNotification(bb, obj) {
|
|
53
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
54
|
+
return (obj || new Notification()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
55
|
+
}
|
|
56
|
+
handlerId(optionalEncoding) {
|
|
57
|
+
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
58
|
+
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
59
|
+
}
|
|
60
|
+
event() {
|
|
61
|
+
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
62
|
+
return offset ? this.bb.readUint8(this.bb_pos + offset) : event_1.Event.TRANSPORT_SEND_RTCP;
|
|
63
|
+
}
|
|
64
|
+
bodyType() {
|
|
65
|
+
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
66
|
+
return offset ? this.bb.readUint8(this.bb_pos + offset) : body_1.Body.NONE;
|
|
67
|
+
}
|
|
68
|
+
body(obj) {
|
|
69
|
+
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
70
|
+
return offset ? this.bb.__union(obj, this.bb_pos + offset) : null;
|
|
71
|
+
}
|
|
72
|
+
static startNotification(builder) {
|
|
73
|
+
builder.startObject(4);
|
|
74
|
+
}
|
|
75
|
+
static addHandlerId(builder, handlerIdOffset) {
|
|
76
|
+
builder.addFieldOffset(0, handlerIdOffset, 0);
|
|
77
|
+
}
|
|
78
|
+
static addEvent(builder, event) {
|
|
79
|
+
builder.addFieldInt8(1, event, event_1.Event.TRANSPORT_SEND_RTCP);
|
|
80
|
+
}
|
|
81
|
+
static addBodyType(builder, bodyType) {
|
|
82
|
+
builder.addFieldInt8(2, bodyType, body_1.Body.NONE);
|
|
83
|
+
}
|
|
84
|
+
static addBody(builder, bodyOffset) {
|
|
85
|
+
builder.addFieldOffset(3, bodyOffset, 0);
|
|
86
|
+
}
|
|
87
|
+
static endNotification(builder) {
|
|
88
|
+
const offset = builder.endObject();
|
|
89
|
+
builder.requiredField(offset, 4); // handler_id
|
|
90
|
+
return offset;
|
|
91
|
+
}
|
|
92
|
+
static createNotification(builder, handlerIdOffset, event, bodyType, bodyOffset) {
|
|
93
|
+
Notification.startNotification(builder);
|
|
94
|
+
Notification.addHandlerId(builder, handlerIdOffset);
|
|
95
|
+
Notification.addEvent(builder, event);
|
|
96
|
+
Notification.addBodyType(builder, bodyType);
|
|
97
|
+
Notification.addBody(builder, bodyOffset);
|
|
98
|
+
return Notification.endNotification(builder);
|
|
99
|
+
}
|
|
100
|
+
unpack() {
|
|
101
|
+
return new NotificationT(this.handlerId(), this.event(), this.bodyType(), (() => {
|
|
102
|
+
const temp = (0, body_1.unionToBody)(this.bodyType(), this.body.bind(this));
|
|
103
|
+
if (temp === null) {
|
|
104
|
+
return null;
|
|
105
|
+
}
|
|
106
|
+
return temp.unpack();
|
|
107
|
+
})());
|
|
108
|
+
}
|
|
109
|
+
unpackTo(_o) {
|
|
110
|
+
_o.handlerId = this.handlerId();
|
|
111
|
+
_o.event = this.event();
|
|
112
|
+
_o.bodyType = this.bodyType();
|
|
113
|
+
_o.body = (() => {
|
|
114
|
+
const temp = (0, body_1.unionToBody)(this.bodyType(), this.body.bind(this));
|
|
115
|
+
if (temp === null) {
|
|
116
|
+
return null;
|
|
117
|
+
}
|
|
118
|
+
return temp.unpack();
|
|
119
|
+
})();
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.Notification = Notification;
|
|
123
|
+
class NotificationT {
|
|
124
|
+
handlerId;
|
|
125
|
+
event;
|
|
126
|
+
bodyType;
|
|
127
|
+
body;
|
|
128
|
+
constructor(handlerId = null, event = event_1.Event.TRANSPORT_SEND_RTCP, bodyType = body_1.Body.NONE, body = null) {
|
|
129
|
+
this.handlerId = handlerId;
|
|
130
|
+
this.event = event;
|
|
131
|
+
this.bodyType = bodyType;
|
|
132
|
+
this.body = body;
|
|
133
|
+
}
|
|
134
|
+
pack(builder) {
|
|
135
|
+
const handlerId = (this.handlerId !== null ? builder.createString(this.handlerId) : 0);
|
|
136
|
+
const body = builder.createObjectOffset(this.body);
|
|
137
|
+
return Notification.createNotification(builder, handlerId, this.event, this.bodyType, body);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.NotificationT = NotificationT;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-to-worker.d.ts","sourceRoot":"","sources":["../../src/fbs/notification-to-worker.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// automatically generated by the FlatBuffers compiler, do not modify
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.NotificationT = exports.Notification = exports.Event = exports.Body = void 0;
|
|
5
|
+
var body_1 = require("./notification-to-worker/body");
|
|
6
|
+
Object.defineProperty(exports, "Body", { enumerable: true, get: function () { return body_1.Body; } });
|
|
7
|
+
var event_1 = require("./notification-to-worker/event");
|
|
8
|
+
Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return event_1.Event; } });
|
|
9
|
+
var notification_1 = require("./notification-to-worker/notification");
|
|
10
|
+
Object.defineProperty(exports, "Notification", { enumerable: true, get: function () { return notification_1.Notification; } });
|
|
11
|
+
Object.defineProperty(exports, "NotificationT", { enumerable: true, get: function () { return notification_1.NotificationT; } });
|
|
@@ -1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AAc;IAI7F,MAAM,CAAC,mCAAmC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,cAAc,GAAE,cAAc;IAKzG,EAAE,IAAG,MAAM;IAKX,GAAG,IAAG,MAAM;IAKZ,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAItD,MAAM,CAAC,KAAK,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,EAAE,EAAC,MAAM;IAInD,MAAM,CAAC,MAAM,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,GAAG,EAAC,MAAM;IAIrD,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAKxE,MAAM,CAAC,oBAAoB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,EAAE,EAAC,MAAM,EAAE,GAAG,EAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAOlG,MAAM,IAAI,eAAe;IAQzB,QAAQ,CAAC,EAAE,EAAE,eAAe,GAAG,IAAI;CAIlC;AAED,qBAAa,eAAgB,YAAW,WAAW,CAAC,gBAAgB;IAE3D,EAAE,EAAE,MAAM;IACV,GAAG,EAAE,MAAM;gBADX,EAAE,GAAE,MAAa,EACjB,GAAG,GAAE,MAAa;IAI3B,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAMpD"}
|
|
@@ -54,20 +54,20 @@ class NumSctpStreams {
|
|
|
54
54
|
}
|
|
55
55
|
os() {
|
|
56
56
|
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
57
|
-
return offset ? this.bb.readUint16(this.bb_pos + offset) :
|
|
57
|
+
return offset ? this.bb.readUint16(this.bb_pos + offset) : 1024;
|
|
58
58
|
}
|
|
59
59
|
mis() {
|
|
60
60
|
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
61
|
-
return offset ? this.bb.readUint16(this.bb_pos + offset) :
|
|
61
|
+
return offset ? this.bb.readUint16(this.bb_pos + offset) : 1024;
|
|
62
62
|
}
|
|
63
63
|
static startNumSctpStreams(builder) {
|
|
64
64
|
builder.startObject(2);
|
|
65
65
|
}
|
|
66
66
|
static addOs(builder, os) {
|
|
67
|
-
builder.addFieldInt16(0, os,
|
|
67
|
+
builder.addFieldInt16(0, os, 1024);
|
|
68
68
|
}
|
|
69
69
|
static addMis(builder, mis) {
|
|
70
|
-
builder.addFieldInt16(1, mis,
|
|
70
|
+
builder.addFieldInt16(1, mis, 1024);
|
|
71
71
|
}
|
|
72
72
|
static endNumSctpStreams(builder) {
|
|
73
73
|
const offset = builder.endObject();
|
|
@@ -91,7 +91,7 @@ exports.NumSctpStreams = NumSctpStreams;
|
|
|
91
91
|
class NumSctpStreamsT {
|
|
92
92
|
os;
|
|
93
93
|
mis;
|
|
94
|
-
constructor(os =
|
|
94
|
+
constructor(os = 1024, mis = 1024) {
|
|
95
95
|
this.os = os;
|
|
96
96
|
this.mis = mis;
|
|
97
97
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
export declare class FirTraceInfo implements flatbuffers.IUnpackableObject<FirTraceInfoT> {
|
|
3
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
+
bb_pos: number;
|
|
5
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): FirTraceInfo;
|
|
6
|
+
static getRootAsFirTraceInfo(bb: flatbuffers.ByteBuffer, obj?: FirTraceInfo): FirTraceInfo;
|
|
7
|
+
static getSizePrefixedRootAsFirTraceInfo(bb: flatbuffers.ByteBuffer, obj?: FirTraceInfo): FirTraceInfo;
|
|
8
|
+
ssrc(): number;
|
|
9
|
+
static startFirTraceInfo(builder: flatbuffers.Builder): void;
|
|
10
|
+
static addSsrc(builder: flatbuffers.Builder, ssrc: number): void;
|
|
11
|
+
static endFirTraceInfo(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
12
|
+
static createFirTraceInfo(builder: flatbuffers.Builder, ssrc: number): flatbuffers.Offset;
|
|
13
|
+
unpack(): FirTraceInfoT;
|
|
14
|
+
unpackTo(_o: FirTraceInfoT): void;
|
|
15
|
+
}
|
|
16
|
+
export declare class FirTraceInfoT implements flatbuffers.IGeneratedObject {
|
|
17
|
+
ssrc: number;
|
|
18
|
+
constructor(ssrc?: number);
|
|
19
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=fir-trace-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fir-trace-info.d.ts","sourceRoot":"","sources":["../../../src/fbs/trace-events/fir-trace-info.ts"],"names":[],"mappings":"AAEA,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,IAAI,IAAG,MAAM;IAKb,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIpD,MAAM,CAAC,OAAO,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,IAAI,EAAC,MAAM;IAIvD,MAAM,CAAC,eAAe,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAKtE,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,IAAI,EAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAMtF,MAAM,IAAI,aAAa;IAOvB,QAAQ,CAAC,EAAE,EAAE,aAAa,GAAG,IAAI;CAGhC;AAED,qBAAa,aAAc,YAAW,WAAW,CAAC,gBAAgB;IAEzD,IAAI,EAAE,MAAM;gBAAZ,IAAI,GAAE,MAAU;IAIzB,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAKpD"}
|
|
@@ -34,10 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
38
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
37
|
+
exports.FirTraceInfoT = exports.FirTraceInfo = void 0;
|
|
39
38
|
const flatbuffers = __importStar(require("flatbuffers"));
|
|
40
|
-
class
|
|
39
|
+
class FirTraceInfo {
|
|
41
40
|
bb = null;
|
|
42
41
|
bb_pos = 0;
|
|
43
42
|
__init(i, bb) {
|
|
@@ -45,34 +44,47 @@ class CloseRequest {
|
|
|
45
44
|
this.bb = bb;
|
|
46
45
|
return this;
|
|
47
46
|
}
|
|
48
|
-
static
|
|
49
|
-
return (obj || new
|
|
47
|
+
static getRootAsFirTraceInfo(bb, obj) {
|
|
48
|
+
return (obj || new FirTraceInfo()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
50
49
|
}
|
|
51
|
-
static
|
|
50
|
+
static getSizePrefixedRootAsFirTraceInfo(bb, obj) {
|
|
52
51
|
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
53
|
-
return (obj || new
|
|
52
|
+
return (obj || new FirTraceInfo()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
54
53
|
}
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
ssrc() {
|
|
55
|
+
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
56
|
+
return offset ? this.bb.readUint32(this.bb_pos + offset) : 0;
|
|
57
57
|
}
|
|
58
|
-
static
|
|
58
|
+
static startFirTraceInfo(builder) {
|
|
59
|
+
builder.startObject(1);
|
|
60
|
+
}
|
|
61
|
+
static addSsrc(builder, ssrc) {
|
|
62
|
+
builder.addFieldInt32(0, ssrc, 0);
|
|
63
|
+
}
|
|
64
|
+
static endFirTraceInfo(builder) {
|
|
59
65
|
const offset = builder.endObject();
|
|
60
66
|
return offset;
|
|
61
67
|
}
|
|
62
|
-
static
|
|
63
|
-
|
|
64
|
-
|
|
68
|
+
static createFirTraceInfo(builder, ssrc) {
|
|
69
|
+
FirTraceInfo.startFirTraceInfo(builder);
|
|
70
|
+
FirTraceInfo.addSsrc(builder, ssrc);
|
|
71
|
+
return FirTraceInfo.endFirTraceInfo(builder);
|
|
65
72
|
}
|
|
66
73
|
unpack() {
|
|
67
|
-
return new
|
|
74
|
+
return new FirTraceInfoT(this.ssrc());
|
|
75
|
+
}
|
|
76
|
+
unpackTo(_o) {
|
|
77
|
+
_o.ssrc = this.ssrc();
|
|
68
78
|
}
|
|
69
|
-
unpackTo(_o) { }
|
|
70
79
|
}
|
|
71
|
-
exports.
|
|
72
|
-
class
|
|
73
|
-
|
|
80
|
+
exports.FirTraceInfo = FirTraceInfo;
|
|
81
|
+
class FirTraceInfoT {
|
|
82
|
+
ssrc;
|
|
83
|
+
constructor(ssrc = 0) {
|
|
84
|
+
this.ssrc = ssrc;
|
|
85
|
+
}
|
|
74
86
|
pack(builder) {
|
|
75
|
-
return
|
|
87
|
+
return FirTraceInfo.createFirTraceInfo(builder, this.ssrc);
|
|
76
88
|
}
|
|
77
89
|
}
|
|
78
|
-
exports.
|
|
90
|
+
exports.FirTraceInfoT = FirTraceInfoT;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
import { Dump, DumpT } from '../../fbs/rtp-packet/dump';
|
|
3
|
+
export declare class KeyFrameTraceInfo implements flatbuffers.IUnpackableObject<KeyFrameTraceInfoT> {
|
|
4
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
5
|
+
bb_pos: number;
|
|
6
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): KeyFrameTraceInfo;
|
|
7
|
+
static getRootAsKeyFrameTraceInfo(bb: flatbuffers.ByteBuffer, obj?: KeyFrameTraceInfo): KeyFrameTraceInfo;
|
|
8
|
+
static getSizePrefixedRootAsKeyFrameTraceInfo(bb: flatbuffers.ByteBuffer, obj?: KeyFrameTraceInfo): KeyFrameTraceInfo;
|
|
9
|
+
rtpPacket(obj?: Dump): Dump | null;
|
|
10
|
+
isRtx(): boolean;
|
|
11
|
+
static startKeyFrameTraceInfo(builder: flatbuffers.Builder): void;
|
|
12
|
+
static addRtpPacket(builder: flatbuffers.Builder, rtpPacketOffset: flatbuffers.Offset): void;
|
|
13
|
+
static addIsRtx(builder: flatbuffers.Builder, isRtx: boolean): void;
|
|
14
|
+
static endKeyFrameTraceInfo(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
15
|
+
static createKeyFrameTraceInfo(builder: flatbuffers.Builder, rtpPacketOffset: flatbuffers.Offset, isRtx: boolean): flatbuffers.Offset;
|
|
16
|
+
unpack(): KeyFrameTraceInfoT;
|
|
17
|
+
unpackTo(_o: KeyFrameTraceInfoT): void;
|
|
18
|
+
}
|
|
19
|
+
export declare class KeyFrameTraceInfoT implements flatbuffers.IGeneratedObject {
|
|
20
|
+
rtpPacket: DumpT | null;
|
|
21
|
+
isRtx: boolean;
|
|
22
|
+
constructor(rtpPacket?: DumpT | null, isRtx?: boolean);
|
|
23
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=key-frame-trace-info.d.ts.map
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,GAAE,WAAW,CAAC,MAAM;IAOjI,MAAM,IAAI,kBAAkB;IAQ5B,QAAQ,CAAC,EAAE,EAAE,kBAAkB,GAAG,IAAI;CAIrC;AAED,qBAAa,kBAAmB,YAAW,WAAW,CAAC,gBAAgB;IAE9D,SAAS,EAAE,KAAK,GAAC,IAAI;IACrB,KAAK,EAAE,OAAO;gBADd,SAAS,GAAE,KAAK,GAAC,IAAW,EAC5B,KAAK,GAAE,OAAe;IAI/B,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAQpD"}
|
|
@@ -0,0 +1,104 @@
|
|
|
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.KeyFrameTraceInfoT = exports.KeyFrameTraceInfo = void 0;
|
|
38
|
+
const flatbuffers = __importStar(require("flatbuffers"));
|
|
39
|
+
const dump_1 = require("../../fbs/rtp-packet/dump");
|
|
40
|
+
class KeyFrameTraceInfo {
|
|
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 getRootAsKeyFrameTraceInfo(bb, obj) {
|
|
49
|
+
return (obj || new KeyFrameTraceInfo()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
50
|
+
}
|
|
51
|
+
static getSizePrefixedRootAsKeyFrameTraceInfo(bb, obj) {
|
|
52
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
53
|
+
return (obj || new KeyFrameTraceInfo()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
54
|
+
}
|
|
55
|
+
rtpPacket(obj) {
|
|
56
|
+
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
57
|
+
return offset ? (obj || new dump_1.Dump()).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null;
|
|
58
|
+
}
|
|
59
|
+
isRtx() {
|
|
60
|
+
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
61
|
+
return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false;
|
|
62
|
+
}
|
|
63
|
+
static startKeyFrameTraceInfo(builder) {
|
|
64
|
+
builder.startObject(2);
|
|
65
|
+
}
|
|
66
|
+
static addRtpPacket(builder, rtpPacketOffset) {
|
|
67
|
+
builder.addFieldOffset(0, rtpPacketOffset, 0);
|
|
68
|
+
}
|
|
69
|
+
static addIsRtx(builder, isRtx) {
|
|
70
|
+
builder.addFieldInt8(1, +isRtx, +false);
|
|
71
|
+
}
|
|
72
|
+
static endKeyFrameTraceInfo(builder) {
|
|
73
|
+
const offset = builder.endObject();
|
|
74
|
+
builder.requiredField(offset, 4); // rtp_packet
|
|
75
|
+
return offset;
|
|
76
|
+
}
|
|
77
|
+
static createKeyFrameTraceInfo(builder, rtpPacketOffset, isRtx) {
|
|
78
|
+
KeyFrameTraceInfo.startKeyFrameTraceInfo(builder);
|
|
79
|
+
KeyFrameTraceInfo.addRtpPacket(builder, rtpPacketOffset);
|
|
80
|
+
KeyFrameTraceInfo.addIsRtx(builder, isRtx);
|
|
81
|
+
return KeyFrameTraceInfo.endKeyFrameTraceInfo(builder);
|
|
82
|
+
}
|
|
83
|
+
unpack() {
|
|
84
|
+
return new KeyFrameTraceInfoT((this.rtpPacket() !== null ? this.rtpPacket().unpack() : null), this.isRtx());
|
|
85
|
+
}
|
|
86
|
+
unpackTo(_o) {
|
|
87
|
+
_o.rtpPacket = (this.rtpPacket() !== null ? this.rtpPacket().unpack() : null);
|
|
88
|
+
_o.isRtx = this.isRtx();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.KeyFrameTraceInfo = KeyFrameTraceInfo;
|
|
92
|
+
class KeyFrameTraceInfoT {
|
|
93
|
+
rtpPacket;
|
|
94
|
+
isRtx;
|
|
95
|
+
constructor(rtpPacket = null, isRtx = false) {
|
|
96
|
+
this.rtpPacket = rtpPacket;
|
|
97
|
+
this.isRtx = isRtx;
|
|
98
|
+
}
|
|
99
|
+
pack(builder) {
|
|
100
|
+
const rtpPacket = (this.rtpPacket !== null ? this.rtpPacket.pack(builder) : 0);
|
|
101
|
+
return KeyFrameTraceInfo.createKeyFrameTraceInfo(builder, rtpPacket, this.isRtx);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.KeyFrameTraceInfoT = KeyFrameTraceInfoT;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
export declare class PliTraceInfo implements flatbuffers.IUnpackableObject<PliTraceInfoT> {
|
|
3
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
+
bb_pos: number;
|
|
5
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): PliTraceInfo;
|
|
6
|
+
static getRootAsPliTraceInfo(bb: flatbuffers.ByteBuffer, obj?: PliTraceInfo): PliTraceInfo;
|
|
7
|
+
static getSizePrefixedRootAsPliTraceInfo(bb: flatbuffers.ByteBuffer, obj?: PliTraceInfo): PliTraceInfo;
|
|
8
|
+
ssrc(): number;
|
|
9
|
+
static startPliTraceInfo(builder: flatbuffers.Builder): void;
|
|
10
|
+
static addSsrc(builder: flatbuffers.Builder, ssrc: number): void;
|
|
11
|
+
static endPliTraceInfo(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
12
|
+
static createPliTraceInfo(builder: flatbuffers.Builder, ssrc: number): flatbuffers.Offset;
|
|
13
|
+
unpack(): PliTraceInfoT;
|
|
14
|
+
unpackTo(_o: PliTraceInfoT): void;
|
|
15
|
+
}
|
|
16
|
+
export declare class PliTraceInfoT implements flatbuffers.IGeneratedObject {
|
|
17
|
+
ssrc: number;
|
|
18
|
+
constructor(ssrc?: number);
|
|
19
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=pli-trace-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pli-trace-info.d.ts","sourceRoot":"","sources":["../../../src/fbs/trace-events/pli-trace-info.ts"],"names":[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ule", { value: true });
|
|
37
|
-
exports.
|
|
38
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
37
|
+
exports.PliTraceInfoT = exports.PliTraceInfo = void 0;
|
|
39
38
|
const flatbuffers = __importStar(require("flatbuffers"));
|
|
40
|
-
class
|
|
39
|
+
class PliTraceInfo {
|
|
41
40
|
bb = null;
|
|
42
41
|
bb_pos = 0;
|
|
43
42
|
__init(i, bb) {
|
|
@@ -45,34 +44,47 @@ class CloseWorkerNotification {
|
|
|
45
44
|
this.bb = bb;
|
|
46
45
|
return this;
|
|
47
46
|
}
|
|
48
|
-
static
|
|
49
|
-
return (obj || new
|
|
47
|
+
static getRootAsPliTraceInfo(bb, obj) {
|
|
48
|
+
return (obj || new PliTraceInfo()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
50
49
|
}
|
|
51
|
-
static
|
|
50
|
+
static getSizePrefixedRootAsPliTraceInfo(bb, obj) {
|
|
52
51
|
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
53
|
-
return (obj || new
|
|
52
|
+
return (obj || new PliTraceInfo()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
54
53
|
}
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
ssrc() {
|
|
55
|
+
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
56
|
+
return offset ? this.bb.readUint32(this.bb_pos + offset) : 0;
|
|
57
57
|
}
|
|
58
|
-
static
|
|
58
|
+
static startPliTraceInfo(builder) {
|
|
59
|
+
builder.startObject(1);
|
|
60
|
+
}
|
|
61
|
+
static addSsrc(builder, ssrc) {
|
|
62
|
+
builder.addFieldInt32(0, ssrc, 0);
|
|
63
|
+
}
|
|
64
|
+
static endPliTraceInfo(builder) {
|
|
59
65
|
const offset = builder.endObject();
|
|
60
66
|
return offset;
|
|
61
67
|
}
|
|
62
|
-
static
|
|
63
|
-
|
|
64
|
-
|
|
68
|
+
static createPliTraceInfo(builder, ssrc) {
|
|
69
|
+
PliTraceInfo.startPliTraceInfo(builder);
|
|
70
|
+
PliTraceInfo.addSsrc(builder, ssrc);
|
|
71
|
+
return PliTraceInfo.endPliTraceInfo(builder);
|
|
65
72
|
}
|
|
66
73
|
unpack() {
|
|
67
|
-
return new
|
|
74
|
+
return new PliTraceInfoT(this.ssrc());
|
|
75
|
+
}
|
|
76
|
+
unpackTo(_o) {
|
|
77
|
+
_o.ssrc = this.ssrc();
|
|
68
78
|
}
|
|
69
|
-
unpackTo(_o) { }
|
|
70
79
|
}
|
|
71
|
-
exports.
|
|
72
|
-
class
|
|
73
|
-
|
|
80
|
+
exports.PliTraceInfo = PliTraceInfo;
|
|
81
|
+
class PliTraceInfoT {
|
|
82
|
+
ssrc;
|
|
83
|
+
constructor(ssrc = 0) {
|
|
84
|
+
this.ssrc = ssrc;
|
|
85
|
+
}
|
|
74
86
|
pack(builder) {
|
|
75
|
-
return
|
|
87
|
+
return PliTraceInfo.createPliTraceInfo(builder, this.ssrc);
|
|
76
88
|
}
|
|
77
89
|
}
|
|
78
|
-
exports.
|
|
90
|
+
exports.PliTraceInfoT = PliTraceInfoT;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
import { Dump, DumpT } from '../../fbs/rtp-packet/dump';
|
|
3
|
+
export declare class RtpTraceInfo implements flatbuffers.IUnpackableObject<RtpTraceInfoT> {
|
|
4
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
5
|
+
bb_pos: number;
|
|
6
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): RtpTraceInfo;
|
|
7
|
+
static getRootAsRtpTraceInfo(bb: flatbuffers.ByteBuffer, obj?: RtpTraceInfo): RtpTraceInfo;
|
|
8
|
+
static getSizePrefixedRootAsRtpTraceInfo(bb: flatbuffers.ByteBuffer, obj?: RtpTraceInfo): RtpTraceInfo;
|
|
9
|
+
rtpPacket(obj?: Dump): Dump | null;
|
|
10
|
+
isRtx(): boolean;
|
|
11
|
+
static startRtpTraceInfo(builder: flatbuffers.Builder): void;
|
|
12
|
+
static addRtpPacket(builder: flatbuffers.Builder, rtpPacketOffset: flatbuffers.Offset): void;
|
|
13
|
+
static addIsRtx(builder: flatbuffers.Builder, isRtx: boolean): void;
|
|
14
|
+
static endRtpTraceInfo(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
15
|
+
static createRtpTraceInfo(builder: flatbuffers.Builder, rtpPacketOffset: flatbuffers.Offset, isRtx: boolean): flatbuffers.Offset;
|
|
16
|
+
unpack(): RtpTraceInfoT;
|
|
17
|
+
unpackTo(_o: RtpTraceInfoT): void;
|
|
18
|
+
}
|
|
19
|
+
export declare class RtpTraceInfoT implements flatbuffers.IGeneratedObject {
|
|
20
|
+
rtpPacket: DumpT | null;
|
|
21
|
+
isRtx: boolean;
|
|
22
|
+
constructor(rtpPacket?: DumpT | null, isRtx?: boolean);
|
|
23
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=rtp-trace-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rtp-trace-info.d.ts","sourceRoot":"","sources":["../../../src/fbs/trace-events/rtp-trace-info.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGxD,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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