@observertc/observer-js 0.30.5-beta → 0.40.0-beta
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/lib/CallSummary.d.ts +22 -0
- package/lib/CallSummary.d.ts.map +1 -0
- package/lib/ObservedCall.d.ts +6 -13
- package/lib/ObservedCall.d.ts.map +1 -1
- package/lib/ObservedCall.js +24 -104
- package/lib/ObservedClient.d.ts +16 -27
- package/lib/ObservedClient.d.ts.map +1 -1
- package/lib/ObservedClient.js +360 -523
- package/lib/ObservedInboundTrack.d.ts +3 -8
- package/lib/ObservedInboundTrack.d.ts.map +1 -1
- package/lib/ObservedInboundTrack.js +74 -154
- package/lib/ObservedOutboundTrack.d.ts +9 -8
- package/lib/ObservedOutboundTrack.d.ts.map +1 -1
- package/lib/ObservedOutboundTrack.js +76 -130
- package/lib/ObservedPeerConnection.d.ts +17 -15
- package/lib/ObservedPeerConnection.d.ts.map +1 -1
- package/lib/ObservedPeerConnection.js +64 -173
- package/lib/ObservedSfu.d.ts +14 -4
- package/lib/ObservedSfu.d.ts.map +1 -1
- package/lib/ObservedSfu.js +37 -50
- package/lib/Observer.d.ts +5 -6
- package/lib/Observer.d.ts.map +1 -1
- package/lib/Observer.js +28 -31
- package/lib/common/types.d.ts +0 -55
- package/lib/common/types.d.ts.map +1 -1
- package/lib/index.d.ts +5 -7
- package/lib/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/CallSummary.ts +23 -0
- package/src/ObservedCall.ts +27 -87
- package/src/ObservedClient.ts +425 -582
- package/src/ObservedInboundTrack.ts +14 -65
- package/src/ObservedOutboundTrack.ts +32 -53
- package/src/ObservedPeerConnection.ts +55 -117
- package/src/ObservedSfu.ts +45 -27
- package/src/Observer.ts +11 -16
- package/src/common/types.ts +0 -69
- package/src/index.ts +5 -7
- package/lib/models/Models.d.ts +0 -642
- package/lib/models/Models.d.ts.map +0 -1
- package/lib/models/Models.js +0 -481
- package/lib/models/samples_pb.d.ts +0 -2452
- package/lib/models/samples_pb.d.ts.map +0 -1
- package/lib/models/samples_pb.js +0 -1495
- package/lib/storages/ObserverStorage.d.ts +0 -87
- package/lib/storages/ObserverStorage.d.ts.map +0 -1
- package/lib/storages/SimpleStorage.d.ts +0 -19
- package/lib/storages/SimpleStorage.d.ts.map +0 -1
- package/lib/storages/SimpleStorage.js +0 -106
- package/lib/storages/StorageProvider.d.ts +0 -16
- package/lib/storages/StorageProvider.d.ts.map +0 -1
- package/lib/storages/StorageProvider.js +0 -29
- package/src/models/Models.ts +0 -1103
- package/src/models/samples_pb.ts +0 -4061
- package/src/storages/ObserverStorage.ts +0 -99
- package/src/storages/SimpleStorage.ts +0 -120
- package/src/storages/StorageProvider.ts +0 -42
- /package/lib/{storages/ObserverStorage.js → CallSummary.js} +0 -0
package/lib/models/Models.js
DELETED
|
@@ -1,481 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// @generated by protoc-gen-es v1.7.2 with parameter "target=ts"
|
|
3
|
-
// @generated from file models.proto (package org.observertc.observer.models, syntax proto2)
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.SfuSctpChannel = exports.SfuOutboundRtpPad = exports.SfuInboundRtpPad = exports.SfuTransport = exports.Sfu = exports.OutboundTrack = exports.InboundTrack = exports.InboundTrackStats = exports.InboundTrackVideoStats = exports.PeerConnection = exports.Client = exports.Call = void 0;
|
|
8
|
-
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
|
-
const samples_pb_1 = require("./samples_pb");
|
|
10
|
-
/**
|
|
11
|
-
* @generated from message org.observertc.observer.models.Call
|
|
12
|
-
*/
|
|
13
|
-
class Call extends protobuf_1.Message {
|
|
14
|
-
constructor(data) {
|
|
15
|
-
super();
|
|
16
|
-
/**
|
|
17
|
-
* @generated from field: repeated string clientIds = 5;
|
|
18
|
-
*/
|
|
19
|
-
this.clientIds = [];
|
|
20
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
21
|
-
}
|
|
22
|
-
static fromBinary(bytes, options) {
|
|
23
|
-
return new Call().fromBinary(bytes, options);
|
|
24
|
-
}
|
|
25
|
-
static fromJson(jsonValue, options) {
|
|
26
|
-
return new Call().fromJson(jsonValue, options);
|
|
27
|
-
}
|
|
28
|
-
static fromJsonString(jsonString, options) {
|
|
29
|
-
return new Call().fromJsonString(jsonString, options);
|
|
30
|
-
}
|
|
31
|
-
static equals(a, b) {
|
|
32
|
-
return protobuf_1.proto2.util.equals(Call, a, b);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.Call = Call;
|
|
36
|
-
Call.runtime = protobuf_1.proto2;
|
|
37
|
-
Call.typeName = "org.observertc.observer.models.Call";
|
|
38
|
-
Call.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
39
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
40
|
-
{ no: 2, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
41
|
-
{ no: 3, name: "callId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
|
-
{ no: 4, name: "started", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
43
|
-
{ no: 5, name: "clientIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
44
|
-
]);
|
|
45
|
-
/**
|
|
46
|
-
* @generated from message org.observertc.observer.models.Client
|
|
47
|
-
*/
|
|
48
|
-
class Client extends protobuf_1.Message {
|
|
49
|
-
constructor(data) {
|
|
50
|
-
super();
|
|
51
|
-
/**
|
|
52
|
-
* @generated from field: repeated string peerConnectionIds = 11;
|
|
53
|
-
*/
|
|
54
|
-
this.peerConnectionIds = [];
|
|
55
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
56
|
-
}
|
|
57
|
-
static fromBinary(bytes, options) {
|
|
58
|
-
return new Client().fromBinary(bytes, options);
|
|
59
|
-
}
|
|
60
|
-
static fromJson(jsonValue, options) {
|
|
61
|
-
return new Client().fromJson(jsonValue, options);
|
|
62
|
-
}
|
|
63
|
-
static fromJsonString(jsonString, options) {
|
|
64
|
-
return new Client().fromJsonString(jsonString, options);
|
|
65
|
-
}
|
|
66
|
-
static equals(a, b) {
|
|
67
|
-
return protobuf_1.proto2.util.equals(Client, a, b);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
exports.Client = Client;
|
|
71
|
-
Client.runtime = protobuf_1.proto2;
|
|
72
|
-
Client.typeName = "org.observertc.observer.models.Client";
|
|
73
|
-
Client.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
74
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
75
|
-
{ no: 2, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
|
-
{ no: 3, name: "callId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
77
|
-
{ no: 4, name: "clientId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
78
|
-
{ no: 5, name: "joined", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
79
|
-
{ no: 6, name: "sampleTouched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
80
|
-
{ no: 7, name: "timeZoneId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
81
|
-
{ no: 8, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
82
|
-
{ no: 9, name: "userId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
83
|
-
{ no: 10, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
84
|
-
{ no: 11, name: "peerConnectionIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
85
|
-
{ no: 12, name: "browser", kind: "message", T: samples_pb_1.Samples_ClientSample_Browser, opt: true },
|
|
86
|
-
{ no: 13, name: "operationSystem", kind: "message", T: samples_pb_1.Samples_ClientSample_OperationSystem, opt: true },
|
|
87
|
-
{ no: 14, name: "platform", kind: "message", T: samples_pb_1.Samples_ClientSample_Platform, opt: true },
|
|
88
|
-
{ no: 15, name: "engine", kind: "message", T: samples_pb_1.Samples_ClientSample_Engine, opt: true },
|
|
89
|
-
]);
|
|
90
|
-
/**
|
|
91
|
-
* @generated from message org.observertc.observer.models.PeerConnection
|
|
92
|
-
*/
|
|
93
|
-
class PeerConnection extends protobuf_1.Message {
|
|
94
|
-
constructor(data) {
|
|
95
|
-
super();
|
|
96
|
-
/**
|
|
97
|
-
* @generated from field: repeated string inboundTrackIds = 11;
|
|
98
|
-
*/
|
|
99
|
-
this.inboundTrackIds = [];
|
|
100
|
-
/**
|
|
101
|
-
* @generated from field: repeated string outboundTrackIds = 12;
|
|
102
|
-
*/
|
|
103
|
-
this.outboundTrackIds = [];
|
|
104
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
105
|
-
}
|
|
106
|
-
static fromBinary(bytes, options) {
|
|
107
|
-
return new PeerConnection().fromBinary(bytes, options);
|
|
108
|
-
}
|
|
109
|
-
static fromJson(jsonValue, options) {
|
|
110
|
-
return new PeerConnection().fromJson(jsonValue, options);
|
|
111
|
-
}
|
|
112
|
-
static fromJsonString(jsonString, options) {
|
|
113
|
-
return new PeerConnection().fromJsonString(jsonString, options);
|
|
114
|
-
}
|
|
115
|
-
static equals(a, b) {
|
|
116
|
-
return protobuf_1.proto2.util.equals(PeerConnection, a, b);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
exports.PeerConnection = PeerConnection;
|
|
120
|
-
PeerConnection.runtime = protobuf_1.proto2;
|
|
121
|
-
PeerConnection.typeName = "org.observertc.observer.models.PeerConnection";
|
|
122
|
-
PeerConnection.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
123
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
124
|
-
{ no: 2, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
125
|
-
{ no: 3, name: "callId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
126
|
-
{ no: 4, name: "clientId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
127
|
-
{ no: 5, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
128
|
-
{ no: 6, name: "opened", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
129
|
-
{ no: 7, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
130
|
-
{ no: 8, name: "userId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
131
|
-
{ no: 9, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
132
|
-
{ no: 10, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
133
|
-
{ no: 11, name: "inboundTrackIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
134
|
-
{ no: 12, name: "outboundTrackIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
135
|
-
{ no: 17, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
136
|
-
]);
|
|
137
|
-
/**
|
|
138
|
-
* @generated from message org.observertc.observer.models.InboundTrackVideoStats
|
|
139
|
-
*/
|
|
140
|
-
class InboundTrackVideoStats extends protobuf_1.Message {
|
|
141
|
-
constructor(data) {
|
|
142
|
-
super();
|
|
143
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
144
|
-
}
|
|
145
|
-
static fromBinary(bytes, options) {
|
|
146
|
-
return new InboundTrackVideoStats().fromBinary(bytes, options);
|
|
147
|
-
}
|
|
148
|
-
static fromJson(jsonValue, options) {
|
|
149
|
-
return new InboundTrackVideoStats().fromJson(jsonValue, options);
|
|
150
|
-
}
|
|
151
|
-
static fromJsonString(jsonString, options) {
|
|
152
|
-
return new InboundTrackVideoStats().fromJsonString(jsonString, options);
|
|
153
|
-
}
|
|
154
|
-
static equals(a, b) {
|
|
155
|
-
return protobuf_1.proto2.util.equals(InboundTrackVideoStats, a, b);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
exports.InboundTrackVideoStats = InboundTrackVideoStats;
|
|
159
|
-
InboundTrackVideoStats.runtime = protobuf_1.proto2;
|
|
160
|
-
InboundTrackVideoStats.typeName = "org.observertc.observer.models.InboundTrackVideoStats";
|
|
161
|
-
InboundTrackVideoStats.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
162
|
-
{ no: 1, name: "ssrc", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
163
|
-
{ no: 2, name: "fps", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
164
|
-
]);
|
|
165
|
-
/**
|
|
166
|
-
* @generated from message org.observertc.observer.models.InboundTrackStats
|
|
167
|
-
*/
|
|
168
|
-
class InboundTrackStats extends protobuf_1.Message {
|
|
169
|
-
constructor(data) {
|
|
170
|
-
super();
|
|
171
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
172
|
-
}
|
|
173
|
-
static fromBinary(bytes, options) {
|
|
174
|
-
return new InboundTrackStats().fromBinary(bytes, options);
|
|
175
|
-
}
|
|
176
|
-
static fromJson(jsonValue, options) {
|
|
177
|
-
return new InboundTrackStats().fromJson(jsonValue, options);
|
|
178
|
-
}
|
|
179
|
-
static fromJsonString(jsonString, options) {
|
|
180
|
-
return new InboundTrackStats().fromJsonString(jsonString, options);
|
|
181
|
-
}
|
|
182
|
-
static equals(a, b) {
|
|
183
|
-
return protobuf_1.proto2.util.equals(InboundTrackStats, a, b);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
exports.InboundTrackStats = InboundTrackStats;
|
|
187
|
-
InboundTrackStats.runtime = protobuf_1.proto2;
|
|
188
|
-
InboundTrackStats.typeName = "org.observertc.observer.models.InboundTrackStats";
|
|
189
|
-
InboundTrackStats.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
190
|
-
{ no: 1, name: "bitrate", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
191
|
-
{ no: 2, name: "fractionalLoss", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
192
|
-
{ no: 3, name: "avgRttInS", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
193
|
-
]);
|
|
194
|
-
/**
|
|
195
|
-
* @generated from message org.observertc.observer.models.InboundTrack
|
|
196
|
-
*/
|
|
197
|
-
class InboundTrack extends protobuf_1.Message {
|
|
198
|
-
constructor(data) {
|
|
199
|
-
super();
|
|
200
|
-
/**
|
|
201
|
-
* @generated from field: repeated int64 ssrc = 14;
|
|
202
|
-
*/
|
|
203
|
-
this.ssrc = [];
|
|
204
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
205
|
-
}
|
|
206
|
-
static fromBinary(bytes, options) {
|
|
207
|
-
return new InboundTrack().fromBinary(bytes, options);
|
|
208
|
-
}
|
|
209
|
-
static fromJson(jsonValue, options) {
|
|
210
|
-
return new InboundTrack().fromJson(jsonValue, options);
|
|
211
|
-
}
|
|
212
|
-
static fromJsonString(jsonString, options) {
|
|
213
|
-
return new InboundTrack().fromJsonString(jsonString, options);
|
|
214
|
-
}
|
|
215
|
-
static equals(a, b) {
|
|
216
|
-
return protobuf_1.proto2.util.equals(InboundTrack, a, b);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
exports.InboundTrack = InboundTrack;
|
|
220
|
-
InboundTrack.runtime = protobuf_1.proto2;
|
|
221
|
-
InboundTrack.typeName = "org.observertc.observer.models.InboundTrack";
|
|
222
|
-
InboundTrack.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
223
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
224
|
-
{ no: 2, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
225
|
-
{ no: 3, name: "callId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
226
|
-
{ no: 4, name: "clientId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
227
|
-
{ no: 5, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
228
|
-
{ no: 6, name: "trackId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
229
|
-
{ no: 7, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
230
|
-
{ no: 8, name: "added", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
231
|
-
{ no: 9, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
232
|
-
{ no: 10, name: "userId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
233
|
-
{ no: 11, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
234
|
-
{ no: 12, name: "sfuSinkId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
235
|
-
{ no: 13, name: "sfuStreamId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
236
|
-
{ no: 14, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
237
|
-
{ no: 17, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
238
|
-
]);
|
|
239
|
-
/**
|
|
240
|
-
* @generated from message org.observertc.observer.models.OutboundTrack
|
|
241
|
-
*/
|
|
242
|
-
class OutboundTrack extends protobuf_1.Message {
|
|
243
|
-
constructor(data) {
|
|
244
|
-
super();
|
|
245
|
-
/**
|
|
246
|
-
* @generated from field: repeated int64 ssrc = 13;
|
|
247
|
-
*/
|
|
248
|
-
this.ssrc = [];
|
|
249
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
250
|
-
}
|
|
251
|
-
static fromBinary(bytes, options) {
|
|
252
|
-
return new OutboundTrack().fromBinary(bytes, options);
|
|
253
|
-
}
|
|
254
|
-
static fromJson(jsonValue, options) {
|
|
255
|
-
return new OutboundTrack().fromJson(jsonValue, options);
|
|
256
|
-
}
|
|
257
|
-
static fromJsonString(jsonString, options) {
|
|
258
|
-
return new OutboundTrack().fromJsonString(jsonString, options);
|
|
259
|
-
}
|
|
260
|
-
static equals(a, b) {
|
|
261
|
-
return protobuf_1.proto2.util.equals(OutboundTrack, a, b);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
exports.OutboundTrack = OutboundTrack;
|
|
265
|
-
OutboundTrack.runtime = protobuf_1.proto2;
|
|
266
|
-
OutboundTrack.typeName = "org.observertc.observer.models.OutboundTrack";
|
|
267
|
-
OutboundTrack.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
268
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
269
|
-
{ no: 2, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
270
|
-
{ no: 3, name: "callId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
271
|
-
{ no: 4, name: "clientId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
272
|
-
{ no: 5, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
273
|
-
{ no: 6, name: "trackId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
274
|
-
{ no: 7, name: "added", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
275
|
-
{ no: 8, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
276
|
-
{ no: 9, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
277
|
-
{ no: 10, name: "userId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
278
|
-
{ no: 11, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
279
|
-
{ no: 12, name: "sfuStreamId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
280
|
-
{ no: 13, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
281
|
-
{ no: 16, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
282
|
-
]);
|
|
283
|
-
/**
|
|
284
|
-
* @generated from message org.observertc.observer.models.Sfu
|
|
285
|
-
*/
|
|
286
|
-
class Sfu extends protobuf_1.Message {
|
|
287
|
-
constructor(data) {
|
|
288
|
-
super();
|
|
289
|
-
/**
|
|
290
|
-
* @generated from field: repeated string sfuTransportIds = 8;
|
|
291
|
-
*/
|
|
292
|
-
this.sfuTransportIds = [];
|
|
293
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
294
|
-
}
|
|
295
|
-
static fromBinary(bytes, options) {
|
|
296
|
-
return new Sfu().fromBinary(bytes, options);
|
|
297
|
-
}
|
|
298
|
-
static fromJson(jsonValue, options) {
|
|
299
|
-
return new Sfu().fromJson(jsonValue, options);
|
|
300
|
-
}
|
|
301
|
-
static fromJsonString(jsonString, options) {
|
|
302
|
-
return new Sfu().fromJsonString(jsonString, options);
|
|
303
|
-
}
|
|
304
|
-
static equals(a, b) {
|
|
305
|
-
return protobuf_1.proto2.util.equals(Sfu, a, b);
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
exports.Sfu = Sfu;
|
|
309
|
-
Sfu.runtime = protobuf_1.proto2;
|
|
310
|
-
Sfu.typeName = "org.observertc.observer.models.Sfu";
|
|
311
|
-
Sfu.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
312
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
313
|
-
{ no: 2, name: "sfuId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
314
|
-
{ no: 3, name: "joined", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
315
|
-
{ no: 4, name: "sampleTouched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
316
|
-
{ no: 5, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
317
|
-
{ no: 6, name: "timeZoneId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
318
|
-
{ no: 7, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
319
|
-
{ no: 8, name: "sfuTransportIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
320
|
-
{ no: 9, name: "serverTouched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
321
|
-
]);
|
|
322
|
-
/**
|
|
323
|
-
* @generated from message org.observertc.observer.models.SfuTransport
|
|
324
|
-
*/
|
|
325
|
-
class SfuTransport extends protobuf_1.Message {
|
|
326
|
-
constructor(data) {
|
|
327
|
-
super();
|
|
328
|
-
/**
|
|
329
|
-
* @generated from field: repeated string inboundRtpPadIds = 9;
|
|
330
|
-
*/
|
|
331
|
-
this.inboundRtpPadIds = [];
|
|
332
|
-
/**
|
|
333
|
-
* @generated from field: repeated string outboundRtpPadIds = 10;
|
|
334
|
-
*/
|
|
335
|
-
this.outboundRtpPadIds = [];
|
|
336
|
-
/**
|
|
337
|
-
* @generated from field: repeated string sctpChannelIds = 11;
|
|
338
|
-
*/
|
|
339
|
-
this.sctpChannelIds = [];
|
|
340
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
341
|
-
}
|
|
342
|
-
static fromBinary(bytes, options) {
|
|
343
|
-
return new SfuTransport().fromBinary(bytes, options);
|
|
344
|
-
}
|
|
345
|
-
static fromJson(jsonValue, options) {
|
|
346
|
-
return new SfuTransport().fromJson(jsonValue, options);
|
|
347
|
-
}
|
|
348
|
-
static fromJsonString(jsonString, options) {
|
|
349
|
-
return new SfuTransport().fromJsonString(jsonString, options);
|
|
350
|
-
}
|
|
351
|
-
static equals(a, b) {
|
|
352
|
-
return protobuf_1.proto2.util.equals(SfuTransport, a, b);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
exports.SfuTransport = SfuTransport;
|
|
356
|
-
SfuTransport.runtime = protobuf_1.proto2;
|
|
357
|
-
SfuTransport.typeName = "org.observertc.observer.models.SfuTransport";
|
|
358
|
-
SfuTransport.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
359
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
360
|
-
{ no: 2, name: "sfuId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
361
|
-
{ no: 3, name: "transportId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
362
|
-
{ no: 4, name: "internal", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
|
|
363
|
-
{ no: 5, name: "opened", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
364
|
-
{ no: 6, name: "sampleTouched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
365
|
-
{ no: 7, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
366
|
-
{ no: 8, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
367
|
-
{ no: 9, name: "inboundRtpPadIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
368
|
-
{ no: 10, name: "outboundRtpPadIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
369
|
-
{ no: 11, name: "sctpChannelIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
370
|
-
{ no: 12, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
371
|
-
]);
|
|
372
|
-
/**
|
|
373
|
-
* @generated from message org.observertc.observer.models.SfuInboundRtpPad
|
|
374
|
-
*/
|
|
375
|
-
class SfuInboundRtpPad extends protobuf_1.Message {
|
|
376
|
-
constructor(data) {
|
|
377
|
-
super();
|
|
378
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
379
|
-
}
|
|
380
|
-
static fromBinary(bytes, options) {
|
|
381
|
-
return new SfuInboundRtpPad().fromBinary(bytes, options);
|
|
382
|
-
}
|
|
383
|
-
static fromJson(jsonValue, options) {
|
|
384
|
-
return new SfuInboundRtpPad().fromJson(jsonValue, options);
|
|
385
|
-
}
|
|
386
|
-
static fromJsonString(jsonString, options) {
|
|
387
|
-
return new SfuInboundRtpPad().fromJsonString(jsonString, options);
|
|
388
|
-
}
|
|
389
|
-
static equals(a, b) {
|
|
390
|
-
return protobuf_1.proto2.util.equals(SfuInboundRtpPad, a, b);
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
exports.SfuInboundRtpPad = SfuInboundRtpPad;
|
|
394
|
-
SfuInboundRtpPad.runtime = protobuf_1.proto2;
|
|
395
|
-
SfuInboundRtpPad.typeName = "org.observertc.observer.models.SfuInboundRtpPad";
|
|
396
|
-
SfuInboundRtpPad.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
397
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
398
|
-
{ no: 2, name: "sfuId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
399
|
-
{ no: 3, name: "sfuTransportId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
400
|
-
{ no: 4, name: "sfuStreamId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
401
|
-
{ no: 5, name: "rtpPadId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
402
|
-
{ no: 6, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
403
|
-
{ no: 7, name: "internal", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
|
|
404
|
-
{ no: 8, name: "added", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
405
|
-
{ no: 9, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
406
|
-
{ no: 10, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
407
|
-
{ no: 11, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
408
|
-
]);
|
|
409
|
-
/**
|
|
410
|
-
* @generated from message org.observertc.observer.models.SfuOutboundRtpPad
|
|
411
|
-
*/
|
|
412
|
-
class SfuOutboundRtpPad extends protobuf_1.Message {
|
|
413
|
-
constructor(data) {
|
|
414
|
-
super();
|
|
415
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
416
|
-
}
|
|
417
|
-
static fromBinary(bytes, options) {
|
|
418
|
-
return new SfuOutboundRtpPad().fromBinary(bytes, options);
|
|
419
|
-
}
|
|
420
|
-
static fromJson(jsonValue, options) {
|
|
421
|
-
return new SfuOutboundRtpPad().fromJson(jsonValue, options);
|
|
422
|
-
}
|
|
423
|
-
static fromJsonString(jsonString, options) {
|
|
424
|
-
return new SfuOutboundRtpPad().fromJsonString(jsonString, options);
|
|
425
|
-
}
|
|
426
|
-
static equals(a, b) {
|
|
427
|
-
return protobuf_1.proto2.util.equals(SfuOutboundRtpPad, a, b);
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
exports.SfuOutboundRtpPad = SfuOutboundRtpPad;
|
|
431
|
-
SfuOutboundRtpPad.runtime = protobuf_1.proto2;
|
|
432
|
-
SfuOutboundRtpPad.typeName = "org.observertc.observer.models.SfuOutboundRtpPad";
|
|
433
|
-
SfuOutboundRtpPad.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
434
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
435
|
-
{ no: 2, name: "sfuId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
436
|
-
{ no: 3, name: "sfuTransportId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
437
|
-
{ no: 4, name: "sfuStreamId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
438
|
-
{ no: 5, name: "sfuSinkId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
439
|
-
{ no: 6, name: "rtpPadId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
440
|
-
{ no: 7, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
441
|
-
{ no: 8, name: "internal", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
|
|
442
|
-
{ no: 9, name: "added", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
443
|
-
{ no: 10, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
444
|
-
{ no: 11, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
445
|
-
{ no: 12, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
446
|
-
]);
|
|
447
|
-
/**
|
|
448
|
-
* @generated from message org.observertc.observer.models.SfuSctpChannel
|
|
449
|
-
*/
|
|
450
|
-
class SfuSctpChannel extends protobuf_1.Message {
|
|
451
|
-
constructor(data) {
|
|
452
|
-
super();
|
|
453
|
-
protobuf_1.proto2.util.initPartial(data, this);
|
|
454
|
-
}
|
|
455
|
-
static fromBinary(bytes, options) {
|
|
456
|
-
return new SfuSctpChannel().fromBinary(bytes, options);
|
|
457
|
-
}
|
|
458
|
-
static fromJson(jsonValue, options) {
|
|
459
|
-
return new SfuSctpChannel().fromJson(jsonValue, options);
|
|
460
|
-
}
|
|
461
|
-
static fromJsonString(jsonString, options) {
|
|
462
|
-
return new SfuSctpChannel().fromJsonString(jsonString, options);
|
|
463
|
-
}
|
|
464
|
-
static equals(a, b) {
|
|
465
|
-
return protobuf_1.proto2.util.equals(SfuSctpChannel, a, b);
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
exports.SfuSctpChannel = SfuSctpChannel;
|
|
469
|
-
SfuSctpChannel.runtime = protobuf_1.proto2;
|
|
470
|
-
SfuSctpChannel.typeName = "org.observertc.observer.models.SfuSctpChannel";
|
|
471
|
-
SfuSctpChannel.fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
472
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
473
|
-
{ no: 2, name: "sfuId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
474
|
-
{ no: 3, name: "sfuTransportId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
475
|
-
{ no: 4, name: "sfuSctpStreamId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
476
|
-
{ no: 5, name: "sfuSctpChannelId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
477
|
-
{ no: 6, name: "opened", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
478
|
-
{ no: 7, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
479
|
-
{ no: 8, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
480
|
-
{ no: 9, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
481
|
-
]);
|