@livekit/rtc-node 0.0.2 → 0.0.3

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.
Files changed (98) hide show
  1. package/Cargo.toml +21 -0
  2. package/build.rs +5 -0
  3. package/dist/audio_frame.d.ts +13 -0
  4. package/dist/audio_frame.js +36 -0
  5. package/dist/audio_frame.js.map +1 -0
  6. package/dist/audio_source.d.ts +13 -0
  7. package/dist/audio_source.js +42 -0
  8. package/dist/audio_source.js.map +1 -0
  9. package/dist/audio_stream.d.ts +23 -0
  10. package/dist/audio_stream.js +54 -0
  11. package/dist/audio_stream.js.map +1 -0
  12. package/dist/e2ee.d.ts +43 -0
  13. package/dist/e2ee.js +232 -0
  14. package/dist/e2ee.js.map +1 -0
  15. package/dist/ffi_client.d.ts +22 -0
  16. package/dist/ffi_client.js +57 -0
  17. package/dist/ffi_client.js.map +1 -0
  18. package/dist/index.d.ts +15 -0
  19. package/dist/index.js +71 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/native.d.ts +5 -0
  22. package/dist/native.js +297 -0
  23. package/dist/native.js.map +1 -0
  24. package/dist/participant.d.ts +29 -0
  25. package/dist/participant.js +120 -0
  26. package/dist/participant.js.map +1 -0
  27. package/dist/proto/audio_frame_pb.d.ts +555 -0
  28. package/dist/proto/audio_frame_pb.js +861 -0
  29. package/dist/proto/audio_frame_pb.js.map +1 -0
  30. package/dist/proto/e2ee_pb.d.ts +651 -0
  31. package/dist/proto/e2ee_pb.js +906 -0
  32. package/dist/proto/e2ee_pb.js.map +1 -0
  33. package/dist/proto/ffi_pb.d.ts +671 -0
  34. package/dist/proto/ffi_pb.js +459 -0
  35. package/dist/proto/ffi_pb.js.map +1 -0
  36. package/dist/proto/handle_pb.d.ts +29 -0
  37. package/dist/proto/handle_pb.js +59 -0
  38. package/dist/proto/handle_pb.js.map +1 -0
  39. package/dist/proto/participant_pb.d.ts +53 -0
  40. package/dist/proto/participant_pb.js +93 -0
  41. package/dist/proto/participant_pb.js.map +1 -0
  42. package/dist/proto/room_pb.d.ts +1479 -0
  43. package/dist/proto/room_pb.js +2172 -0
  44. package/dist/proto/room_pb.js.map +1 -0
  45. package/dist/proto/stats_pb.d.ts +1712 -0
  46. package/dist/proto/stats_pb.js +2238 -0
  47. package/dist/proto/stats_pb.js.map +1 -0
  48. package/dist/proto/track_pb.d.ts +352 -0
  49. package/dist/proto/track_pb.js +550 -0
  50. package/dist/proto/track_pb.js.map +1 -0
  51. package/dist/proto/video_frame_pb.d.ts +854 -0
  52. package/dist/proto/video_frame_pb.js +1214 -0
  53. package/dist/proto/video_frame_pb.js.map +1 -0
  54. package/dist/room.d.ts +94 -0
  55. package/dist/room.js +285 -0
  56. package/dist/room.js.map +1 -0
  57. package/dist/track.d.ts +34 -0
  58. package/dist/track.js +72 -0
  59. package/dist/track.js.map +1 -0
  60. package/dist/track_publication.d.ts +30 -0
  61. package/dist/track_publication.js +66 -0
  62. package/dist/track_publication.js.map +1 -0
  63. package/dist/video_frame.d.ts +110 -0
  64. package/dist/video_frame.js +364 -0
  65. package/dist/video_frame.js.map +1 -0
  66. package/dist/video_source.d.ts +13 -0
  67. package/dist/video_source.js +44 -0
  68. package/dist/video_source.js.map +1 -0
  69. package/dist/video_stream.d.ts +23 -0
  70. package/dist/video_stream.js +56 -0
  71. package/dist/video_stream.js.map +1 -0
  72. package/package.json +15 -11
  73. package/src/audio_frame.ts +45 -0
  74. package/src/audio_source.ts +64 -0
  75. package/src/audio_stream.ts +74 -0
  76. package/src/e2ee.ts +311 -0
  77. package/src/ffi_client.ts +68 -0
  78. package/src/index.ts +52 -0
  79. package/src/lib.rs +5 -0
  80. package/src/native.d.ts +14 -0
  81. package/src/native.js +269 -0
  82. package/src/nodejs.rs +115 -0
  83. package/src/participant.ts +171 -0
  84. package/src/proto/audio_frame_pb.ts +1121 -0
  85. package/src/proto/e2ee_pb.ts +1231 -0
  86. package/src/proto/ffi_pb.ts +969 -0
  87. package/src/proto/handle_pb.ts +69 -0
  88. package/src/proto/participant_pb.ts +121 -0
  89. package/src/proto/room_pb.ts +2843 -0
  90. package/src/proto/stats_pb.ts +2955 -0
  91. package/src/proto/track_pb.ts +683 -0
  92. package/src/proto/video_frame_pb.ts +1568 -0
  93. package/src/room.ts +370 -0
  94. package/src/track.ts +101 -0
  95. package/src/track_publication.ts +90 -0
  96. package/src/video_frame.ts +620 -0
  97. package/src/video_source.ts +61 -0
  98. package/src/video_stream.ts +76 -0
