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