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