@observertc/observer-js 0.30.6-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/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 +5 -7
- package/lib/ObservedSfu.d.ts.map +1 -1
- package/lib/ObservedSfu.js +10 -74
- 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/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 +11 -46
- 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/ObserverStorage.js +0 -2
- 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/src/models/Models.ts
DELETED
|
@@ -1,1103 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.7.2 with parameter "target=ts"
|
|
2
|
-
// @generated from file models.proto (package org.observertc.observer.models, syntax proto2)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
-
import { Message, proto2 } from "@bufbuild/protobuf";
|
|
8
|
-
import { Samples_ClientSample_Browser, Samples_ClientSample_Engine, Samples_ClientSample_OperationSystem, Samples_ClientSample_Platform } from "./samples_pb";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* @generated from message org.observertc.observer.models.Call
|
|
12
|
-
*/
|
|
13
|
-
export class Call extends Message<Call> {
|
|
14
|
-
/**
|
|
15
|
-
* @generated from field: required string serviceId = 1;
|
|
16
|
-
*/
|
|
17
|
-
serviceId?: string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @generated from field: required string roomId = 2;
|
|
21
|
-
*/
|
|
22
|
-
roomId?: string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @generated from field: required string callId = 3;
|
|
26
|
-
*/
|
|
27
|
-
callId?: string;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @generated from field: required uint64 started = 4;
|
|
31
|
-
*/
|
|
32
|
-
started?: bigint;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @generated from field: repeated string clientIds = 5;
|
|
36
|
-
*/
|
|
37
|
-
clientIds: string[] = [];
|
|
38
|
-
|
|
39
|
-
constructor(data?: PartialMessage<Call>) {
|
|
40
|
-
super();
|
|
41
|
-
proto2.util.initPartial(data, this);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
45
|
-
static readonly typeName = "org.observertc.observer.models.Call";
|
|
46
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
47
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
48
|
-
{ no: 2, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
49
|
-
{ no: 3, name: "callId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
50
|
-
{ no: 4, name: "started", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
51
|
-
{ no: 5, name: "clientIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
52
|
-
]);
|
|
53
|
-
|
|
54
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Call {
|
|
55
|
-
return new Call().fromBinary(bytes, options);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Call {
|
|
59
|
-
return new Call().fromJson(jsonValue, options);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Call {
|
|
63
|
-
return new Call().fromJsonString(jsonString, options);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
static equals(a: Call | PlainMessage<Call> | undefined, b: Call | PlainMessage<Call> | undefined): boolean {
|
|
67
|
-
return proto2.util.equals(Call, a, b);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @generated from message org.observertc.observer.models.Client
|
|
73
|
-
*/
|
|
74
|
-
export class Client extends Message<Client> {
|
|
75
|
-
/**
|
|
76
|
-
* @generated from field: required string serviceId = 1;
|
|
77
|
-
*/
|
|
78
|
-
serviceId?: string;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @generated from field: required string roomId = 2;
|
|
82
|
-
*/
|
|
83
|
-
roomId?: string;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @generated from field: required string callId = 3;
|
|
87
|
-
*/
|
|
88
|
-
callId?: string;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @generated from field: required string clientId = 4;
|
|
92
|
-
*/
|
|
93
|
-
clientId?: string;
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @generated from field: required uint64 joined = 5;
|
|
97
|
-
*/
|
|
98
|
-
joined?: bigint;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @generated from field: optional uint64 sampleTouched = 6;
|
|
102
|
-
*/
|
|
103
|
-
sampleTouched?: bigint;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @generated from field: optional string timeZoneId = 7;
|
|
107
|
-
*/
|
|
108
|
-
timeZoneId?: string;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @generated from field: optional string mediaUnitId = 8;
|
|
112
|
-
*/
|
|
113
|
-
mediaUnitId?: string;
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @generated from field: optional string userId = 9;
|
|
117
|
-
*/
|
|
118
|
-
userId?: string;
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* @generated from field: optional string marker = 10;
|
|
122
|
-
*/
|
|
123
|
-
marker?: string;
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @generated from field: repeated string peerConnectionIds = 11;
|
|
127
|
-
*/
|
|
128
|
-
peerConnectionIds: string[] = [];
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* @generated from field: optional org.observertc.schemas.protobuf.Samples.ClientSample.Browser browser = 12;
|
|
132
|
-
*/
|
|
133
|
-
browser?: Samples_ClientSample_Browser;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* @generated from field: optional org.observertc.schemas.protobuf.Samples.ClientSample.OperationSystem operationSystem = 13;
|
|
137
|
-
*/
|
|
138
|
-
operationSystem?: Samples_ClientSample_OperationSystem;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @generated from field: optional org.observertc.schemas.protobuf.Samples.ClientSample.Platform platform = 14;
|
|
142
|
-
*/
|
|
143
|
-
platform?: Samples_ClientSample_Platform;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* @generated from field: optional org.observertc.schemas.protobuf.Samples.ClientSample.Engine engine = 15;
|
|
147
|
-
*/
|
|
148
|
-
engine?: Samples_ClientSample_Engine;
|
|
149
|
-
|
|
150
|
-
constructor(data?: PartialMessage<Client>) {
|
|
151
|
-
super();
|
|
152
|
-
proto2.util.initPartial(data, this);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
156
|
-
static readonly typeName = "org.observertc.observer.models.Client";
|
|
157
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
158
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
159
|
-
{ no: 2, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
160
|
-
{ no: 3, name: "callId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
161
|
-
{ no: 4, name: "clientId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
162
|
-
{ no: 5, name: "joined", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
163
|
-
{ no: 6, name: "sampleTouched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
164
|
-
{ no: 7, name: "timeZoneId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
165
|
-
{ no: 8, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
166
|
-
{ no: 9, name: "userId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
167
|
-
{ no: 10, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
168
|
-
{ no: 11, name: "peerConnectionIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
169
|
-
{ no: 12, name: "browser", kind: "message", T: Samples_ClientSample_Browser, opt: true },
|
|
170
|
-
{ no: 13, name: "operationSystem", kind: "message", T: Samples_ClientSample_OperationSystem, opt: true },
|
|
171
|
-
{ no: 14, name: "platform", kind: "message", T: Samples_ClientSample_Platform, opt: true },
|
|
172
|
-
{ no: 15, name: "engine", kind: "message", T: Samples_ClientSample_Engine, opt: true },
|
|
173
|
-
]);
|
|
174
|
-
|
|
175
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Client {
|
|
176
|
-
return new Client().fromBinary(bytes, options);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Client {
|
|
180
|
-
return new Client().fromJson(jsonValue, options);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Client {
|
|
184
|
-
return new Client().fromJsonString(jsonString, options);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
static equals(a: Client | PlainMessage<Client> | undefined, b: Client | PlainMessage<Client> | undefined): boolean {
|
|
188
|
-
return proto2.util.equals(Client, a, b);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* @generated from message org.observertc.observer.models.PeerConnection
|
|
194
|
-
*/
|
|
195
|
-
export class PeerConnection extends Message<PeerConnection> {
|
|
196
|
-
/**
|
|
197
|
-
* @generated from field: required string serviceId = 1;
|
|
198
|
-
*/
|
|
199
|
-
serviceId?: string;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* @generated from field: required string roomId = 2;
|
|
203
|
-
*/
|
|
204
|
-
roomId?: string;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* @generated from field: required string callId = 3;
|
|
208
|
-
*/
|
|
209
|
-
callId?: string;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* @generated from field: required string clientId = 4;
|
|
213
|
-
*/
|
|
214
|
-
clientId?: string;
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* @generated from field: required string peerConnectionId = 5;
|
|
218
|
-
*/
|
|
219
|
-
peerConnectionId?: string;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* @generated from field: required uint64 opened = 6;
|
|
223
|
-
*/
|
|
224
|
-
opened?: bigint;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* @generated from field: optional string mediaUnitId = 7;
|
|
228
|
-
*/
|
|
229
|
-
mediaUnitId?: string;
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* @generated from field: optional string userId = 8;
|
|
233
|
-
*/
|
|
234
|
-
userId?: string;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* @generated from field: optional string marker = 9;
|
|
238
|
-
*/
|
|
239
|
-
marker?: string;
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @generated from field: optional string label = 10;
|
|
243
|
-
*/
|
|
244
|
-
label?: string;
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* @generated from field: repeated string inboundTrackIds = 11;
|
|
248
|
-
*/
|
|
249
|
-
inboundTrackIds: string[] = [];
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* @generated from field: repeated string outboundTrackIds = 12;
|
|
253
|
-
*/
|
|
254
|
-
outboundTrackIds: string[] = [];
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* @generated from field: optional uint64 touched = 17;
|
|
258
|
-
*/
|
|
259
|
-
touched?: bigint;
|
|
260
|
-
|
|
261
|
-
constructor(data?: PartialMessage<PeerConnection>) {
|
|
262
|
-
super();
|
|
263
|
-
proto2.util.initPartial(data, this);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
267
|
-
static readonly typeName = "org.observertc.observer.models.PeerConnection";
|
|
268
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
269
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
270
|
-
{ no: 2, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
271
|
-
{ no: 3, name: "callId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
272
|
-
{ no: 4, name: "clientId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
273
|
-
{ no: 5, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
274
|
-
{ no: 6, name: "opened", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
275
|
-
{ no: 7, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
276
|
-
{ no: 8, name: "userId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
277
|
-
{ no: 9, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
278
|
-
{ no: 10, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
279
|
-
{ no: 11, name: "inboundTrackIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
280
|
-
{ no: 12, name: "outboundTrackIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
281
|
-
{ no: 17, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
282
|
-
]);
|
|
283
|
-
|
|
284
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PeerConnection {
|
|
285
|
-
return new PeerConnection().fromBinary(bytes, options);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PeerConnection {
|
|
289
|
-
return new PeerConnection().fromJson(jsonValue, options);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PeerConnection {
|
|
293
|
-
return new PeerConnection().fromJsonString(jsonString, options);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
static equals(a: PeerConnection | PlainMessage<PeerConnection> | undefined, b: PeerConnection | PlainMessage<PeerConnection> | undefined): boolean {
|
|
297
|
-
return proto2.util.equals(PeerConnection, a, b);
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* @generated from message org.observertc.observer.models.InboundTrackVideoStats
|
|
303
|
-
*/
|
|
304
|
-
export class InboundTrackVideoStats extends Message<InboundTrackVideoStats> {
|
|
305
|
-
/**
|
|
306
|
-
* @generated from field: required int32 ssrc = 1;
|
|
307
|
-
*/
|
|
308
|
-
ssrc?: number;
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* optional org.observertc.schemas.protobuf.Samples.ClientSample.InboundVideoTrack sample = 4;
|
|
312
|
-
*
|
|
313
|
-
* @generated from field: optional float fps = 2;
|
|
314
|
-
*/
|
|
315
|
-
fps?: number;
|
|
316
|
-
|
|
317
|
-
constructor(data?: PartialMessage<InboundTrackVideoStats>) {
|
|
318
|
-
super();
|
|
319
|
-
proto2.util.initPartial(data, this);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
323
|
-
static readonly typeName = "org.observertc.observer.models.InboundTrackVideoStats";
|
|
324
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
325
|
-
{ no: 1, name: "ssrc", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
326
|
-
{ no: 2, name: "fps", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
327
|
-
]);
|
|
328
|
-
|
|
329
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InboundTrackVideoStats {
|
|
330
|
-
return new InboundTrackVideoStats().fromBinary(bytes, options);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InboundTrackVideoStats {
|
|
334
|
-
return new InboundTrackVideoStats().fromJson(jsonValue, options);
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InboundTrackVideoStats {
|
|
338
|
-
return new InboundTrackVideoStats().fromJsonString(jsonString, options);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
static equals(a: InboundTrackVideoStats | PlainMessage<InboundTrackVideoStats> | undefined, b: InboundTrackVideoStats | PlainMessage<InboundTrackVideoStats> | undefined): boolean {
|
|
342
|
-
return proto2.util.equals(InboundTrackVideoStats, a, b);
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* @generated from message org.observertc.observer.models.InboundTrackStats
|
|
348
|
-
*/
|
|
349
|
-
export class InboundTrackStats extends Message<InboundTrackStats> {
|
|
350
|
-
/**
|
|
351
|
-
* @generated from field: optional float bitrate = 1;
|
|
352
|
-
*/
|
|
353
|
-
bitrate?: number;
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* @generated from field: optional float fractionalLoss = 2;
|
|
357
|
-
*/
|
|
358
|
-
fractionalLoss?: number;
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* @generated from field: optional float avgRttInS = 3;
|
|
362
|
-
*/
|
|
363
|
-
avgRttInS?: number;
|
|
364
|
-
|
|
365
|
-
constructor(data?: PartialMessage<InboundTrackStats>) {
|
|
366
|
-
super();
|
|
367
|
-
proto2.util.initPartial(data, this);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
371
|
-
static readonly typeName = "org.observertc.observer.models.InboundTrackStats";
|
|
372
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
373
|
-
{ no: 1, name: "bitrate", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
374
|
-
{ no: 2, name: "fractionalLoss", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
375
|
-
{ no: 3, name: "avgRttInS", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
376
|
-
]);
|
|
377
|
-
|
|
378
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InboundTrackStats {
|
|
379
|
-
return new InboundTrackStats().fromBinary(bytes, options);
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InboundTrackStats {
|
|
383
|
-
return new InboundTrackStats().fromJson(jsonValue, options);
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InboundTrackStats {
|
|
387
|
-
return new InboundTrackStats().fromJsonString(jsonString, options);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
static equals(a: InboundTrackStats | PlainMessage<InboundTrackStats> | undefined, b: InboundTrackStats | PlainMessage<InboundTrackStats> | undefined): boolean {
|
|
391
|
-
return proto2.util.equals(InboundTrackStats, a, b);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* @generated from message org.observertc.observer.models.InboundTrack
|
|
397
|
-
*/
|
|
398
|
-
export class InboundTrack extends Message<InboundTrack> {
|
|
399
|
-
/**
|
|
400
|
-
* @generated from field: required string serviceId = 1;
|
|
401
|
-
*/
|
|
402
|
-
serviceId?: string;
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* @generated from field: required string roomId = 2;
|
|
406
|
-
*/
|
|
407
|
-
roomId?: string;
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* @generated from field: required string callId = 3;
|
|
411
|
-
*/
|
|
412
|
-
callId?: string;
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* @generated from field: required string clientId = 4;
|
|
416
|
-
*/
|
|
417
|
-
clientId?: string;
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* @generated from field: required string peerConnectionId = 5;
|
|
421
|
-
*/
|
|
422
|
-
peerConnectionId?: string;
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* @generated from field: required string trackId = 6;
|
|
426
|
-
*/
|
|
427
|
-
trackId?: string;
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* @generated from field: required string kind = 7;
|
|
431
|
-
*/
|
|
432
|
-
kind?: string;
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* @generated from field: required uint64 added = 8;
|
|
436
|
-
*/
|
|
437
|
-
added?: bigint;
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* @generated from field: optional string mediaUnitId = 9;
|
|
441
|
-
*/
|
|
442
|
-
mediaUnitId?: string;
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* @generated from field: optional string userId = 10;
|
|
446
|
-
*/
|
|
447
|
-
userId?: string;
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* @generated from field: optional string marker = 11;
|
|
451
|
-
*/
|
|
452
|
-
marker?: string;
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* @generated from field: optional string sfuSinkId = 12;
|
|
456
|
-
*/
|
|
457
|
-
sfuSinkId?: string;
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* @generated from field: optional string sfuStreamId = 13;
|
|
461
|
-
*/
|
|
462
|
-
sfuStreamId?: string;
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
* @generated from field: repeated int64 ssrc = 14;
|
|
466
|
-
*/
|
|
467
|
-
ssrc: bigint[] = [];
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* @generated from field: optional uint64 touched = 17;
|
|
471
|
-
*/
|
|
472
|
-
touched?: bigint;
|
|
473
|
-
|
|
474
|
-
constructor(data?: PartialMessage<InboundTrack>) {
|
|
475
|
-
super();
|
|
476
|
-
proto2.util.initPartial(data, this);
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
480
|
-
static readonly typeName = "org.observertc.observer.models.InboundTrack";
|
|
481
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
482
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
483
|
-
{ no: 2, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
484
|
-
{ no: 3, name: "callId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
485
|
-
{ no: 4, name: "clientId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
486
|
-
{ no: 5, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
487
|
-
{ no: 6, name: "trackId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
488
|
-
{ no: 7, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
489
|
-
{ no: 8, name: "added", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
490
|
-
{ no: 9, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
491
|
-
{ no: 10, name: "userId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
492
|
-
{ no: 11, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
493
|
-
{ no: 12, name: "sfuSinkId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
494
|
-
{ no: 13, name: "sfuStreamId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
495
|
-
{ no: 14, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
496
|
-
{ no: 17, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
497
|
-
]);
|
|
498
|
-
|
|
499
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InboundTrack {
|
|
500
|
-
return new InboundTrack().fromBinary(bytes, options);
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InboundTrack {
|
|
504
|
-
return new InboundTrack().fromJson(jsonValue, options);
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InboundTrack {
|
|
508
|
-
return new InboundTrack().fromJsonString(jsonString, options);
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
static equals(a: InboundTrack | PlainMessage<InboundTrack> | undefined, b: InboundTrack | PlainMessage<InboundTrack> | undefined): boolean {
|
|
512
|
-
return proto2.util.equals(InboundTrack, a, b);
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
* @generated from message org.observertc.observer.models.OutboundTrack
|
|
518
|
-
*/
|
|
519
|
-
export class OutboundTrack extends Message<OutboundTrack> {
|
|
520
|
-
/**
|
|
521
|
-
* @generated from field: required string serviceId = 1;
|
|
522
|
-
*/
|
|
523
|
-
serviceId?: string;
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* @generated from field: required string roomId = 2;
|
|
527
|
-
*/
|
|
528
|
-
roomId?: string;
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* @generated from field: required string callId = 3;
|
|
532
|
-
*/
|
|
533
|
-
callId?: string;
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* @generated from field: required string clientId = 4;
|
|
537
|
-
*/
|
|
538
|
-
clientId?: string;
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* @generated from field: required string peerConnectionId = 5;
|
|
542
|
-
*/
|
|
543
|
-
peerConnectionId?: string;
|
|
544
|
-
|
|
545
|
-
/**
|
|
546
|
-
* @generated from field: required string trackId = 6;
|
|
547
|
-
*/
|
|
548
|
-
trackId?: string;
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* @generated from field: required uint64 added = 7;
|
|
552
|
-
*/
|
|
553
|
-
added?: bigint;
|
|
554
|
-
|
|
555
|
-
/**
|
|
556
|
-
* @generated from field: required string kind = 8;
|
|
557
|
-
*/
|
|
558
|
-
kind?: string;
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
* @generated from field: optional string mediaUnitId = 9;
|
|
562
|
-
*/
|
|
563
|
-
mediaUnitId?: string;
|
|
564
|
-
|
|
565
|
-
/**
|
|
566
|
-
* @generated from field: optional string userId = 10;
|
|
567
|
-
*/
|
|
568
|
-
userId?: string;
|
|
569
|
-
|
|
570
|
-
/**
|
|
571
|
-
* @generated from field: optional string marker = 11;
|
|
572
|
-
*/
|
|
573
|
-
marker?: string;
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
* @generated from field: optional string sfuStreamId = 12;
|
|
577
|
-
*/
|
|
578
|
-
sfuStreamId?: string;
|
|
579
|
-
|
|
580
|
-
/**
|
|
581
|
-
* @generated from field: repeated int64 ssrc = 13;
|
|
582
|
-
*/
|
|
583
|
-
ssrc: bigint[] = [];
|
|
584
|
-
|
|
585
|
-
/**
|
|
586
|
-
* @generated from field: optional uint64 touched = 16;
|
|
587
|
-
*/
|
|
588
|
-
touched?: bigint;
|
|
589
|
-
|
|
590
|
-
constructor(data?: PartialMessage<OutboundTrack>) {
|
|
591
|
-
super();
|
|
592
|
-
proto2.util.initPartial(data, this);
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
596
|
-
static readonly typeName = "org.observertc.observer.models.OutboundTrack";
|
|
597
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
598
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
599
|
-
{ no: 2, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
600
|
-
{ no: 3, name: "callId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
601
|
-
{ no: 4, name: "clientId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
602
|
-
{ no: 5, name: "peerConnectionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
603
|
-
{ no: 6, name: "trackId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
604
|
-
{ no: 7, name: "added", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
605
|
-
{ no: 8, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
606
|
-
{ no: 9, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
607
|
-
{ no: 10, name: "userId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
608
|
-
{ no: 11, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
609
|
-
{ no: 12, name: "sfuStreamId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
610
|
-
{ no: 13, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
611
|
-
{ no: 16, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
612
|
-
]);
|
|
613
|
-
|
|
614
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OutboundTrack {
|
|
615
|
-
return new OutboundTrack().fromBinary(bytes, options);
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OutboundTrack {
|
|
619
|
-
return new OutboundTrack().fromJson(jsonValue, options);
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OutboundTrack {
|
|
623
|
-
return new OutboundTrack().fromJsonString(jsonString, options);
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
static equals(a: OutboundTrack | PlainMessage<OutboundTrack> | undefined, b: OutboundTrack | PlainMessage<OutboundTrack> | undefined): boolean {
|
|
627
|
-
return proto2.util.equals(OutboundTrack, a, b);
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* @generated from message org.observertc.observer.models.Sfu
|
|
633
|
-
*/
|
|
634
|
-
export class Sfu extends Message<Sfu> {
|
|
635
|
-
/**
|
|
636
|
-
* @generated from field: required string serviceId = 1;
|
|
637
|
-
*/
|
|
638
|
-
serviceId?: string;
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* @generated from field: required string sfuId = 2;
|
|
642
|
-
*/
|
|
643
|
-
sfuId?: string;
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* @generated from field: required uint64 joined = 3;
|
|
647
|
-
*/
|
|
648
|
-
joined?: bigint;
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* @generated from field: optional uint64 sampleTouched = 4;
|
|
652
|
-
*/
|
|
653
|
-
sampleTouched?: bigint;
|
|
654
|
-
|
|
655
|
-
/**
|
|
656
|
-
* @generated from field: optional string mediaUnitId = 5;
|
|
657
|
-
*/
|
|
658
|
-
mediaUnitId?: string;
|
|
659
|
-
|
|
660
|
-
/**
|
|
661
|
-
* @generated from field: optional string timeZoneId = 6;
|
|
662
|
-
*/
|
|
663
|
-
timeZoneId?: string;
|
|
664
|
-
|
|
665
|
-
/**
|
|
666
|
-
* @generated from field: optional string marker = 7;
|
|
667
|
-
*/
|
|
668
|
-
marker?: string;
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
* @generated from field: repeated string sfuTransportIds = 8;
|
|
672
|
-
*/
|
|
673
|
-
sfuTransportIds: string[] = [];
|
|
674
|
-
|
|
675
|
-
/**
|
|
676
|
-
* @generated from field: optional uint64 serverTouched = 9;
|
|
677
|
-
*/
|
|
678
|
-
serverTouched?: bigint;
|
|
679
|
-
|
|
680
|
-
constructor(data?: PartialMessage<Sfu>) {
|
|
681
|
-
super();
|
|
682
|
-
proto2.util.initPartial(data, this);
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
686
|
-
static readonly typeName = "org.observertc.observer.models.Sfu";
|
|
687
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
688
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
689
|
-
{ no: 2, name: "sfuId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
690
|
-
{ no: 3, name: "joined", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
691
|
-
{ no: 4, name: "sampleTouched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
692
|
-
{ no: 5, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
693
|
-
{ no: 6, name: "timeZoneId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
694
|
-
{ no: 7, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
695
|
-
{ no: 8, name: "sfuTransportIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
696
|
-
{ no: 9, name: "serverTouched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
697
|
-
]);
|
|
698
|
-
|
|
699
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Sfu {
|
|
700
|
-
return new Sfu().fromBinary(bytes, options);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Sfu {
|
|
704
|
-
return new Sfu().fromJson(jsonValue, options);
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Sfu {
|
|
708
|
-
return new Sfu().fromJsonString(jsonString, options);
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
static equals(a: Sfu | PlainMessage<Sfu> | undefined, b: Sfu | PlainMessage<Sfu> | undefined): boolean {
|
|
712
|
-
return proto2.util.equals(Sfu, a, b);
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
/**
|
|
717
|
-
* @generated from message org.observertc.observer.models.SfuTransport
|
|
718
|
-
*/
|
|
719
|
-
export class SfuTransport extends Message<SfuTransport> {
|
|
720
|
-
/**
|
|
721
|
-
* @generated from field: required string serviceId = 1;
|
|
722
|
-
*/
|
|
723
|
-
serviceId?: string;
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
* @generated from field: required string sfuId = 2;
|
|
727
|
-
*/
|
|
728
|
-
sfuId?: string;
|
|
729
|
-
|
|
730
|
-
/**
|
|
731
|
-
* @generated from field: required string transportId = 3;
|
|
732
|
-
*/
|
|
733
|
-
transportId?: string;
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
* @generated from field: required bool internal = 4 [default = false];
|
|
737
|
-
*/
|
|
738
|
-
internal?: boolean;
|
|
739
|
-
|
|
740
|
-
/**
|
|
741
|
-
* @generated from field: required uint64 opened = 5;
|
|
742
|
-
*/
|
|
743
|
-
opened?: bigint;
|
|
744
|
-
|
|
745
|
-
/**
|
|
746
|
-
* @generated from field: optional uint64 sampleTouched = 6;
|
|
747
|
-
*/
|
|
748
|
-
sampleTouched?: bigint;
|
|
749
|
-
|
|
750
|
-
/**
|
|
751
|
-
* @generated from field: optional string mediaUnitId = 7;
|
|
752
|
-
*/
|
|
753
|
-
mediaUnitId?: string;
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
* @generated from field: optional string marker = 8;
|
|
757
|
-
*/
|
|
758
|
-
marker?: string;
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* @generated from field: repeated string inboundRtpPadIds = 9;
|
|
762
|
-
*/
|
|
763
|
-
inboundRtpPadIds: string[] = [];
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* @generated from field: repeated string outboundRtpPadIds = 10;
|
|
767
|
-
*/
|
|
768
|
-
outboundRtpPadIds: string[] = [];
|
|
769
|
-
|
|
770
|
-
/**
|
|
771
|
-
* @generated from field: repeated string sctpChannelIds = 11;
|
|
772
|
-
*/
|
|
773
|
-
sctpChannelIds: string[] = [];
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
* @generated from field: optional uint64 touched = 12;
|
|
777
|
-
*/
|
|
778
|
-
touched?: bigint;
|
|
779
|
-
|
|
780
|
-
constructor(data?: PartialMessage<SfuTransport>) {
|
|
781
|
-
super();
|
|
782
|
-
proto2.util.initPartial(data, this);
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
786
|
-
static readonly typeName = "org.observertc.observer.models.SfuTransport";
|
|
787
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
788
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
789
|
-
{ no: 2, name: "sfuId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
790
|
-
{ no: 3, name: "transportId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
791
|
-
{ no: 4, name: "internal", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
|
|
792
|
-
{ no: 5, name: "opened", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
793
|
-
{ no: 6, name: "sampleTouched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
794
|
-
{ no: 7, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
795
|
-
{ no: 8, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
796
|
-
{ no: 9, name: "inboundRtpPadIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
797
|
-
{ no: 10, name: "outboundRtpPadIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
798
|
-
{ no: 11, name: "sctpChannelIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
799
|
-
{ no: 12, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
800
|
-
]);
|
|
801
|
-
|
|
802
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SfuTransport {
|
|
803
|
-
return new SfuTransport().fromBinary(bytes, options);
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SfuTransport {
|
|
807
|
-
return new SfuTransport().fromJson(jsonValue, options);
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SfuTransport {
|
|
811
|
-
return new SfuTransport().fromJsonString(jsonString, options);
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
static equals(a: SfuTransport | PlainMessage<SfuTransport> | undefined, b: SfuTransport | PlainMessage<SfuTransport> | undefined): boolean {
|
|
815
|
-
return proto2.util.equals(SfuTransport, a, b);
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
/**
|
|
820
|
-
* @generated from message org.observertc.observer.models.SfuInboundRtpPad
|
|
821
|
-
*/
|
|
822
|
-
export class SfuInboundRtpPad extends Message<SfuInboundRtpPad> {
|
|
823
|
-
/**
|
|
824
|
-
* @generated from field: required string serviceId = 1;
|
|
825
|
-
*/
|
|
826
|
-
serviceId?: string;
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* @generated from field: required string sfuId = 2;
|
|
830
|
-
*/
|
|
831
|
-
sfuId?: string;
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* @generated from field: required string sfuTransportId = 3;
|
|
835
|
-
*/
|
|
836
|
-
sfuTransportId?: string;
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* @generated from field: required string sfuStreamId = 4;
|
|
840
|
-
*/
|
|
841
|
-
sfuStreamId?: string;
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* @generated from field: required string rtpPadId = 5;
|
|
845
|
-
*/
|
|
846
|
-
rtpPadId?: string;
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* @generated from field: required int64 ssrc = 6;
|
|
850
|
-
*/
|
|
851
|
-
ssrc?: bigint;
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* @generated from field: required bool internal = 7 [default = false];
|
|
855
|
-
*/
|
|
856
|
-
internal?: boolean;
|
|
857
|
-
|
|
858
|
-
/**
|
|
859
|
-
* @generated from field: required uint64 added = 8;
|
|
860
|
-
*/
|
|
861
|
-
added?: bigint;
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* @generated from field: optional uint64 touched = 9;
|
|
865
|
-
*/
|
|
866
|
-
touched?: bigint;
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* @generated from field: optional string mediaUnitId = 10;
|
|
870
|
-
*/
|
|
871
|
-
mediaUnitId?: string;
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* @generated from field: optional string marker = 11;
|
|
875
|
-
*/
|
|
876
|
-
marker?: string;
|
|
877
|
-
|
|
878
|
-
constructor(data?: PartialMessage<SfuInboundRtpPad>) {
|
|
879
|
-
super();
|
|
880
|
-
proto2.util.initPartial(data, this);
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
884
|
-
static readonly typeName = "org.observertc.observer.models.SfuInboundRtpPad";
|
|
885
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
886
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
887
|
-
{ no: 2, name: "sfuId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
888
|
-
{ no: 3, name: "sfuTransportId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
889
|
-
{ no: 4, name: "sfuStreamId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
890
|
-
{ no: 5, name: "rtpPadId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
891
|
-
{ no: 6, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
892
|
-
{ no: 7, name: "internal", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
|
|
893
|
-
{ no: 8, name: "added", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
894
|
-
{ no: 9, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
895
|
-
{ no: 10, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
896
|
-
{ no: 11, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
897
|
-
]);
|
|
898
|
-
|
|
899
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SfuInboundRtpPad {
|
|
900
|
-
return new SfuInboundRtpPad().fromBinary(bytes, options);
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SfuInboundRtpPad {
|
|
904
|
-
return new SfuInboundRtpPad().fromJson(jsonValue, options);
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SfuInboundRtpPad {
|
|
908
|
-
return new SfuInboundRtpPad().fromJsonString(jsonString, options);
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
static equals(a: SfuInboundRtpPad | PlainMessage<SfuInboundRtpPad> | undefined, b: SfuInboundRtpPad | PlainMessage<SfuInboundRtpPad> | undefined): boolean {
|
|
912
|
-
return proto2.util.equals(SfuInboundRtpPad, a, b);
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* @generated from message org.observertc.observer.models.SfuOutboundRtpPad
|
|
918
|
-
*/
|
|
919
|
-
export class SfuOutboundRtpPad extends Message<SfuOutboundRtpPad> {
|
|
920
|
-
/**
|
|
921
|
-
* @generated from field: required string serviceId = 1;
|
|
922
|
-
*/
|
|
923
|
-
serviceId?: string;
|
|
924
|
-
|
|
925
|
-
/**
|
|
926
|
-
* @generated from field: required string sfuId = 2;
|
|
927
|
-
*/
|
|
928
|
-
sfuId?: string;
|
|
929
|
-
|
|
930
|
-
/**
|
|
931
|
-
* @generated from field: required string sfuTransportId = 3;
|
|
932
|
-
*/
|
|
933
|
-
sfuTransportId?: string;
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
* @generated from field: required string sfuStreamId = 4;
|
|
937
|
-
*/
|
|
938
|
-
sfuStreamId?: string;
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* @generated from field: required string sfuSinkId = 5;
|
|
942
|
-
*/
|
|
943
|
-
sfuSinkId?: string;
|
|
944
|
-
|
|
945
|
-
/**
|
|
946
|
-
* @generated from field: required string rtpPadId = 6;
|
|
947
|
-
*/
|
|
948
|
-
rtpPadId?: string;
|
|
949
|
-
|
|
950
|
-
/**
|
|
951
|
-
* @generated from field: required int64 ssrc = 7;
|
|
952
|
-
*/
|
|
953
|
-
ssrc?: bigint;
|
|
954
|
-
|
|
955
|
-
/**
|
|
956
|
-
* @generated from field: required bool internal = 8 [default = false];
|
|
957
|
-
*/
|
|
958
|
-
internal?: boolean;
|
|
959
|
-
|
|
960
|
-
/**
|
|
961
|
-
* @generated from field: required uint64 added = 9;
|
|
962
|
-
*/
|
|
963
|
-
added?: bigint;
|
|
964
|
-
|
|
965
|
-
/**
|
|
966
|
-
* @generated from field: optional uint64 touched = 10;
|
|
967
|
-
*/
|
|
968
|
-
touched?: bigint;
|
|
969
|
-
|
|
970
|
-
/**
|
|
971
|
-
* @generated from field: optional string mediaUnitId = 11;
|
|
972
|
-
*/
|
|
973
|
-
mediaUnitId?: string;
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
* @generated from field: optional string marker = 12;
|
|
977
|
-
*/
|
|
978
|
-
marker?: string;
|
|
979
|
-
|
|
980
|
-
constructor(data?: PartialMessage<SfuOutboundRtpPad>) {
|
|
981
|
-
super();
|
|
982
|
-
proto2.util.initPartial(data, this);
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
986
|
-
static readonly typeName = "org.observertc.observer.models.SfuOutboundRtpPad";
|
|
987
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
988
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
989
|
-
{ no: 2, name: "sfuId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
990
|
-
{ no: 3, name: "sfuTransportId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
991
|
-
{ no: 4, name: "sfuStreamId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
992
|
-
{ no: 5, name: "sfuSinkId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
993
|
-
{ no: 6, name: "rtpPadId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
994
|
-
{ no: 7, name: "ssrc", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
995
|
-
{ no: 8, name: "internal", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
|
|
996
|
-
{ no: 9, name: "added", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
997
|
-
{ no: 10, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
998
|
-
{ no: 11, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
999
|
-
{ no: 12, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1000
|
-
]);
|
|
1001
|
-
|
|
1002
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SfuOutboundRtpPad {
|
|
1003
|
-
return new SfuOutboundRtpPad().fromBinary(bytes, options);
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SfuOutboundRtpPad {
|
|
1007
|
-
return new SfuOutboundRtpPad().fromJson(jsonValue, options);
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SfuOutboundRtpPad {
|
|
1011
|
-
return new SfuOutboundRtpPad().fromJsonString(jsonString, options);
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
static equals(a: SfuOutboundRtpPad | PlainMessage<SfuOutboundRtpPad> | undefined, b: SfuOutboundRtpPad | PlainMessage<SfuOutboundRtpPad> | undefined): boolean {
|
|
1015
|
-
return proto2.util.equals(SfuOutboundRtpPad, a, b);
|
|
1016
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
/**
|
|
1020
|
-
* @generated from message org.observertc.observer.models.SfuSctpChannel
|
|
1021
|
-
*/
|
|
1022
|
-
export class SfuSctpChannel extends Message<SfuSctpChannel> {
|
|
1023
|
-
/**
|
|
1024
|
-
* @generated from field: required string serviceId = 1;
|
|
1025
|
-
*/
|
|
1026
|
-
serviceId?: string;
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
* @generated from field: required string sfuId = 2;
|
|
1030
|
-
*/
|
|
1031
|
-
sfuId?: string;
|
|
1032
|
-
|
|
1033
|
-
/**
|
|
1034
|
-
* @generated from field: required string sfuTransportId = 3;
|
|
1035
|
-
*/
|
|
1036
|
-
sfuTransportId?: string;
|
|
1037
|
-
|
|
1038
|
-
/**
|
|
1039
|
-
* @generated from field: required string sfuSctpStreamId = 4;
|
|
1040
|
-
*/
|
|
1041
|
-
sfuSctpStreamId?: string;
|
|
1042
|
-
|
|
1043
|
-
/**
|
|
1044
|
-
* @generated from field: required string sfuSctpChannelId = 5;
|
|
1045
|
-
*/
|
|
1046
|
-
sfuSctpChannelId?: string;
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* @generated from field: required uint64 opened = 6;
|
|
1050
|
-
*/
|
|
1051
|
-
opened?: bigint;
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
* @generated from field: optional uint64 touched = 7;
|
|
1055
|
-
*/
|
|
1056
|
-
touched?: bigint;
|
|
1057
|
-
|
|
1058
|
-
/**
|
|
1059
|
-
* @generated from field: optional string mediaUnitId = 8;
|
|
1060
|
-
*/
|
|
1061
|
-
mediaUnitId?: string;
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* @generated from field: optional string marker = 9;
|
|
1065
|
-
*/
|
|
1066
|
-
marker?: string;
|
|
1067
|
-
|
|
1068
|
-
constructor(data?: PartialMessage<SfuSctpChannel>) {
|
|
1069
|
-
super();
|
|
1070
|
-
proto2.util.initPartial(data, this);
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
1074
|
-
static readonly typeName = "org.observertc.observer.models.SfuSctpChannel";
|
|
1075
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
1076
|
-
{ no: 1, name: "serviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1077
|
-
{ no: 2, name: "sfuId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1078
|
-
{ no: 3, name: "sfuTransportId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1079
|
-
{ no: 4, name: "sfuSctpStreamId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1080
|
-
{ no: 5, name: "sfuSctpChannelId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1081
|
-
{ no: 6, name: "opened", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1082
|
-
{ no: 7, name: "touched", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1083
|
-
{ no: 8, name: "mediaUnitId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1084
|
-
{ no: 9, name: "marker", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1085
|
-
]);
|
|
1086
|
-
|
|
1087
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SfuSctpChannel {
|
|
1088
|
-
return new SfuSctpChannel().fromBinary(bytes, options);
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SfuSctpChannel {
|
|
1092
|
-
return new SfuSctpChannel().fromJson(jsonValue, options);
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SfuSctpChannel {
|
|
1096
|
-
return new SfuSctpChannel().fromJsonString(jsonString, options);
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
static equals(a: SfuSctpChannel | PlainMessage<SfuSctpChannel> | undefined, b: SfuSctpChannel | PlainMessage<SfuSctpChannel> | undefined): boolean {
|
|
1100
|
-
return proto2.util.equals(SfuSctpChannel, a, b);
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
|