@@ -0,0 +1,1712 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ /**
4
+ * @generated from enum livekit.proto.DataChannelState
5
+ */
6
+ export declare enum DataChannelState {
7
+ /**
8
+ * @generated from enum value: DC_CONNECTING = 0;
9
+ */
10
+ DC_CONNECTING = 0,
11
+ /**
12
+ * @generated from enum value: DC_OPEN = 1;
13
+ */
14
+ DC_OPEN = 1,
15
+ /**
16
+ * @generated from enum value: DC_CLOSING = 2;
17
+ */
18
+ DC_CLOSING = 2,
19
+ /**
20
+ * @generated from enum value: DC_CLOSED = 3;
21
+ */
22
+ DC_CLOSED = 3
23
+ }
24
+ /**
25
+ * @generated from enum livekit.proto.QualityLimitationReason
26
+ */
27
+ export declare enum QualityLimitationReason {
28
+ /**
29
+ * @generated from enum value: LIMITATION_NONE = 0;
30
+ */
31
+ LIMITATION_NONE = 0,
32
+ /**
33
+ * @generated from enum value: LIMITATION_CPU = 1;
34
+ */
35
+ LIMITATION_CPU = 1,
36
+ /**
37
+ * @generated from enum value: LIMITATION_BANDWIDTH = 2;
38
+ */
39
+ LIMITATION_BANDWIDTH = 2,
40
+ /**
41
+ * @generated from enum value: LIMITATION_OTHER = 3;
42
+ */
43
+ LIMITATION_OTHER = 3
44
+ }
45
+ /**
46
+ * @generated from enum livekit.proto.IceRole
47
+ */
48
+ export declare enum IceRole {
49
+ /**
50
+ * @generated from enum value: ICE_UNKNOWN = 0;
51
+ */
52
+ ICE_UNKNOWN = 0,
53
+ /**
54
+ * @generated from enum value: ICE_CONTROLLING = 1;
55
+ */
56
+ ICE_CONTROLLING = 1,
57
+ /**
58
+ * @generated from enum value: ICE_CONTROLLED = 2;
59
+ */
60
+ ICE_CONTROLLED = 2
61
+ }
62
+ /**
63
+ * @generated from enum livekit.proto.DtlsTransportState
64
+ */
65
+ export declare enum DtlsTransportState {
66
+ /**
67
+ * @generated from enum value: DTLS_TRANSPORT_NEW = 0;
68
+ */
69
+ DTLS_TRANSPORT_NEW = 0,
70
+ /**
71
+ * @generated from enum value: DTLS_TRANSPORT_CONNECTING = 1;
72
+ */
73
+ DTLS_TRANSPORT_CONNECTING = 1,
74
+ /**
75
+ * @generated from enum value: DTLS_TRANSPORT_CONNECTED = 2;
76
+ */
77
+ DTLS_TRANSPORT_CONNECTED = 2,
78
+ /**
79
+ * @generated from enum value: DTLS_TRANSPORT_CLOSED = 3;
80
+ */
81
+ DTLS_TRANSPORT_CLOSED = 3,
82
+ /**
83
+ * @generated from enum value: DTLS_TRANSPORT_FAILED = 4;
84
+ */
85
+ DTLS_TRANSPORT_FAILED = 4
86
+ }
87
+ /**
88
+ * @generated from enum livekit.proto.IceTransportState
89
+ */
90
+ export declare enum IceTransportState {
91
+ /**
92
+ * @generated from enum value: ICE_TRANSPORT_NEW = 0;
93
+ */
94
+ ICE_TRANSPORT_NEW = 0,
95
+ /**
96
+ * @generated from enum value: ICE_TRANSPORT_CHECKING = 1;
97
+ */
98
+ ICE_TRANSPORT_CHECKING = 1,
99
+ /**
100
+ * @generated from enum value: ICE_TRANSPORT_CONNECTED = 2;
101
+ */
102
+ ICE_TRANSPORT_CONNECTED = 2,
103
+ /**
104
+ * @generated from enum value: ICE_TRANSPORT_COMPLETED = 3;
105
+ */
106
+ ICE_TRANSPORT_COMPLETED = 3,
107
+ /**
108
+ * @generated from enum value: ICE_TRANSPORT_DISCONNECTED = 4;
109
+ */
110
+ ICE_TRANSPORT_DISCONNECTED = 4,
111
+ /**
112
+ * @generated from enum value: ICE_TRANSPORT_FAILED = 5;
113
+ */
114
+ ICE_TRANSPORT_FAILED = 5,
115
+ /**
116
+ * @generated from enum value: ICE_TRANSPORT_CLOSED = 6;
117
+ */
118
+ ICE_TRANSPORT_CLOSED = 6
119
+ }
120
+ /**
121
+ * @generated from enum livekit.proto.DtlsRole
122
+ */
123
+ export declare enum DtlsRole {
124
+ /**
125
+ * @generated from enum value: DTLS_CLIENT = 0;
126
+ */
127
+ DTLS_CLIENT = 0,
128
+ /**
129
+ * @generated from enum value: DTLS_SERVER = 1;
130
+ */
131
+ DTLS_SERVER = 1,
132
+ /**
133
+ * @generated from enum value: DTLS_UNKNOWN = 2;
134
+ */
135
+ DTLS_UNKNOWN = 2
136
+ }
137
+ /**
138
+ * @generated from enum livekit.proto.IceCandidatePairState
139
+ */
140
+ export declare enum IceCandidatePairState {
141
+ /**
142
+ * @generated from enum value: PAIR_FROZEN = 0;
143
+ */
144
+ PAIR_FROZEN = 0,
145
+ /**
146
+ * @generated from enum value: PAIR_WAITING = 1;
147
+ */
148
+ PAIR_WAITING = 1,
149
+ /**
150
+ * @generated from enum value: PAIR_IN_PROGRESS = 2;
151
+ */
152
+ PAIR_IN_PROGRESS = 2,
153
+ /**
154
+ * @generated from enum value: PAIR_FAILED = 3;
155
+ */
156
+ PAIR_FAILED = 3,
157
+ /**
158
+ * @generated from enum value: PAIR_SUCCEEDED = 4;
159
+ */
160
+ PAIR_SUCCEEDED = 4
161
+ }
162
+ /**
163
+ * @generated from enum livekit.proto.IceCandidateType
164
+ */
165
+ export declare enum IceCandidateType {
166
+ /**
167
+ * @generated from enum value: HOST = 0;
168
+ */
169
+ HOST = 0,
170
+ /**
171
+ * @generated from enum value: SRFLX = 1;
172
+ */
173
+ SRFLX = 1,
174
+ /**
175
+ * @generated from enum value: PRFLX = 2;
176
+ */
177
+ PRFLX = 2,
178
+ /**
179
+ * @generated from enum value: RELAY = 3;
180
+ */
181
+ RELAY = 3
182
+ }
183
+ /**
184
+ * @generated from enum livekit.proto.IceServerTransportProtocol
185
+ */
186
+ export declare enum IceServerTransportProtocol {
187
+ /**
188
+ * @generated from enum value: TRANSPORT_UDP = 0;
189
+ */
190
+ TRANSPORT_UDP = 0,
191
+ /**
192
+ * @generated from enum value: TRANSPORT_TCP = 1;
193
+ */
194
+ TRANSPORT_TCP = 1,
195
+ /**
196
+ * @generated from enum value: TRANSPORT_TLS = 2;
197
+ */
198
+ TRANSPORT_TLS = 2
199
+ }
200
+ /**
201
+ * @generated from enum livekit.proto.IceTcpCandidateType
202
+ */
203
+ export declare enum IceTcpCandidateType {
204
+ /**
205
+ * @generated from enum value: CANDIDATE_ACTIVE = 0;
206
+ */
207
+ CANDIDATE_ACTIVE = 0,
208
+ /**
209
+ * @generated from enum value: CANDIDATE_PASSIVE = 1;
210
+ */
211
+ CANDIDATE_PASSIVE = 1,
212
+ /**
213
+ * @generated from enum value: CANDIDATE_SO = 2;
214
+ */
215
+ CANDIDATE_SO = 2
216
+ }
217
+ /**
218
+ * @generated from message livekit.proto.RtcStats
219
+ */
220
+ export declare class RtcStats extends Message<RtcStats> {
221
+ /**
222
+ * @generated from oneof livekit.proto.RtcStats.stats
223
+ */
224
+ stats: {
225
+ /**
226
+ * @generated from field: livekit.proto.RtcStats.Codec codec = 3;
227
+ */
228
+ value: RtcStats_Codec;
229
+ case: "codec";
230
+ } | {
231
+ /**
232
+ * @generated from field: livekit.proto.RtcStats.InboundRtp inbound_rtp = 4;
233
+ */
234
+ value: RtcStats_InboundRtp;
235
+ case: "inboundRtp";
236
+ } | {
237
+ /**
238
+ * @generated from field: livekit.proto.RtcStats.OutboundRtp outbound_rtp = 5;
239
+ */
240
+ value: RtcStats_OutboundRtp;
241
+ case: "outboundRtp";
242
+ } | {
243
+ /**
244
+ * @generated from field: livekit.proto.RtcStats.RemoteInboundRtp remote_inbound_rtp = 6;
245
+ */
246
+ value: RtcStats_RemoteInboundRtp;
247
+ case: "remoteInboundRtp";
248
+ } | {
249
+ /**
250
+ * @generated from field: livekit.proto.RtcStats.RemoteOutboundRtp remote_outbound_rtp = 7;
251
+ */
252
+ value: RtcStats_RemoteOutboundRtp;
253
+ case: "remoteOutboundRtp";
254
+ } | {
255
+ /**
256
+ * @generated from field: livekit.proto.RtcStats.MediaSource media_source = 8;
257
+ */
258
+ value: RtcStats_MediaSource;
259
+ case: "mediaSource";
260
+ } | {
261
+ /**
262
+ * @generated from field: livekit.proto.RtcStats.MediaPlayout media_playout = 9;
263
+ */
264
+ value: RtcStats_MediaPlayout;
265
+ case: "mediaPlayout";
266
+ } | {
267
+ /**
268
+ * @generated from field: livekit.proto.RtcStats.PeerConnection peer_connection = 10;
269
+ */
270
+ value: RtcStats_PeerConnection;
271
+ case: "peerConnection";
272
+ } | {
273
+ /**
274
+ * @generated from field: livekit.proto.RtcStats.DataChannel data_channel = 11;
275
+ */
276
+ value: RtcStats_DataChannel;
277
+ case: "dataChannel";
278
+ } | {
279
+ /**
280
+ * @generated from field: livekit.proto.RtcStats.Transport transport = 12;
281
+ */
282
+ value: RtcStats_Transport;
283
+ case: "transport";
284
+ } | {
285
+ /**
286
+ * @generated from field: livekit.proto.RtcStats.CandidatePair candidate_pair = 13;
287
+ */
288
+ value: RtcStats_CandidatePair;
289
+ case: "candidatePair";
290
+ } | {
291
+ /**
292
+ * @generated from field: livekit.proto.RtcStats.LocalCandidate local_candidate = 14;
293
+ */
294
+ value: RtcStats_LocalCandidate;
295
+ case: "localCandidate";
296
+ } | {
297
+ /**
298
+ * @generated from field: livekit.proto.RtcStats.RemoteCandidate remote_candidate = 15;
299
+ */
300
+ value: RtcStats_RemoteCandidate;
301
+ case: "remoteCandidate";
302
+ } | {
303
+ /**
304
+ * @generated from field: livekit.proto.RtcStats.Certificate certificate = 16;
305
+ */
306
+ value: RtcStats_Certificate;
307
+ case: "certificate";
308
+ } | {
309
+ /**
310
+ * @generated from field: livekit.proto.RtcStats.Track track = 17;
311
+ */
312
+ value: RtcStats_Track;
313
+ case: "track";
314
+ } | {
315
+ case: undefined;
316
+ value?: undefined;
317
+ };
318
+ constructor(data?: PartialMessage<RtcStats>);
319
+ static readonly runtime: typeof proto3;
320
+ static readonly typeName = "livekit.proto.RtcStats";
321
+ static readonly fields: FieldList;
322
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats;
323
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats;
324
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats;
325
+ static equals(a: RtcStats | PlainMessage<RtcStats> | undefined, b: RtcStats | PlainMessage<RtcStats> | undefined): boolean;
326
+ }
327
+ /**
328
+ * @generated from message livekit.proto.RtcStats.Codec
329
+ */
330
+ export declare class RtcStats_Codec extends Message<RtcStats_Codec> {
331
+ /**
332
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
333
+ */
334
+ rtc?: RtcStatsData;
335
+ /**
336
+ * @generated from field: livekit.proto.CodecStats codec = 2;
337
+ */
338
+ codec?: CodecStats;
339
+ constructor(data?: PartialMessage<RtcStats_Codec>);
340
+ static readonly runtime: typeof proto3;
341
+ static readonly typeName = "livekit.proto.RtcStats.Codec";
342
+ static readonly fields: FieldList;
343
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Codec;
344
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Codec;
345
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Codec;
346
+ static equals(a: RtcStats_Codec | PlainMessage<RtcStats_Codec> | undefined, b: RtcStats_Codec | PlainMessage<RtcStats_Codec> | undefined): boolean;
347
+ }
348
+ /**
349
+ * @generated from message livekit.proto.RtcStats.InboundRtp
350
+ */
351
+ export declare class RtcStats_InboundRtp extends Message<RtcStats_InboundRtp> {
352
+ /**
353
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
354
+ */
355
+ rtc?: RtcStatsData;
356
+ /**
357
+ * @generated from field: livekit.proto.RtpStreamStats stream = 2;
358
+ */
359
+ stream?: RtpStreamStats;
360
+ /**
361
+ * @generated from field: livekit.proto.ReceivedRtpStreamStats received = 3;
362
+ */
363
+ received?: ReceivedRtpStreamStats;
364
+ /**
365
+ * @generated from field: livekit.proto.InboundRtpStreamStats inbound = 4;
366
+ */
367
+ inbound?: InboundRtpStreamStats;
368
+ constructor(data?: PartialMessage<RtcStats_InboundRtp>);
369
+ static readonly runtime: typeof proto3;
370
+ static readonly typeName = "livekit.proto.RtcStats.InboundRtp";
371
+ static readonly fields: FieldList;
372
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_InboundRtp;
373
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_InboundRtp;
374
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_InboundRtp;
375
+ static equals(a: RtcStats_InboundRtp | PlainMessage<RtcStats_InboundRtp> | undefined, b: RtcStats_InboundRtp | PlainMessage<RtcStats_InboundRtp> | undefined): boolean;
376
+ }
377
+ /**
378
+ * @generated from message livekit.proto.RtcStats.OutboundRtp
379
+ */
380
+ export declare class RtcStats_OutboundRtp extends Message<RtcStats_OutboundRtp> {
381
+ /**
382
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
383
+ */
384
+ rtc?: RtcStatsData;
385
+ /**
386
+ * @generated from field: livekit.proto.RtpStreamStats stream = 2;
387
+ */
388
+ stream?: RtpStreamStats;
389
+ /**
390
+ * @generated from field: livekit.proto.SentRtpStreamStats sent = 3;
391
+ */
392
+ sent?: SentRtpStreamStats;
393
+ /**
394
+ * @generated from field: livekit.proto.OutboundRtpStreamStats outbound = 4;
395
+ */
396
+ outbound?: OutboundRtpStreamStats;
397
+ constructor(data?: PartialMessage<RtcStats_OutboundRtp>);
398
+ static readonly runtime: typeof proto3;
399
+ static readonly typeName = "livekit.proto.RtcStats.OutboundRtp";
400
+ static readonly fields: FieldList;
401
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_OutboundRtp;
402
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_OutboundRtp;
403
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_OutboundRtp;
404
+ static equals(a: RtcStats_OutboundRtp | PlainMessage<RtcStats_OutboundRtp> | undefined, b: RtcStats_OutboundRtp | PlainMessage<RtcStats_OutboundRtp> | undefined): boolean;
405
+ }
406
+ /**
407
+ * @generated from message livekit.proto.RtcStats.RemoteInboundRtp
408
+ */
409
+ export declare class RtcStats_RemoteInboundRtp extends Message<RtcStats_RemoteInboundRtp> {
410
+ /**
411
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
412
+ */
413
+ rtc?: RtcStatsData;
414
+ /**
415
+ * @generated from field: livekit.proto.RtpStreamStats stream = 2;
416
+ */
417
+ stream?: RtpStreamStats;
418
+ /**
419
+ * @generated from field: livekit.proto.ReceivedRtpStreamStats received = 3;
420
+ */
421
+ received?: ReceivedRtpStreamStats;
422
+ /**
423
+ * @generated from field: livekit.proto.RemoteInboundRtpStreamStats remote_inbound = 4;
424
+ */
425
+ remoteInbound?: RemoteInboundRtpStreamStats;
426
+ constructor(data?: PartialMessage<RtcStats_RemoteInboundRtp>);
427
+ static readonly runtime: typeof proto3;
428
+ static readonly typeName = "livekit.proto.RtcStats.RemoteInboundRtp";
429
+ static readonly fields: FieldList;
430
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteInboundRtp;
431
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteInboundRtp;
432
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteInboundRtp;
433
+ static equals(a: RtcStats_RemoteInboundRtp | PlainMessage<RtcStats_RemoteInboundRtp> | undefined, b: RtcStats_RemoteInboundRtp | PlainMessage<RtcStats_RemoteInboundRtp> | undefined): boolean;
434
+ }
435
+ /**
436
+ * @generated from message livekit.proto.RtcStats.RemoteOutboundRtp
437
+ */
438
+ export declare class RtcStats_RemoteOutboundRtp extends Message<RtcStats_RemoteOutboundRtp> {
439
+ /**
440
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
441
+ */
442
+ rtc?: RtcStatsData;
443
+ /**
444
+ * @generated from field: livekit.proto.RtpStreamStats stream = 2;
445
+ */
446
+ stream?: RtpStreamStats;
447
+ /**
448
+ * @generated from field: livekit.proto.SentRtpStreamStats sent = 3;
449
+ */
450
+ sent?: SentRtpStreamStats;
451
+ /**
452
+ * @generated from field: livekit.proto.RemoteOutboundRtpStreamStats remote_outbound = 4;
453
+ */
454
+ remoteOutbound?: RemoteOutboundRtpStreamStats;
455
+ constructor(data?: PartialMessage<RtcStats_RemoteOutboundRtp>);
456
+ static readonly runtime: typeof proto3;
457
+ static readonly typeName = "livekit.proto.RtcStats.RemoteOutboundRtp";
458
+ static readonly fields: FieldList;
459
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteOutboundRtp;
460
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteOutboundRtp;
461
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteOutboundRtp;
462
+ static equals(a: RtcStats_RemoteOutboundRtp | PlainMessage<RtcStats_RemoteOutboundRtp> | undefined, b: RtcStats_RemoteOutboundRtp | PlainMessage<RtcStats_RemoteOutboundRtp> | undefined): boolean;
463
+ }
464
+ /**
465
+ * @generated from message livekit.proto.RtcStats.MediaSource
466
+ */
467
+ export declare class RtcStats_MediaSource extends Message<RtcStats_MediaSource> {
468
+ /**
469
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
470
+ */
471
+ rtc?: RtcStatsData;
472
+ /**
473
+ * @generated from field: livekit.proto.MediaSourceStats source = 2;
474
+ */
475
+ source?: MediaSourceStats;
476
+ /**
477
+ * @generated from field: livekit.proto.AudioSourceStats audio = 3;
478
+ */
479
+ audio?: AudioSourceStats;
480
+ /**
481
+ * @generated from field: livekit.proto.VideoSourceStats video = 4;
482
+ */
483
+ video?: VideoSourceStats;
484
+ constructor(data?: PartialMessage<RtcStats_MediaSource>);
485
+ static readonly runtime: typeof proto3;
486
+ static readonly typeName = "livekit.proto.RtcStats.MediaSource";
487
+ static readonly fields: FieldList;
488
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_MediaSource;
489
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_MediaSource;
490
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_MediaSource;
491
+ static equals(a: RtcStats_MediaSource | PlainMessage<RtcStats_MediaSource> | undefined, b: RtcStats_MediaSource | PlainMessage<RtcStats_MediaSource> | undefined): boolean;
492
+ }
493
+ /**
494
+ * @generated from message livekit.proto.RtcStats.MediaPlayout
495
+ */
496
+ export declare class RtcStats_MediaPlayout extends Message<RtcStats_MediaPlayout> {
497
+ /**
498
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
499
+ */
500
+ rtc?: RtcStatsData;
501
+ /**
502
+ * @generated from field: livekit.proto.AudioPlayoutStats audio_playout = 2;
503
+ */
504
+ audioPlayout?: AudioPlayoutStats;
505
+ constructor(data?: PartialMessage<RtcStats_MediaPlayout>);
506
+ static readonly runtime: typeof proto3;
507
+ static readonly typeName = "livekit.proto.RtcStats.MediaPlayout";
508
+ static readonly fields: FieldList;
509
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_MediaPlayout;
510
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_MediaPlayout;
511
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_MediaPlayout;
512
+ static equals(a: RtcStats_MediaPlayout | PlainMessage<RtcStats_MediaPlayout> | undefined, b: RtcStats_MediaPlayout | PlainMessage<RtcStats_MediaPlayout> | undefined): boolean;
513
+ }
514
+ /**
515
+ * @generated from message livekit.proto.RtcStats.PeerConnection
516
+ */
517
+ export declare class RtcStats_PeerConnection extends Message<RtcStats_PeerConnection> {
518
+ /**
519
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
520
+ */
521
+ rtc?: RtcStatsData;
522
+ /**
523
+ * @generated from field: livekit.proto.PeerConnectionStats pc = 2;
524
+ */
525
+ pc?: PeerConnectionStats;
526
+ constructor(data?: PartialMessage<RtcStats_PeerConnection>);
527
+ static readonly runtime: typeof proto3;
528
+ static readonly typeName = "livekit.proto.RtcStats.PeerConnection";
529
+ static readonly fields: FieldList;
530
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_PeerConnection;
531
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_PeerConnection;
532
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_PeerConnection;
533
+ static equals(a: RtcStats_PeerConnection | PlainMessage<RtcStats_PeerConnection> | undefined, b: RtcStats_PeerConnection | PlainMessage<RtcStats_PeerConnection> | undefined): boolean;
534
+ }
535
+ /**
536
+ * @generated from message livekit.proto.RtcStats.DataChannel
537
+ */
538
+ export declare class RtcStats_DataChannel extends Message<RtcStats_DataChannel> {
539
+ /**
540
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
541
+ */
542
+ rtc?: RtcStatsData;
543
+ /**
544
+ * @generated from field: livekit.proto.DataChannelStats dc = 2;
545
+ */
546
+ dc?: DataChannelStats;
547
+ constructor(data?: PartialMessage<RtcStats_DataChannel>);
548
+ static readonly runtime: typeof proto3;
549
+ static readonly typeName = "livekit.proto.RtcStats.DataChannel";
550
+ static readonly fields: FieldList;
551
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_DataChannel;
552
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_DataChannel;
553
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_DataChannel;
554
+ static equals(a: RtcStats_DataChannel | PlainMessage<RtcStats_DataChannel> | undefined, b: RtcStats_DataChannel | PlainMessage<RtcStats_DataChannel> | undefined): boolean;
555
+ }
556
+ /**
557
+ * @generated from message livekit.proto.RtcStats.Transport
558
+ */
559
+ export declare class RtcStats_Transport extends Message<RtcStats_Transport> {
560
+ /**
561
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
562
+ */
563
+ rtc?: RtcStatsData;
564
+ /**
565
+ * @generated from field: livekit.proto.TransportStats transport = 2;
566
+ */
567
+ transport?: TransportStats;
568
+ constructor(data?: PartialMessage<RtcStats_Transport>);
569
+ static readonly runtime: typeof proto3;
570
+ static readonly typeName = "livekit.proto.RtcStats.Transport";
571
+ static readonly fields: FieldList;
572
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Transport;
573
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Transport;
574
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Transport;
575
+ static equals(a: RtcStats_Transport | PlainMessage<RtcStats_Transport> | undefined, b: RtcStats_Transport | PlainMessage<RtcStats_Transport> | undefined): boolean;
576
+ }
577
+ /**
578
+ * @generated from message livekit.proto.RtcStats.CandidatePair
579
+ */
580
+ export declare class RtcStats_CandidatePair extends Message<RtcStats_CandidatePair> {
581
+ /**
582
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
583
+ */
584
+ rtc?: RtcStatsData;
585
+ /**
586
+ * @generated from field: livekit.proto.CandidatePairStats candidate_pair = 2;
587
+ */
588
+ candidatePair?: CandidatePairStats;
589
+ constructor(data?: PartialMessage<RtcStats_CandidatePair>);
590
+ static readonly runtime: typeof proto3;
591
+ static readonly typeName = "livekit.proto.RtcStats.CandidatePair";
592
+ static readonly fields: FieldList;
593
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_CandidatePair;
594
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_CandidatePair;
595
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_CandidatePair;
596
+ static equals(a: RtcStats_CandidatePair | PlainMessage<RtcStats_CandidatePair> | undefined, b: RtcStats_CandidatePair | PlainMessage<RtcStats_CandidatePair> | undefined): boolean;
597
+ }
598
+ /**
599
+ * @generated from message livekit.proto.RtcStats.LocalCandidate
600
+ */
601
+ export declare class RtcStats_LocalCandidate extends Message<RtcStats_LocalCandidate> {
602
+ /**
603
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
604
+ */
605
+ rtc?: RtcStatsData;
606
+ /**
607
+ * @generated from field: livekit.proto.IceCandidateStats candidate = 2;
608
+ */
609
+ candidate?: IceCandidateStats;
610
+ constructor(data?: PartialMessage<RtcStats_LocalCandidate>);
611
+ static readonly runtime: typeof proto3;
612
+ static readonly typeName = "livekit.proto.RtcStats.LocalCandidate";
613
+ static readonly fields: FieldList;
614
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_LocalCandidate;
615
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_LocalCandidate;
616
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_LocalCandidate;
617
+ static equals(a: RtcStats_LocalCandidate | PlainMessage<RtcStats_LocalCandidate> | undefined, b: RtcStats_LocalCandidate | PlainMessage<RtcStats_LocalCandidate> | undefined): boolean;
618
+ }
619
+ /**
620
+ * @generated from message livekit.proto.RtcStats.RemoteCandidate
621
+ */
622
+ export declare class RtcStats_RemoteCandidate extends Message<RtcStats_RemoteCandidate> {
623
+ /**
624
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
625
+ */
626
+ rtc?: RtcStatsData;
627
+ /**
628
+ * @generated from field: livekit.proto.IceCandidateStats candidate = 2;
629
+ */
630
+ candidate?: IceCandidateStats;
631
+ constructor(data?: PartialMessage<RtcStats_RemoteCandidate>);
632
+ static readonly runtime: typeof proto3;
633
+ static readonly typeName = "livekit.proto.RtcStats.RemoteCandidate";
634
+ static readonly fields: FieldList;
635
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteCandidate;
636
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteCandidate;
637
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteCandidate;
638
+ static equals(a: RtcStats_RemoteCandidate | PlainMessage<RtcStats_RemoteCandidate> | undefined, b: RtcStats_RemoteCandidate | PlainMessage<RtcStats_RemoteCandidate> | undefined): boolean;
639
+ }
640
+ /**
641
+ * @generated from message livekit.proto.RtcStats.Certificate
642
+ */
643
+ export declare class RtcStats_Certificate extends Message<RtcStats_Certificate> {
644
+ /**
645
+ * @generated from field: livekit.proto.RtcStatsData rtc = 1;
646
+ */
647
+ rtc?: RtcStatsData;
648
+ /**
649
+ * @generated from field: livekit.proto.CertificateStats certificate = 2;
650
+ */
651
+ certificate?: CertificateStats;
652
+ constructor(data?: PartialMessage<RtcStats_Certificate>);
653
+ static readonly runtime: typeof proto3;
654
+ static readonly typeName = "livekit.proto.RtcStats.Certificate";
655
+ static readonly fields: FieldList;
656
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Certificate;
657
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Certificate;
658
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Certificate;
659
+ static equals(a: RtcStats_Certificate | PlainMessage<RtcStats_Certificate> | undefined, b: RtcStats_Certificate | PlainMessage<RtcStats_Certificate> | undefined): boolean;
660
+ }
661
+ /**
662
+ * Deprecated
663
+ *
664
+ * @generated from message livekit.proto.RtcStats.Track
665
+ */
666
+ export declare class RtcStats_Track extends Message<RtcStats_Track> {
667
+ constructor(data?: PartialMessage<RtcStats_Track>);
668
+ static readonly runtime: typeof proto3;
669
+ static readonly typeName = "livekit.proto.RtcStats.Track";
670
+ static readonly fields: FieldList;
671
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Track;
672
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Track;
673
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Track;
674
+ static equals(a: RtcStats_Track | PlainMessage<RtcStats_Track> | undefined, b: RtcStats_Track | PlainMessage<RtcStats_Track> | undefined): boolean;
675
+ }
676
+ /**
677
+ * @generated from message livekit.proto.RtcStatsData
678
+ */
679
+ export declare class RtcStatsData extends Message<RtcStatsData> {
680
+ /**
681
+ * @generated from field: string id = 1;
682
+ */
683
+ id: string;
684
+ /**
685
+ * @generated from field: int64 timestamp = 2;
686
+ */
687
+ timestamp: bigint;
688
+ constructor(data?: PartialMessage<RtcStatsData>);
689
+ static readonly runtime: typeof proto3;
690
+ static readonly typeName = "livekit.proto.RtcStatsData";
691
+ static readonly fields: FieldList;
692
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStatsData;
693
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStatsData;
694
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStatsData;
695
+ static equals(a: RtcStatsData | PlainMessage<RtcStatsData> | undefined, b: RtcStatsData | PlainMessage<RtcStatsData> | undefined): boolean;
696
+ }
697
+ /**
698
+ * @generated from message livekit.proto.CodecStats
699
+ */
700
+ export declare class CodecStats extends Message<CodecStats> {
701
+ /**
702
+ * @generated from field: uint32 payload_type = 1;
703
+ */
704
+ payloadType: number;
705
+ /**
706
+ * @generated from field: string transport_id = 2;
707
+ */
708
+ transportId: string;
709
+ /**
710
+ * @generated from field: string mime_type = 3;
711
+ */
712
+ mimeType: string;
713
+ /**
714
+ * @generated from field: uint32 clock_rate = 4;
715
+ */
716
+ clockRate: number;
717
+ /**
718
+ * @generated from field: uint32 channels = 5;
719
+ */
720
+ channels: number;
721
+ /**
722
+ * @generated from field: string sdp_fmtp_line = 6;
723
+ */
724
+ sdpFmtpLine: string;
725
+ constructor(data?: PartialMessage<CodecStats>);
726
+ static readonly runtime: typeof proto3;
727
+ static readonly typeName = "livekit.proto.CodecStats";
728
+ static readonly fields: FieldList;
729
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CodecStats;
730
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CodecStats;
731
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CodecStats;
732
+ static equals(a: CodecStats | PlainMessage<CodecStats> | undefined, b: CodecStats | PlainMessage<CodecStats> | undefined): boolean;
733
+ }
734
+ /**
735
+ * @generated from message livekit.proto.RtpStreamStats
736
+ */
737
+ export declare class RtpStreamStats extends Message<RtpStreamStats> {
738
+ /**
739
+ * @generated from field: uint32 ssrc = 1;
740
+ */
741
+ ssrc: number;
742
+ /**
743
+ * @generated from field: string kind = 2;
744
+ */
745
+ kind: string;
746
+ /**
747
+ * @generated from field: string transport_id = 3;
748
+ */
749
+ transportId: string;
750
+ /**
751
+ * @generated from field: string codec_id = 4;
752
+ */
753
+ codecId: string;
754
+ constructor(data?: PartialMessage<RtpStreamStats>);
755
+ static readonly runtime: typeof proto3;
756
+ static readonly typeName = "livekit.proto.RtpStreamStats";
757
+ static readonly fields: FieldList;
758
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtpStreamStats;
759
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtpStreamStats;
760
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtpStreamStats;
761
+ static equals(a: RtpStreamStats | PlainMessage<RtpStreamStats> | undefined, b: RtpStreamStats | PlainMessage<RtpStreamStats> | undefined): boolean;
762
+ }
763
+ /**
764
+ * @generated from message livekit.proto.ReceivedRtpStreamStats
765
+ */
766
+ export declare class ReceivedRtpStreamStats extends Message<ReceivedRtpStreamStats> {
767
+ /**
768
+ * @generated from field: uint64 packets_received = 1;
769
+ */
770
+ packetsReceived: bigint;
771
+ /**
772
+ * @generated from field: int64 packets_lost = 2;
773
+ */
774
+ packetsLost: bigint;
775
+ /**
776
+ * @generated from field: double jitter = 3;
777
+ */
778
+ jitter: number;
779
+ constructor(data?: PartialMessage<ReceivedRtpStreamStats>);
780
+ static readonly runtime: typeof proto3;
781
+ static readonly typeName = "livekit.proto.ReceivedRtpStreamStats";
782
+ static readonly fields: FieldList;
783
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReceivedRtpStreamStats;
784
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReceivedRtpStreamStats;
785
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReceivedRtpStreamStats;
786
+ static equals(a: ReceivedRtpStreamStats | PlainMessage<ReceivedRtpStreamStats> | undefined, b: ReceivedRtpStreamStats | PlainMessage<ReceivedRtpStreamStats> | undefined): boolean;
787
+ }
788
+ /**
789
+ * @generated from message livekit.proto.InboundRtpStreamStats
790
+ */
791
+ export declare class InboundRtpStreamStats extends Message<InboundRtpStreamStats> {
792
+ /**
793
+ * @generated from field: string track_identifier = 1;
794
+ */
795
+ trackIdentifier: string;
796
+ /**
797
+ * @generated from field: string mid = 2;
798
+ */
799
+ mid: string;
800
+ /**
801
+ * @generated from field: string remote_id = 3;
802
+ */
803
+ remoteId: string;
804
+ /**
805
+ * @generated from field: uint32 frames_decoded = 4;
806
+ */
807
+ framesDecoded: number;
808
+ /**
809
+ * @generated from field: uint32 key_frames_decoded = 5;
810
+ */
811
+ keyFramesDecoded: number;
812
+ /**
813
+ * @generated from field: uint32 frames_rendered = 6;
814
+ */
815
+ framesRendered: number;
816
+ /**
817
+ * @generated from field: uint32 frames_dropped = 7;
818
+ */
819
+ framesDropped: number;
820
+ /**
821
+ * @generated from field: uint32 frame_width = 8;
822
+ */
823
+ frameWidth: number;
824
+ /**
825
+ * @generated from field: uint32 frame_height = 9;
826
+ */
827
+ frameHeight: number;
828
+ /**
829
+ * @generated from field: double frames_per_second = 10;
830
+ */
831
+ framesPerSecond: number;
832
+ /**
833
+ * @generated from field: uint64 qp_sum = 11;
834
+ */
835
+ qpSum: bigint;
836
+ /**
837
+ * @generated from field: double total_decode_time = 12;
838
+ */
839
+ totalDecodeTime: number;
840
+ /**
841
+ * @generated from field: double total_inter_frame_delay = 13;
842
+ */
843
+ totalInterFrameDelay: number;
844
+ /**
845
+ * @generated from field: double total_squared_inter_frame_delay = 14;
846
+ */
847
+ totalSquaredInterFrameDelay: number;
848
+ /**
849
+ * @generated from field: uint32 pause_count = 15;
850
+ */
851
+ pauseCount: number;
852
+ /**
853
+ * @generated from field: double total_pause_duration = 16;
854
+ */
855
+ totalPauseDuration: number;
856
+ /**
857
+ * @generated from field: uint32 freeze_count = 17;
858
+ */
859
+ freezeCount: number;
860
+ /**
861
+ * @generated from field: double total_freeze_duration = 18;
862
+ */
863
+ totalFreezeDuration: number;
864
+ /**
865
+ * @generated from field: double last_packet_received_timestamp = 19;
866
+ */
867
+ lastPacketReceivedTimestamp: number;
868
+ /**
869
+ * @generated from field: uint64 header_bytes_received = 20;
870
+ */
871
+ headerBytesReceived: bigint;
872
+ /**
873
+ * @generated from field: uint64 packets_discarded = 21;
874
+ */
875
+ packetsDiscarded: bigint;
876
+ /**
877
+ * @generated from field: uint64 fec_bytes_received = 22;
878
+ */
879
+ fecBytesReceived: bigint;
880
+ /**
881
+ * @generated from field: uint64 fec_packets_received = 23;
882
+ */
883
+ fecPacketsReceived: bigint;
884
+ /**
885
+ * @generated from field: uint64 fec_packets_discarded = 24;
886
+ */
887
+ fecPacketsDiscarded: bigint;
888
+ /**
889
+ * @generated from field: uint64 bytes_received = 25;
890
+ */
891
+ bytesReceived: bigint;
892
+ /**
893
+ * @generated from field: uint32 nack_count = 26;
894
+ */
895
+ nackCount: number;
896
+ /**
897
+ * @generated from field: uint32 fir_count = 27;
898
+ */
899
+ firCount: number;
900
+ /**
901
+ * @generated from field: uint32 pli_count = 28;
902
+ */
903
+ pliCount: number;
904
+ /**
905
+ * @generated from field: double total_processing_delay = 29;
906
+ */
907
+ totalProcessingDelay: number;
908
+ /**
909
+ * @generated from field: double estimated_playout_timestamp = 30;
910
+ */
911
+ estimatedPlayoutTimestamp: number;
912
+ /**
913
+ * @generated from field: double jitter_buffer_delay = 31;
914
+ */
915
+ jitterBufferDelay: number;
916
+ /**
917
+ * @generated from field: double jitter_buffer_target_delay = 32;
918
+ */
919
+ jitterBufferTargetDelay: number;
920
+ /**
921
+ * @generated from field: uint64 jitter_buffer_emitted_count = 33;
922
+ */
923
+ jitterBufferEmittedCount: bigint;
924
+ /**
925
+ * @generated from field: double jitter_buffer_minimum_delay = 34;
926
+ */
927
+ jitterBufferMinimumDelay: number;
928
+ /**
929
+ * @generated from field: uint64 total_samples_received = 35;
930
+ */
931
+ totalSamplesReceived: bigint;
932
+ /**
933
+ * @generated from field: uint64 concealed_samples = 36;
934
+ */
935
+ concealedSamples: bigint;
936
+ /**
937
+ * @generated from field: uint64 silent_concealed_samples = 37;
938
+ */
939
+ silentConcealedSamples: bigint;
940
+ /**
941
+ * @generated from field: uint64 concealment_events = 38;
942
+ */
943
+ concealmentEvents: bigint;
944
+ /**
945
+ * @generated from field: uint64 inserted_samples_for_deceleration = 39;
946
+ */
947
+ insertedSamplesForDeceleration: bigint;
948
+ /**
949
+ * @generated from field: uint64 removed_samples_for_acceleration = 40;
950
+ */
951
+ removedSamplesForAcceleration: bigint;
952
+ /**
953
+ * @generated from field: double audio_level = 41;
954
+ */
955
+ audioLevel: number;
956
+ /**
957
+ * @generated from field: double total_audio_energy = 42;
958
+ */
959
+ totalAudioEnergy: number;
960
+ /**
961
+ * @generated from field: double total_samples_duration = 43;
962
+ */
963
+ totalSamplesDuration: number;
964
+ /**
965
+ * @generated from field: uint64 frames_received = 44;
966
+ */
967
+ framesReceived: bigint;
968
+ /**
969
+ * @generated from field: string decoder_implementation = 45;
970
+ */
971
+ decoderImplementation: string;
972
+ /**
973
+ * @generated from field: string playout_id = 46;
974
+ */
975
+ playoutId: string;
976
+ /**
977
+ * @generated from field: bool power_efficient_decoder = 47;
978
+ */
979
+ powerEfficientDecoder: boolean;
980
+ /**
981
+ * @generated from field: uint64 frames_assembled_from_multiple_packets = 48;
982
+ */
983
+ framesAssembledFromMultiplePackets: bigint;
984
+ /**
985
+ * @generated from field: double total_assembly_time = 49;
986
+ */
987
+ totalAssemblyTime: number;
988
+ /**
989
+ * @generated from field: uint64 retransmitted_packets_received = 50;
990
+ */
991
+ retransmittedPacketsReceived: bigint;
992
+ /**
993
+ * @generated from field: uint64 retransmitted_bytes_received = 51;
994
+ */
995
+ retransmittedBytesReceived: bigint;
996
+ /**
997
+ * @generated from field: uint32 rtx_ssrc = 52;
998
+ */
999
+ rtxSsrc: number;
1000
+ /**
1001
+ * @generated from field: uint32 fec_ssrc = 53;
1002
+ */
1003
+ fecSsrc: number;
1004
+ constructor(data?: PartialMessage<InboundRtpStreamStats>);
1005
+ static readonly runtime: typeof proto3;
1006
+ static readonly typeName = "livekit.proto.InboundRtpStreamStats";
1007
+ static readonly fields: FieldList;
1008
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InboundRtpStreamStats;
1009
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InboundRtpStreamStats;
1010
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InboundRtpStreamStats;
1011
+ static equals(a: InboundRtpStreamStats | PlainMessage<InboundRtpStreamStats> | undefined, b: InboundRtpStreamStats | PlainMessage<InboundRtpStreamStats> | undefined): boolean;
1012
+ }
1013
+ /**
1014
+ * @generated from message livekit.proto.SentRtpStreamStats
1015
+ */
1016
+ export declare class SentRtpStreamStats extends Message<SentRtpStreamStats> {
1017
+ /**
1018
+ * @generated from field: uint64 packets_sent = 1;
1019
+ */
1020
+ packetsSent: bigint;
1021
+ /**
1022
+ * @generated from field: uint64 bytes_sent = 2;
1023
+ */
1024
+ bytesSent: bigint;
1025
+ constructor(data?: PartialMessage<SentRtpStreamStats>);
1026
+ static readonly runtime: typeof proto3;
1027
+ static readonly typeName = "livekit.proto.SentRtpStreamStats";
1028
+ static readonly fields: FieldList;
1029
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SentRtpStreamStats;
1030
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SentRtpStreamStats;
1031
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SentRtpStreamStats;
1032
+ static equals(a: SentRtpStreamStats | PlainMessage<SentRtpStreamStats> | undefined, b: SentRtpStreamStats | PlainMessage<SentRtpStreamStats> | undefined): boolean;
1033
+ }
1034
+ /**
1035
+ * @generated from message livekit.proto.OutboundRtpStreamStats
1036
+ */
1037
+ export declare class OutboundRtpStreamStats extends Message<OutboundRtpStreamStats> {
1038
+ /**
1039
+ * @generated from field: string mid = 1;
1040
+ */
1041
+ mid: string;
1042
+ /**
1043
+ * @generated from field: string media_source_id = 2;
1044
+ */
1045
+ mediaSourceId: string;
1046
+ /**
1047
+ * @generated from field: string remote_id = 3;
1048
+ */
1049
+ remoteId: string;
1050
+ /**
1051
+ * @generated from field: string rid = 4;
1052
+ */
1053
+ rid: string;
1054
+ /**
1055
+ * @generated from field: uint64 header_bytes_sent = 5;
1056
+ */
1057
+ headerBytesSent: bigint;
1058
+ /**
1059
+ * @generated from field: uint64 retransmitted_packets_sent = 6;
1060
+ */
1061
+ retransmittedPacketsSent: bigint;
1062
+ /**
1063
+ * @generated from field: uint64 retransmitted_bytes_sent = 7;
1064
+ */
1065
+ retransmittedBytesSent: bigint;
1066
+ /**
1067
+ * @generated from field: uint32 rtx_ssrc = 8;
1068
+ */
1069
+ rtxSsrc: number;
1070
+ /**
1071
+ * @generated from field: double target_bitrate = 9;
1072
+ */
1073
+ targetBitrate: number;
1074
+ /**
1075
+ * @generated from field: uint64 total_encoded_bytes_target = 10;
1076
+ */
1077
+ totalEncodedBytesTarget: bigint;
1078
+ /**
1079
+ * @generated from field: uint32 frame_width = 11;
1080
+ */
1081
+ frameWidth: number;
1082
+ /**
1083
+ * @generated from field: uint32 frame_height = 12;
1084
+ */
1085
+ frameHeight: number;
1086
+ /**
1087
+ * @generated from field: double frames_per_second = 13;
1088
+ */
1089
+ framesPerSecond: number;
1090
+ /**
1091
+ * @generated from field: uint32 frames_sent = 14;
1092
+ */
1093
+ framesSent: number;
1094
+ /**
1095
+ * @generated from field: uint32 huge_frames_sent = 15;
1096
+ */
1097
+ hugeFramesSent: number;
1098
+ /**
1099
+ * @generated from field: uint32 frames_encoded = 16;
1100
+ */
1101
+ framesEncoded: number;
1102
+ /**
1103
+ * @generated from field: uint32 key_frames_encoded = 17;
1104
+ */
1105
+ keyFramesEncoded: number;
1106
+ /**
1107
+ * @generated from field: uint64 qp_sum = 18;
1108
+ */
1109
+ qpSum: bigint;
1110
+ /**
1111
+ * @generated from field: double total_encode_time = 19;
1112
+ */
1113
+ totalEncodeTime: number;
1114
+ /**
1115
+ * @generated from field: double total_packet_send_delay = 20;
1116
+ */
1117
+ totalPacketSendDelay: number;
1118
+ /**
1119
+ * @generated from field: livekit.proto.QualityLimitationReason quality_limitation_reason = 21;
1120
+ */
1121
+ qualityLimitationReason: QualityLimitationReason;
1122
+ /**
1123
+ * @generated from field: map<string, double> quality_limitation_durations = 22;
1124
+ */
1125
+ qualityLimitationDurations: {
1126
+ [key: string]: number;
1127
+ };
1128
+ /**
1129
+ * @generated from field: uint32 quality_limitation_resolution_changes = 23;
1130
+ */
1131
+ qualityLimitationResolutionChanges: number;
1132
+ /**
1133
+ * @generated from field: uint32 nack_count = 24;
1134
+ */
1135
+ nackCount: number;
1136
+ /**
1137
+ * @generated from field: uint32 fir_count = 25;
1138
+ */
1139
+ firCount: number;
1140
+ /**
1141
+ * @generated from field: uint32 pli_count = 26;
1142
+ */
1143
+ pliCount: number;
1144
+ /**
1145
+ * @generated from field: string encoder_implementation = 27;
1146
+ */
1147
+ encoderImplementation: string;
1148
+ /**
1149
+ * @generated from field: bool power_efficient_encoder = 28;
1150
+ */
1151
+ powerEfficientEncoder: boolean;
1152
+ /**
1153
+ * @generated from field: bool active = 29;
1154
+ */
1155
+ active: boolean;
1156
+ /**
1157
+ * @generated from field: string scalibility_mode = 30;
1158
+ */
1159
+ scalibilityMode: string;
1160
+ constructor(data?: PartialMessage<OutboundRtpStreamStats>);
1161
+ static readonly runtime: typeof proto3;
1162
+ static readonly typeName = "livekit.proto.OutboundRtpStreamStats";
1163
+ static readonly fields: FieldList;
1164
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OutboundRtpStreamStats;
1165
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OutboundRtpStreamStats;
1166
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OutboundRtpStreamStats;
1167
+ static equals(a: OutboundRtpStreamStats | PlainMessage<OutboundRtpStreamStats> | undefined, b: OutboundRtpStreamStats | PlainMessage<OutboundRtpStreamStats> | undefined): boolean;
1168
+ }
1169
+ /**
1170
+ * @generated from message livekit.proto.RemoteInboundRtpStreamStats
1171
+ */
1172
+ export declare class RemoteInboundRtpStreamStats extends Message<RemoteInboundRtpStreamStats> {
1173
+ /**
1174
+ * @generated from field: string local_id = 1;
1175
+ */
1176
+ localId: string;
1177
+ /**
1178
+ * @generated from field: double round_trip_time = 2;
1179
+ */
1180
+ roundTripTime: number;
1181
+ /**
1182
+ * @generated from field: double total_round_trip_time = 3;
1183
+ */
1184
+ totalRoundTripTime: number;
1185
+ /**
1186
+ * @generated from field: double fraction_lost = 4;
1187
+ */
1188
+ fractionLost: number;
1189
+ /**
1190
+ * @generated from field: uint64 round_trip_time_measurements = 5;
1191
+ */
1192
+ roundTripTimeMeasurements: bigint;
1193
+ constructor(data?: PartialMessage<RemoteInboundRtpStreamStats>);
1194
+ static readonly runtime: typeof proto3;
1195
+ static readonly typeName = "livekit.proto.RemoteInboundRtpStreamStats";
1196
+ static readonly fields: FieldList;
1197
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoteInboundRtpStreamStats;
1198
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoteInboundRtpStreamStats;
1199
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoteInboundRtpStreamStats;
1200
+ static equals(a: RemoteInboundRtpStreamStats | PlainMessage<RemoteInboundRtpStreamStats> | undefined, b: RemoteInboundRtpStreamStats | PlainMessage<RemoteInboundRtpStreamStats> | undefined): boolean;
1201
+ }
1202
+ /**
1203
+ * @generated from message livekit.proto.RemoteOutboundRtpStreamStats
1204
+ */
1205
+ export declare class RemoteOutboundRtpStreamStats extends Message<RemoteOutboundRtpStreamStats> {
1206
+ /**
1207
+ * @generated from field: string local_id = 1;
1208
+ */
1209
+ localId: string;
1210
+ /**
1211
+ * @generated from field: double remote_timestamp = 2;
1212
+ */
1213
+ remoteTimestamp: number;
1214
+ /**
1215
+ * @generated from field: uint64 reports_sent = 3;
1216
+ */
1217
+ reportsSent: bigint;
1218
+ /**
1219
+ * @generated from field: double round_trip_time = 4;
1220
+ */
1221
+ roundTripTime: number;
1222
+ /**
1223
+ * @generated from field: double total_round_trip_time = 5;
1224
+ */
1225
+ totalRoundTripTime: number;
1226
+ /**
1227
+ * @generated from field: uint64 round_trip_time_measurements = 6;
1228
+ */
1229
+ roundTripTimeMeasurements: bigint;
1230
+ constructor(data?: PartialMessage<RemoteOutboundRtpStreamStats>);
1231
+ static readonly runtime: typeof proto3;
1232
+ static readonly typeName = "livekit.proto.RemoteOutboundRtpStreamStats";
1233
+ static readonly fields: FieldList;
1234
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoteOutboundRtpStreamStats;
1235
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoteOutboundRtpStreamStats;
1236
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoteOutboundRtpStreamStats;
1237
+ static equals(a: RemoteOutboundRtpStreamStats | PlainMessage<RemoteOutboundRtpStreamStats> | undefined, b: RemoteOutboundRtpStreamStats | PlainMessage<RemoteOutboundRtpStreamStats> | undefined): boolean;
1238
+ }
1239
+ /**
1240
+ * @generated from message livekit.proto.MediaSourceStats
1241
+ */
1242
+ export declare class MediaSourceStats extends Message<MediaSourceStats> {
1243
+ /**
1244
+ * @generated from field: string track_identifier = 1;
1245
+ */
1246
+ trackIdentifier: string;
1247
+ /**
1248
+ * @generated from field: string kind = 2;
1249
+ */
1250
+ kind: string;
1251
+ constructor(data?: PartialMessage<MediaSourceStats>);
1252
+ static readonly runtime: typeof proto3;
1253
+ static readonly typeName = "livekit.proto.MediaSourceStats";
1254
+ static readonly fields: FieldList;
1255
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaSourceStats;
1256
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaSourceStats;
1257
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaSourceStats;
1258
+ static equals(a: MediaSourceStats | PlainMessage<MediaSourceStats> | undefined, b: MediaSourceStats | PlainMessage<MediaSourceStats> | undefined): boolean;
1259
+ }
1260
+ /**
1261
+ * @generated from message livekit.proto.AudioSourceStats
1262
+ */
1263
+ export declare class AudioSourceStats extends Message<AudioSourceStats> {
1264
+ /**
1265
+ * @generated from field: double audio_level = 1;
1266
+ */
1267
+ audioLevel: number;
1268
+ /**
1269
+ * @generated from field: double total_audio_energy = 2;
1270
+ */
1271
+ totalAudioEnergy: number;
1272
+ /**
1273
+ * @generated from field: double total_samples_duration = 3;
1274
+ */
1275
+ totalSamplesDuration: number;
1276
+ /**
1277
+ * @generated from field: double echo_return_loss = 4;
1278
+ */
1279
+ echoReturnLoss: number;
1280
+ /**
1281
+ * @generated from field: double echo_return_loss_enhancement = 5;
1282
+ */
1283
+ echoReturnLossEnhancement: number;
1284
+ /**
1285
+ * @generated from field: double dropped_samples_duration = 6;
1286
+ */
1287
+ droppedSamplesDuration: number;
1288
+ /**
1289
+ * @generated from field: uint32 dropped_samples_events = 7;
1290
+ */
1291
+ droppedSamplesEvents: number;
1292
+ /**
1293
+ * @generated from field: double total_capture_delay = 8;
1294
+ */
1295
+ totalCaptureDelay: number;
1296
+ /**
1297
+ * @generated from field: uint64 total_samples_captured = 9;
1298
+ */
1299
+ totalSamplesCaptured: bigint;
1300
+ constructor(data?: PartialMessage<AudioSourceStats>);
1301
+ static readonly runtime: typeof proto3;
1302
+ static readonly typeName = "livekit.proto.AudioSourceStats";
1303
+ static readonly fields: FieldList;
1304
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSourceStats;
1305
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioSourceStats;
1306
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioSourceStats;
1307
+ static equals(a: AudioSourceStats | PlainMessage<AudioSourceStats> | undefined, b: AudioSourceStats | PlainMessage<AudioSourceStats> | undefined): boolean;
1308
+ }
1309
+ /**
1310
+ * @generated from message livekit.proto.VideoSourceStats
1311
+ */
1312
+ export declare class VideoSourceStats extends Message<VideoSourceStats> {
1313
+ /**
1314
+ * @generated from field: uint32 width = 1;
1315
+ */
1316
+ width: number;
1317
+ /**
1318
+ * @generated from field: uint32 height = 2;
1319
+ */
1320
+ height: number;
1321
+ /**
1322
+ * @generated from field: uint32 frames = 3;
1323
+ */
1324
+ frames: number;
1325
+ /**
1326
+ * @generated from field: double frames_per_second = 4;
1327
+ */
1328
+ framesPerSecond: number;
1329
+ constructor(data?: PartialMessage<VideoSourceStats>);
1330
+ static readonly runtime: typeof proto3;
1331
+ static readonly typeName = "livekit.proto.VideoSourceStats";
1332
+ static readonly fields: FieldList;
1333
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoSourceStats;
1334
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoSourceStats;
1335
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoSourceStats;
1336
+ static equals(a: VideoSourceStats | PlainMessage<VideoSourceStats> | undefined, b: VideoSourceStats | PlainMessage<VideoSourceStats> | undefined): boolean;
1337
+ }
1338
+ /**
1339
+ * @generated from message livekit.proto.AudioPlayoutStats
1340
+ */
1341
+ export declare class AudioPlayoutStats extends Message<AudioPlayoutStats> {
1342
+ /**
1343
+ * @generated from field: string kind = 1;
1344
+ */
1345
+ kind: string;
1346
+ /**
1347
+ * @generated from field: double synthesized_samples_duration = 2;
1348
+ */
1349
+ synthesizedSamplesDuration: number;
1350
+ /**
1351
+ * @generated from field: uint32 synthesized_samples_events = 3;
1352
+ */
1353
+ synthesizedSamplesEvents: number;
1354
+ /**
1355
+ * @generated from field: double total_samples_duration = 4;
1356
+ */
1357
+ totalSamplesDuration: number;
1358
+ /**
1359
+ * @generated from field: double total_playout_delay = 5;
1360
+ */
1361
+ totalPlayoutDelay: number;
1362
+ /**
1363
+ * @generated from field: uint64 total_samples_count = 6;
1364
+ */
1365
+ totalSamplesCount: bigint;
1366
+ constructor(data?: PartialMessage<AudioPlayoutStats>);
1367
+ static readonly runtime: typeof proto3;
1368
+ static readonly typeName = "livekit.proto.AudioPlayoutStats";
1369
+ static readonly fields: FieldList;
1370
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioPlayoutStats;
1371
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioPlayoutStats;
1372
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioPlayoutStats;
1373
+ static equals(a: AudioPlayoutStats | PlainMessage<AudioPlayoutStats> | undefined, b: AudioPlayoutStats | PlainMessage<AudioPlayoutStats> | undefined): boolean;
1374
+ }
1375
+ /**
1376
+ * @generated from message livekit.proto.PeerConnectionStats
1377
+ */
1378
+ export declare class PeerConnectionStats extends Message<PeerConnectionStats> {
1379
+ /**
1380
+ * @generated from field: uint32 data_channels_opened = 1;
1381
+ */
1382
+ dataChannelsOpened: number;
1383
+ /**
1384
+ * @generated from field: uint32 data_channels_closed = 2;
1385
+ */
1386
+ dataChannelsClosed: number;
1387
+ constructor(data?: PartialMessage<PeerConnectionStats>);
1388
+ static readonly runtime: typeof proto3;
1389
+ static readonly typeName = "livekit.proto.PeerConnectionStats";
1390
+ static readonly fields: FieldList;
1391
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PeerConnectionStats;
1392
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PeerConnectionStats;
1393
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PeerConnectionStats;
1394
+ static equals(a: PeerConnectionStats | PlainMessage<PeerConnectionStats> | undefined, b: PeerConnectionStats | PlainMessage<PeerConnectionStats> | undefined): boolean;
1395
+ }
1396
+ /**
1397
+ * @generated from message livekit.proto.DataChannelStats
1398
+ */
1399
+ export declare class DataChannelStats extends Message<DataChannelStats> {
1400
+ /**
1401
+ * @generated from field: string label = 1;
1402
+ */
1403
+ label: string;
1404
+ /**
1405
+ * @generated from field: string protocol = 2;
1406
+ */
1407
+ protocol: string;
1408
+ /**
1409
+ * @generated from field: int32 data_channel_identifier = 3;
1410
+ */
1411
+ dataChannelIdentifier: number;
1412
+ /**
1413
+ * @generated from field: optional livekit.proto.DataChannelState state = 4;
1414
+ */
1415
+ state?: DataChannelState;
1416
+ /**
1417
+ * @generated from field: uint32 messages_sent = 5;
1418
+ */
1419
+ messagesSent: number;
1420
+ /**
1421
+ * @generated from field: uint64 bytes_sent = 6;
1422
+ */
1423
+ bytesSent: bigint;
1424
+ /**
1425
+ * @generated from field: uint32 messages_received = 7;
1426
+ */
1427
+ messagesReceived: number;
1428
+ /**
1429
+ * @generated from field: uint64 bytes_received = 8;
1430
+ */
1431
+ bytesReceived: bigint;
1432
+ constructor(data?: PartialMessage<DataChannelStats>);
1433
+ static readonly runtime: typeof proto3;
1434
+ static readonly typeName = "livekit.proto.DataChannelStats";
1435
+ static readonly fields: FieldList;
1436
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataChannelStats;
1437
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataChannelStats;
1438
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataChannelStats;
1439
+ static equals(a: DataChannelStats | PlainMessage<DataChannelStats> | undefined, b: DataChannelStats | PlainMessage<DataChannelStats> | undefined): boolean;
1440
+ }
1441
+ /**
1442
+ * @generated from message livekit.proto.TransportStats
1443
+ */
1444
+ export declare class TransportStats extends Message<TransportStats> {
1445
+ /**
1446
+ * @generated from field: uint64 packets_sent = 1;
1447
+ */
1448
+ packetsSent: bigint;
1449
+ /**
1450
+ * @generated from field: uint64 packets_received = 2;
1451
+ */
1452
+ packetsReceived: bigint;
1453
+ /**
1454
+ * @generated from field: uint64 bytes_sent = 3;
1455
+ */
1456
+ bytesSent: bigint;
1457
+ /**
1458
+ * @generated from field: uint64 bytes_received = 4;
1459
+ */
1460
+ bytesReceived: bigint;
1461
+ /**
1462
+ * @generated from field: livekit.proto.IceRole ice_role = 5;
1463
+ */
1464
+ iceRole: IceRole;
1465
+ /**
1466
+ * @generated from field: string ice_local_username_fragment = 6;
1467
+ */
1468
+ iceLocalUsernameFragment: string;
1469
+ /**
1470
+ * @generated from field: optional livekit.proto.DtlsTransportState dtls_state = 7;
1471
+ */
1472
+ dtlsState?: DtlsTransportState;
1473
+ /**
1474
+ * @generated from field: optional livekit.proto.IceTransportState ice_state = 8;
1475
+ */
1476
+ iceState?: IceTransportState;
1477
+ /**
1478
+ * @generated from field: string selected_candidate_pair_id = 9;
1479
+ */
1480
+ selectedCandidatePairId: string;
1481
+ /**
1482
+ * @generated from field: string local_certificate_id = 10;
1483
+ */
1484
+ localCertificateId: string;
1485
+ /**
1486
+ * @generated from field: string remote_certificate_id = 11;
1487
+ */
1488
+ remoteCertificateId: string;
1489
+ /**
1490
+ * @generated from field: string tls_version = 12;
1491
+ */
1492
+ tlsVersion: string;
1493
+ /**
1494
+ * @generated from field: string dtls_cipher = 13;
1495
+ */
1496
+ dtlsCipher: string;
1497
+ /**
1498
+ * @generated from field: livekit.proto.DtlsRole dtls_role = 14;
1499
+ */
1500
+ dtlsRole: DtlsRole;
1501
+ /**
1502
+ * @generated from field: string srtp_cipher = 15;
1503
+ */
1504
+ srtpCipher: string;
1505
+ /**
1506
+ * @generated from field: uint32 selected_candidate_pair_changes = 16;
1507
+ */
1508
+ selectedCandidatePairChanges: number;
1509
+ constructor(data?: PartialMessage<TransportStats>);
1510
+ static readonly runtime: typeof proto3;
1511
+ static readonly typeName = "livekit.proto.TransportStats";
1512
+ static readonly fields: FieldList;
1513
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransportStats;
1514
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransportStats;
1515
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransportStats;
1516
+ static equals(a: TransportStats | PlainMessage<TransportStats> | undefined, b: TransportStats | PlainMessage<TransportStats> | undefined): boolean;
1517
+ }
1518
+ /**
1519
+ * @generated from message livekit.proto.CandidatePairStats
1520
+ */
1521
+ export declare class CandidatePairStats extends Message<CandidatePairStats> {
1522
+ /**
1523
+ * @generated from field: string transport_id = 1;
1524
+ */
1525
+ transportId: string;
1526
+ /**
1527
+ * @generated from field: string local_candidate_id = 2;
1528
+ */
1529
+ localCandidateId: string;
1530
+ /**
1531
+ * @generated from field: string remote_candidate_id = 3;
1532
+ */
1533
+ remoteCandidateId: string;
1534
+ /**
1535
+ * @generated from field: optional livekit.proto.IceCandidatePairState state = 4;
1536
+ */
1537
+ state?: IceCandidatePairState;
1538
+ /**
1539
+ * @generated from field: bool nominated = 5;
1540
+ */
1541
+ nominated: boolean;
1542
+ /**
1543
+ * @generated from field: uint64 packets_sent = 6;
1544
+ */
1545
+ packetsSent: bigint;
1546
+ /**
1547
+ * @generated from field: uint64 packets_received = 7;
1548
+ */
1549
+ packetsReceived: bigint;
1550
+ /**
1551
+ * @generated from field: uint64 bytes_sent = 8;
1552
+ */
1553
+ bytesSent: bigint;
1554
+ /**
1555
+ * @generated from field: uint64 bytes_received = 9;
1556
+ */
1557
+ bytesReceived: bigint;
1558
+ /**
1559
+ * @generated from field: double last_packet_sent_timestamp = 10;
1560
+ */
1561
+ lastPacketSentTimestamp: number;
1562
+ /**
1563
+ * @generated from field: double last_packet_received_timestamp = 11;
1564
+ */
1565
+ lastPacketReceivedTimestamp: number;
1566
+ /**
1567
+ * @generated from field: double total_round_trip_time = 12;
1568
+ */
1569
+ totalRoundTripTime: number;
1570
+ /**
1571
+ * @generated from field: double current_round_trip_time = 13;
1572
+ */
1573
+ currentRoundTripTime: number;
1574
+ /**
1575
+ * @generated from field: double available_outgoing_bitrate = 14;
1576
+ */
1577
+ availableOutgoingBitrate: number;
1578
+ /**
1579
+ * @generated from field: double available_incoming_bitrate = 15;
1580
+ */
1581
+ availableIncomingBitrate: number;
1582
+ /**
1583
+ * @generated from field: uint64 requests_received = 16;
1584
+ */
1585
+ requestsReceived: bigint;
1586
+ /**
1587
+ * @generated from field: uint64 requests_sent = 17;
1588
+ */
1589
+ requestsSent: bigint;
1590
+ /**
1591
+ * @generated from field: uint64 responses_received = 18;
1592
+ */
1593
+ responsesReceived: bigint;
1594
+ /**
1595
+ * @generated from field: uint64 responses_sent = 19;
1596
+ */
1597
+ responsesSent: bigint;
1598
+ /**
1599
+ * @generated from field: uint64 consent_requests_sent = 20;
1600
+ */
1601
+ consentRequestsSent: bigint;
1602
+ /**
1603
+ * @generated from field: uint32 packets_discarded_on_send = 21;
1604
+ */
1605
+ packetsDiscardedOnSend: number;
1606
+ /**
1607
+ * @generated from field: uint64 bytes_discarded_on_send = 22;
1608
+ */
1609
+ bytesDiscardedOnSend: bigint;
1610
+ constructor(data?: PartialMessage<CandidatePairStats>);
1611
+ static readonly runtime: typeof proto3;
1612
+ static readonly typeName = "livekit.proto.CandidatePairStats";
1613
+ static readonly fields: FieldList;
1614
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CandidatePairStats;
1615
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CandidatePairStats;
1616
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CandidatePairStats;
1617
+ static equals(a: CandidatePairStats | PlainMessage<CandidatePairStats> | undefined, b: CandidatePairStats | PlainMessage<CandidatePairStats> | undefined): boolean;
1618
+ }
1619
+ /**
1620
+ * @generated from message livekit.proto.IceCandidateStats
1621
+ */
1622
+ export declare class IceCandidateStats extends Message<IceCandidateStats> {
1623
+ /**
1624
+ * @generated from field: string transport_id = 1;
1625
+ */
1626
+ transportId: string;
1627
+ /**
1628
+ * @generated from field: string address = 2;
1629
+ */
1630
+ address: string;
1631
+ /**
1632
+ * @generated from field: int32 port = 3;
1633
+ */
1634
+ port: number;
1635
+ /**
1636
+ * @generated from field: string protocol = 4;
1637
+ */
1638
+ protocol: string;
1639
+ /**
1640
+ * @generated from field: optional livekit.proto.IceCandidateType candidate_type = 5;
1641
+ */
1642
+ candidateType?: IceCandidateType;
1643
+ /**
1644
+ * @generated from field: int32 priority = 6;
1645
+ */
1646
+ priority: number;
1647
+ /**
1648
+ * @generated from field: string url = 7;
1649
+ */
1650
+ url: string;
1651
+ /**
1652
+ * @generated from field: optional livekit.proto.IceServerTransportProtocol relay_protocol = 8;
1653
+ */
1654
+ relayProtocol?: IceServerTransportProtocol;
1655
+ /**
1656
+ * @generated from field: string foundation = 9;
1657
+ */
1658
+ foundation: string;
1659
+ /**
1660
+ * @generated from field: string related_address = 10;
1661
+ */
1662
+ relatedAddress: string;
1663
+ /**
1664
+ * @generated from field: int32 related_port = 11;
1665
+ */
1666
+ relatedPort: number;
1667
+ /**
1668
+ * @generated from field: string username_fragment = 12;
1669
+ */
1670
+ usernameFragment: string;
1671
+ /**
1672
+ * @generated from field: optional livekit.proto.IceTcpCandidateType tcp_type = 13;
1673
+ */
1674
+ tcpType?: IceTcpCandidateType;
1675
+ constructor(data?: PartialMessage<IceCandidateStats>);
1676
+ static readonly runtime: typeof proto3;
1677
+ static readonly typeName = "livekit.proto.IceCandidateStats";
1678
+ static readonly fields: FieldList;
1679
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IceCandidateStats;
1680
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IceCandidateStats;
1681
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IceCandidateStats;
1682
+ static equals(a: IceCandidateStats | PlainMessage<IceCandidateStats> | undefined, b: IceCandidateStats | PlainMessage<IceCandidateStats> | undefined): boolean;
1683
+ }
1684
+ /**
1685
+ * @generated from message livekit.proto.CertificateStats
1686
+ */
1687
+ export declare class CertificateStats extends Message<CertificateStats> {
1688
+ /**
1689
+ * @generated from field: string fingerprint = 1;
1690
+ */
1691
+ fingerprint: string;
1692
+ /**
1693
+ * @generated from field: string fingerprint_algorithm = 2;
1694
+ */
1695
+ fingerprintAlgorithm: string;
1696
+ /**
1697
+ * @generated from field: string base64_certificate = 3;
1698
+ */
1699
+ base64Certificate: string;
1700
+ /**
1701
+ * @generated from field: string issuer_certificate_id = 4;
1702
+ */
1703
+ issuerCertificateId: string;
1704
+ constructor(data?: PartialMessage<CertificateStats>);
1705
+ static readonly runtime: typeof proto3;
1706
+ static readonly typeName = "livekit.proto.CertificateStats";
1707
+ static readonly fields: FieldList;
1708
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CertificateStats;
1709
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CertificateStats;
1710
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CertificateStats;
1711
+ static equals(a: CertificateStats | PlainMessage<CertificateStats> | undefined, b: CertificateStats | PlainMessage<CertificateStats> | undefined): boolean;
1712
+ }