@livekit/rtc-node 0.12.1 → 0.12.2

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 (64) hide show
  1. package/dist/audio_frame.d.cts +32 -0
  2. package/dist/audio_frame.d.ts +12 -5
  3. package/dist/audio_resampler.d.cts +60 -0
  4. package/dist/audio_resampler.d.ts +12 -3
  5. package/dist/audio_source.d.cts +37 -0
  6. package/dist/audio_source.d.ts +13 -5
  7. package/dist/audio_stream.d.cts +38 -0
  8. package/dist/audio_stream.d.ts +17 -5
  9. package/dist/e2ee.d.cts +48 -0
  10. package/dist/e2ee.d.ts +12 -8
  11. package/dist/ffi_client.d.cts +35 -0
  12. package/dist/ffi_client.d.ts +22 -10
  13. package/dist/index.d.cts +57 -0
  14. package/dist/index.d.ts +28 -20
  15. package/dist/napi/native.d.d.cts +21 -0
  16. package/dist/napi/native.d.d.ts +21 -0
  17. package/dist/participant.d.cts +126 -0
  18. package/dist/participant.d.ts +28 -14
  19. package/dist/proto/audio_frame_pb.d.cts +813 -0
  20. package/dist/proto/audio_frame_pb.d.ts +90 -86
  21. package/dist/proto/e2ee_pb.d.cts +585 -0
  22. package/dist/proto/e2ee_pb.d.ts +60 -58
  23. package/dist/proto/ffi_pb.d.cts +851 -0
  24. package/dist/proto/ffi_pb.d.ts +35 -30
  25. package/dist/proto/handle_pb.d.cts +33 -0
  26. package/dist/proto/handle_pb.d.ts +8 -6
  27. package/dist/proto/participant_pb.d.cts +93 -0
  28. package/dist/proto/participant_pb.d.ts +13 -11
  29. package/dist/proto/room_pb.d.cts +2072 -0
  30. package/dist/proto/room_pb.d.ts +198 -196
  31. package/dist/proto/rpc_pb.d.cts +237 -0
  32. package/dist/proto/rpc_pb.d.ts +28 -26
  33. package/dist/proto/stats_pb.d.cts +1653 -0
  34. package/dist/proto/stats_pb.d.ts +96 -94
  35. package/dist/proto/track_pb.d.cts +402 -0
  36. package/dist/proto/track_pb.d.ts +47 -45
  37. package/dist/proto/video_frame_pb.d.cts +617 -0
  38. package/dist/proto/video_frame_pb.d.ts +64 -60
  39. package/dist/room.d.cts +134 -0
  40. package/dist/room.d.ts +36 -22
  41. package/dist/rpc.d.cts +82 -0
  42. package/dist/rpc.d.ts +11 -7
  43. package/dist/track.d.cts +46 -0
  44. package/dist/track.d.ts +25 -14
  45. package/dist/track_publication.d.cts +48 -0
  46. package/dist/track_publication.d.ts +20 -8
  47. package/dist/transcription.d.cts +15 -0
  48. package/dist/transcription.d.ts +4 -3
  49. package/dist/types.d.cts +9 -0
  50. package/dist/types.d.ts +3 -2
  51. package/dist/version.cjs +1 -1
  52. package/dist/version.cjs.map +1 -1
  53. package/dist/version.d.cts +3 -0
  54. package/dist/version.d.ts +3 -2
  55. package/dist/version.js +1 -1
  56. package/dist/version.js.map +1 -1
  57. package/dist/video_frame.d.cts +25 -0
  58. package/dist/video_frame.d.ts +11 -4
  59. package/dist/video_source.d.cts +22 -0
  60. package/dist/video_source.d.ts +13 -6
  61. package/dist/video_stream.d.cts +41 -0
  62. package/dist/video_stream.d.ts +18 -6
  63. package/package.json +14 -9
  64. package/src/version.ts +1 -1
@@ -1,13 +1,14 @@
1
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
- import type { Message } from "@bufbuild/protobuf";
1
+ import { GenFile, GenMessage, GenEnum } from '@bufbuild/protobuf/codegenv1';
2
+ import { Message } from '@bufbuild/protobuf';
3
+
3
4
  /**
4
5
  * Describes the file stats.proto.
5
6
  */
6
- export declare const file_stats: GenFile;
7
+ declare const file_stats: GenFile;
7
8
  /**
8
9
  * @generated from message livekit.proto.RtcStats
9
10
  */
10
- export type RtcStats = Message<"livekit.proto.RtcStats"> & {
11
+ type RtcStats = Message<"livekit.proto.RtcStats"> & {
11
12
  /**
12
13
  * @generated from oneof livekit.proto.RtcStats.stats
13
14
  */
@@ -110,11 +111,11 @@ export type RtcStats = Message<"livekit.proto.RtcStats"> & {
110
111
  * Describes the message livekit.proto.RtcStats.
111
112
  * Use `create(RtcStatsSchema)` to create a new message.
112
113
  */
113
- export declare const RtcStatsSchema: GenMessage<RtcStats>;
114
+ declare const RtcStatsSchema: GenMessage<RtcStats>;
114
115
  /**
115
116
  * @generated from message livekit.proto.RtcStats.Codec
116
117
  */
117
- export type RtcStats_Codec = Message<"livekit.proto.RtcStats.Codec"> & {
118
+ type RtcStats_Codec = Message<"livekit.proto.RtcStats.Codec"> & {
118
119
  /**
119
120
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
120
121
  */
@@ -128,11 +129,11 @@ export type RtcStats_Codec = Message<"livekit.proto.RtcStats.Codec"> & {
128
129
  * Describes the message livekit.proto.RtcStats.Codec.
129
130
  * Use `create(RtcStats_CodecSchema)` to create a new message.
130
131
  */
131
- export declare const RtcStats_CodecSchema: GenMessage<RtcStats_Codec>;
132
+ declare const RtcStats_CodecSchema: GenMessage<RtcStats_Codec>;
132
133
  /**
133
134
  * @generated from message livekit.proto.RtcStats.InboundRtp
134
135
  */
135
- export type RtcStats_InboundRtp = Message<"livekit.proto.RtcStats.InboundRtp"> & {
136
+ type RtcStats_InboundRtp = Message<"livekit.proto.RtcStats.InboundRtp"> & {
136
137
  /**
137
138
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
138
139
  */
@@ -154,11 +155,11 @@ export type RtcStats_InboundRtp = Message<"livekit.proto.RtcStats.InboundRtp"> &
154
155
  * Describes the message livekit.proto.RtcStats.InboundRtp.
155
156
  * Use `create(RtcStats_InboundRtpSchema)` to create a new message.
156
157
  */
157
- export declare const RtcStats_InboundRtpSchema: GenMessage<RtcStats_InboundRtp>;
158
+ declare const RtcStats_InboundRtpSchema: GenMessage<RtcStats_InboundRtp>;
158
159
  /**
159
160
  * @generated from message livekit.proto.RtcStats.OutboundRtp
160
161
  */
161
- export type RtcStats_OutboundRtp = Message<"livekit.proto.RtcStats.OutboundRtp"> & {
162
+ type RtcStats_OutboundRtp = Message<"livekit.proto.RtcStats.OutboundRtp"> & {
162
163
  /**
163
164
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
164
165
  */
@@ -180,11 +181,11 @@ export type RtcStats_OutboundRtp = Message<"livekit.proto.RtcStats.OutboundRtp">
180
181
  * Describes the message livekit.proto.RtcStats.OutboundRtp.
181
182
  * Use `create(RtcStats_OutboundRtpSchema)` to create a new message.
182
183
  */
183
- export declare const RtcStats_OutboundRtpSchema: GenMessage<RtcStats_OutboundRtp>;
184
+ declare const RtcStats_OutboundRtpSchema: GenMessage<RtcStats_OutboundRtp>;
184
185
  /**
185
186
  * @generated from message livekit.proto.RtcStats.RemoteInboundRtp
186
187
  */
187
- export type RtcStats_RemoteInboundRtp = Message<"livekit.proto.RtcStats.RemoteInboundRtp"> & {
188
+ type RtcStats_RemoteInboundRtp = Message<"livekit.proto.RtcStats.RemoteInboundRtp"> & {
188
189
  /**
189
190
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
190
191
  */
@@ -206,11 +207,11 @@ export type RtcStats_RemoteInboundRtp = Message<"livekit.proto.RtcStats.RemoteIn
206
207
  * Describes the message livekit.proto.RtcStats.RemoteInboundRtp.
207
208
  * Use `create(RtcStats_RemoteInboundRtpSchema)` to create a new message.
208
209
  */
209
- export declare const RtcStats_RemoteInboundRtpSchema: GenMessage<RtcStats_RemoteInboundRtp>;
210
+ declare const RtcStats_RemoteInboundRtpSchema: GenMessage<RtcStats_RemoteInboundRtp>;
210
211
  /**
211
212
  * @generated from message livekit.proto.RtcStats.RemoteOutboundRtp
212
213
  */
213
- export type RtcStats_RemoteOutboundRtp = Message<"livekit.proto.RtcStats.RemoteOutboundRtp"> & {
214
+ type RtcStats_RemoteOutboundRtp = Message<"livekit.proto.RtcStats.RemoteOutboundRtp"> & {
214
215
  /**
215
216
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
216
217
  */
@@ -232,11 +233,11 @@ export type RtcStats_RemoteOutboundRtp = Message<"livekit.proto.RtcStats.RemoteO
232
233
  * Describes the message livekit.proto.RtcStats.RemoteOutboundRtp.
233
234
  * Use `create(RtcStats_RemoteOutboundRtpSchema)` to create a new message.
234
235
  */
235
- export declare const RtcStats_RemoteOutboundRtpSchema: GenMessage<RtcStats_RemoteOutboundRtp>;
236
+ declare const RtcStats_RemoteOutboundRtpSchema: GenMessage<RtcStats_RemoteOutboundRtp>;
236
237
  /**
237
238
  * @generated from message livekit.proto.RtcStats.MediaSource
238
239
  */
239
- export type RtcStats_MediaSource = Message<"livekit.proto.RtcStats.MediaSource"> & {
240
+ type RtcStats_MediaSource = Message<"livekit.proto.RtcStats.MediaSource"> & {
240
241
  /**
241
242
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
242
243
  */
@@ -258,11 +259,11 @@ export type RtcStats_MediaSource = Message<"livekit.proto.RtcStats.MediaSource">
258
259
  * Describes the message livekit.proto.RtcStats.MediaSource.
259
260
  * Use `create(RtcStats_MediaSourceSchema)` to create a new message.
260
261
  */
261
- export declare const RtcStats_MediaSourceSchema: GenMessage<RtcStats_MediaSource>;
262
+ declare const RtcStats_MediaSourceSchema: GenMessage<RtcStats_MediaSource>;
262
263
  /**
263
264
  * @generated from message livekit.proto.RtcStats.MediaPlayout
264
265
  */
265
- export type RtcStats_MediaPlayout = Message<"livekit.proto.RtcStats.MediaPlayout"> & {
266
+ type RtcStats_MediaPlayout = Message<"livekit.proto.RtcStats.MediaPlayout"> & {
266
267
  /**
267
268
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
268
269
  */
@@ -276,11 +277,11 @@ export type RtcStats_MediaPlayout = Message<"livekit.proto.RtcStats.MediaPlayout
276
277
  * Describes the message livekit.proto.RtcStats.MediaPlayout.
277
278
  * Use `create(RtcStats_MediaPlayoutSchema)` to create a new message.
278
279
  */
279
- export declare const RtcStats_MediaPlayoutSchema: GenMessage<RtcStats_MediaPlayout>;
280
+ declare const RtcStats_MediaPlayoutSchema: GenMessage<RtcStats_MediaPlayout>;
280
281
  /**
281
282
  * @generated from message livekit.proto.RtcStats.PeerConnection
282
283
  */
283
- export type RtcStats_PeerConnection = Message<"livekit.proto.RtcStats.PeerConnection"> & {
284
+ type RtcStats_PeerConnection = Message<"livekit.proto.RtcStats.PeerConnection"> & {
284
285
  /**
285
286
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
286
287
  */
@@ -294,11 +295,11 @@ export type RtcStats_PeerConnection = Message<"livekit.proto.RtcStats.PeerConnec
294
295
  * Describes the message livekit.proto.RtcStats.PeerConnection.
295
296
  * Use `create(RtcStats_PeerConnectionSchema)` to create a new message.
296
297
  */
297
- export declare const RtcStats_PeerConnectionSchema: GenMessage<RtcStats_PeerConnection>;
298
+ declare const RtcStats_PeerConnectionSchema: GenMessage<RtcStats_PeerConnection>;
298
299
  /**
299
300
  * @generated from message livekit.proto.RtcStats.DataChannel
300
301
  */
301
- export type RtcStats_DataChannel = Message<"livekit.proto.RtcStats.DataChannel"> & {
302
+ type RtcStats_DataChannel = Message<"livekit.proto.RtcStats.DataChannel"> & {
302
303
  /**
303
304
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
304
305
  */
@@ -312,11 +313,11 @@ export type RtcStats_DataChannel = Message<"livekit.proto.RtcStats.DataChannel">
312
313
  * Describes the message livekit.proto.RtcStats.DataChannel.
313
314
  * Use `create(RtcStats_DataChannelSchema)` to create a new message.
314
315
  */
315
- export declare const RtcStats_DataChannelSchema: GenMessage<RtcStats_DataChannel>;
316
+ declare const RtcStats_DataChannelSchema: GenMessage<RtcStats_DataChannel>;
316
317
  /**
317
318
  * @generated from message livekit.proto.RtcStats.Transport
318
319
  */
319
- export type RtcStats_Transport = Message<"livekit.proto.RtcStats.Transport"> & {
320
+ type RtcStats_Transport = Message<"livekit.proto.RtcStats.Transport"> & {
320
321
  /**
321
322
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
322
323
  */
@@ -330,11 +331,11 @@ export type RtcStats_Transport = Message<"livekit.proto.RtcStats.Transport"> & {
330
331
  * Describes the message livekit.proto.RtcStats.Transport.
331
332
  * Use `create(RtcStats_TransportSchema)` to create a new message.
332
333
  */
333
- export declare const RtcStats_TransportSchema: GenMessage<RtcStats_Transport>;
334
+ declare const RtcStats_TransportSchema: GenMessage<RtcStats_Transport>;
334
335
  /**
335
336
  * @generated from message livekit.proto.RtcStats.CandidatePair
336
337
  */
337
- export type RtcStats_CandidatePair = Message<"livekit.proto.RtcStats.CandidatePair"> & {
338
+ type RtcStats_CandidatePair = Message<"livekit.proto.RtcStats.CandidatePair"> & {
338
339
  /**
339
340
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
340
341
  */
@@ -348,11 +349,11 @@ export type RtcStats_CandidatePair = Message<"livekit.proto.RtcStats.CandidatePa
348
349
  * Describes the message livekit.proto.RtcStats.CandidatePair.
349
350
  * Use `create(RtcStats_CandidatePairSchema)` to create a new message.
350
351
  */
351
- export declare const RtcStats_CandidatePairSchema: GenMessage<RtcStats_CandidatePair>;
352
+ declare const RtcStats_CandidatePairSchema: GenMessage<RtcStats_CandidatePair>;
352
353
  /**
353
354
  * @generated from message livekit.proto.RtcStats.LocalCandidate
354
355
  */
355
- export type RtcStats_LocalCandidate = Message<"livekit.proto.RtcStats.LocalCandidate"> & {
356
+ type RtcStats_LocalCandidate = Message<"livekit.proto.RtcStats.LocalCandidate"> & {
356
357
  /**
357
358
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
358
359
  */
@@ -366,11 +367,11 @@ export type RtcStats_LocalCandidate = Message<"livekit.proto.RtcStats.LocalCandi
366
367
  * Describes the message livekit.proto.RtcStats.LocalCandidate.
367
368
  * Use `create(RtcStats_LocalCandidateSchema)` to create a new message.
368
369
  */
369
- export declare const RtcStats_LocalCandidateSchema: GenMessage<RtcStats_LocalCandidate>;
370
+ declare const RtcStats_LocalCandidateSchema: GenMessage<RtcStats_LocalCandidate>;
370
371
  /**
371
372
  * @generated from message livekit.proto.RtcStats.RemoteCandidate
372
373
  */
373
- export type RtcStats_RemoteCandidate = Message<"livekit.proto.RtcStats.RemoteCandidate"> & {
374
+ type RtcStats_RemoteCandidate = Message<"livekit.proto.RtcStats.RemoteCandidate"> & {
374
375
  /**
375
376
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
376
377
  */
@@ -384,11 +385,11 @@ export type RtcStats_RemoteCandidate = Message<"livekit.proto.RtcStats.RemoteCan
384
385
  * Describes the message livekit.proto.RtcStats.RemoteCandidate.
385
386
  * Use `create(RtcStats_RemoteCandidateSchema)` to create a new message.
386
387
  */
387
- export declare const RtcStats_RemoteCandidateSchema: GenMessage<RtcStats_RemoteCandidate>;
388
+ declare const RtcStats_RemoteCandidateSchema: GenMessage<RtcStats_RemoteCandidate>;
388
389
  /**
389
390
  * @generated from message livekit.proto.RtcStats.Certificate
390
391
  */
391
- export type RtcStats_Certificate = Message<"livekit.proto.RtcStats.Certificate"> & {
392
+ type RtcStats_Certificate = Message<"livekit.proto.RtcStats.Certificate"> & {
392
393
  /**
393
394
  * @generated from field: required livekit.proto.RtcStatsData rtc = 1;
394
395
  */
@@ -402,22 +403,22 @@ export type RtcStats_Certificate = Message<"livekit.proto.RtcStats.Certificate">
402
403
  * Describes the message livekit.proto.RtcStats.Certificate.
403
404
  * Use `create(RtcStats_CertificateSchema)` to create a new message.
404
405
  */
405
- export declare const RtcStats_CertificateSchema: GenMessage<RtcStats_Certificate>;
406
+ declare const RtcStats_CertificateSchema: GenMessage<RtcStats_Certificate>;
406
407
  /**
407
408
  * Deprecated
408
409
  *
409
410
  * @generated from message livekit.proto.RtcStats.Track
410
411
  */
411
- export type RtcStats_Track = Message<"livekit.proto.RtcStats.Track"> & {};
412
+ type RtcStats_Track = Message<"livekit.proto.RtcStats.Track"> & {};
412
413
  /**
413
414
  * Describes the message livekit.proto.RtcStats.Track.
414
415
  * Use `create(RtcStats_TrackSchema)` to create a new message.
415
416
  */
416
- export declare const RtcStats_TrackSchema: GenMessage<RtcStats_Track>;
417
+ declare const RtcStats_TrackSchema: GenMessage<RtcStats_Track>;
417
418
  /**
418
419
  * @generated from message livekit.proto.RtcStatsData
419
420
  */
420
- export type RtcStatsData = Message<"livekit.proto.RtcStatsData"> & {
421
+ type RtcStatsData = Message<"livekit.proto.RtcStatsData"> & {
421
422
  /**
422
423
  * @generated from field: required string id = 1;
423
424
  */
@@ -431,11 +432,11 @@ export type RtcStatsData = Message<"livekit.proto.RtcStatsData"> & {
431
432
  * Describes the message livekit.proto.RtcStatsData.
432
433
  * Use `create(RtcStatsDataSchema)` to create a new message.
433
434
  */
434
- export declare const RtcStatsDataSchema: GenMessage<RtcStatsData>;
435
+ declare const RtcStatsDataSchema: GenMessage<RtcStatsData>;
435
436
  /**
436
437
  * @generated from message livekit.proto.CodecStats
437
438
  */
438
- export type CodecStats = Message<"livekit.proto.CodecStats"> & {
439
+ type CodecStats = Message<"livekit.proto.CodecStats"> & {
439
440
  /**
440
441
  * @generated from field: required uint32 payload_type = 1;
441
442
  */
@@ -465,11 +466,11 @@ export type CodecStats = Message<"livekit.proto.CodecStats"> & {
465
466
  * Describes the message livekit.proto.CodecStats.
466
467
  * Use `create(CodecStatsSchema)` to create a new message.
467
468
  */
468
- export declare const CodecStatsSchema: GenMessage<CodecStats>;
469
+ declare const CodecStatsSchema: GenMessage<CodecStats>;
469
470
  /**
470
471
  * @generated from message livekit.proto.RtpStreamStats
471
472
  */
472
- export type RtpStreamStats = Message<"livekit.proto.RtpStreamStats"> & {
473
+ type RtpStreamStats = Message<"livekit.proto.RtpStreamStats"> & {
473
474
  /**
474
475
  * @generated from field: required uint32 ssrc = 1;
475
476
  */
@@ -491,11 +492,11 @@ export type RtpStreamStats = Message<"livekit.proto.RtpStreamStats"> & {
491
492
  * Describes the message livekit.proto.RtpStreamStats.
492
493
  * Use `create(RtpStreamStatsSchema)` to create a new message.
493
494
  */
494
- export declare const RtpStreamStatsSchema: GenMessage<RtpStreamStats>;
495
+ declare const RtpStreamStatsSchema: GenMessage<RtpStreamStats>;
495
496
  /**
496
497
  * @generated from message livekit.proto.ReceivedRtpStreamStats
497
498
  */
498
- export type ReceivedRtpStreamStats = Message<"livekit.proto.ReceivedRtpStreamStats"> & {
499
+ type ReceivedRtpStreamStats = Message<"livekit.proto.ReceivedRtpStreamStats"> & {
499
500
  /**
500
501
  * @generated from field: required uint64 packets_received = 1;
501
502
  */
@@ -513,11 +514,11 @@ export type ReceivedRtpStreamStats = Message<"livekit.proto.ReceivedRtpStreamSta
513
514
  * Describes the message livekit.proto.ReceivedRtpStreamStats.
514
515
  * Use `create(ReceivedRtpStreamStatsSchema)` to create a new message.
515
516
  */
516
- export declare const ReceivedRtpStreamStatsSchema: GenMessage<ReceivedRtpStreamStats>;
517
+ declare const ReceivedRtpStreamStatsSchema: GenMessage<ReceivedRtpStreamStats>;
517
518
  /**
518
519
  * @generated from message livekit.proto.InboundRtpStreamStats
519
520
  */
520
- export type InboundRtpStreamStats = Message<"livekit.proto.InboundRtpStreamStats"> & {
521
+ type InboundRtpStreamStats = Message<"livekit.proto.InboundRtpStreamStats"> & {
521
522
  /**
522
523
  * @generated from field: required string track_identifier = 1;
523
524
  */
@@ -735,11 +736,11 @@ export type InboundRtpStreamStats = Message<"livekit.proto.InboundRtpStreamStats
735
736
  * Describes the message livekit.proto.InboundRtpStreamStats.
736
737
  * Use `create(InboundRtpStreamStatsSchema)` to create a new message.
737
738
  */
738
- export declare const InboundRtpStreamStatsSchema: GenMessage<InboundRtpStreamStats>;
739
+ declare const InboundRtpStreamStatsSchema: GenMessage<InboundRtpStreamStats>;
739
740
  /**
740
741
  * @generated from message livekit.proto.SentRtpStreamStats
741
742
  */
742
- export type SentRtpStreamStats = Message<"livekit.proto.SentRtpStreamStats"> & {
743
+ type SentRtpStreamStats = Message<"livekit.proto.SentRtpStreamStats"> & {
743
744
  /**
744
745
  * @generated from field: required uint64 packets_sent = 1;
745
746
  */
@@ -753,11 +754,11 @@ export type SentRtpStreamStats = Message<"livekit.proto.SentRtpStreamStats"> & {
753
754
  * Describes the message livekit.proto.SentRtpStreamStats.
754
755
  * Use `create(SentRtpStreamStatsSchema)` to create a new message.
755
756
  */
756
- export declare const SentRtpStreamStatsSchema: GenMessage<SentRtpStreamStats>;
757
+ declare const SentRtpStreamStatsSchema: GenMessage<SentRtpStreamStats>;
757
758
  /**
758
759
  * @generated from message livekit.proto.OutboundRtpStreamStats
759
760
  */
760
- export type OutboundRtpStreamStats = Message<"livekit.proto.OutboundRtpStreamStats"> & {
761
+ type OutboundRtpStreamStats = Message<"livekit.proto.OutboundRtpStreamStats"> & {
761
762
  /**
762
763
  * @generated from field: required string mid = 1;
763
764
  */
@@ -885,11 +886,11 @@ export type OutboundRtpStreamStats = Message<"livekit.proto.OutboundRtpStreamSta
885
886
  * Describes the message livekit.proto.OutboundRtpStreamStats.
886
887
  * Use `create(OutboundRtpStreamStatsSchema)` to create a new message.
887
888
  */
888
- export declare const OutboundRtpStreamStatsSchema: GenMessage<OutboundRtpStreamStats>;
889
+ declare const OutboundRtpStreamStatsSchema: GenMessage<OutboundRtpStreamStats>;
889
890
  /**
890
891
  * @generated from message livekit.proto.RemoteInboundRtpStreamStats
891
892
  */
892
- export type RemoteInboundRtpStreamStats = Message<"livekit.proto.RemoteInboundRtpStreamStats"> & {
893
+ type RemoteInboundRtpStreamStats = Message<"livekit.proto.RemoteInboundRtpStreamStats"> & {
893
894
  /**
894
895
  * @generated from field: required string local_id = 1;
895
896
  */
@@ -915,11 +916,11 @@ export type RemoteInboundRtpStreamStats = Message<"livekit.proto.RemoteInboundRt
915
916
  * Describes the message livekit.proto.RemoteInboundRtpStreamStats.
916
917
  * Use `create(RemoteInboundRtpStreamStatsSchema)` to create a new message.
917
918
  */
918
- export declare const RemoteInboundRtpStreamStatsSchema: GenMessage<RemoteInboundRtpStreamStats>;
919
+ declare const RemoteInboundRtpStreamStatsSchema: GenMessage<RemoteInboundRtpStreamStats>;
919
920
  /**
920
921
  * @generated from message livekit.proto.RemoteOutboundRtpStreamStats
921
922
  */
922
- export type RemoteOutboundRtpStreamStats = Message<"livekit.proto.RemoteOutboundRtpStreamStats"> & {
923
+ type RemoteOutboundRtpStreamStats = Message<"livekit.proto.RemoteOutboundRtpStreamStats"> & {
923
924
  /**
924
925
  * @generated from field: required string local_id = 1;
925
926
  */
@@ -949,11 +950,11 @@ export type RemoteOutboundRtpStreamStats = Message<"livekit.proto.RemoteOutbound
949
950
  * Describes the message livekit.proto.RemoteOutboundRtpStreamStats.
950
951
  * Use `create(RemoteOutboundRtpStreamStatsSchema)` to create a new message.
951
952
  */
952
- export declare const RemoteOutboundRtpStreamStatsSchema: GenMessage<RemoteOutboundRtpStreamStats>;
953
+ declare const RemoteOutboundRtpStreamStatsSchema: GenMessage<RemoteOutboundRtpStreamStats>;
953
954
  /**
954
955
  * @generated from message livekit.proto.MediaSourceStats
955
956
  */
956
- export type MediaSourceStats = Message<"livekit.proto.MediaSourceStats"> & {
957
+ type MediaSourceStats = Message<"livekit.proto.MediaSourceStats"> & {
957
958
  /**
958
959
  * @generated from field: required string track_identifier = 1;
959
960
  */
@@ -967,11 +968,11 @@ export type MediaSourceStats = Message<"livekit.proto.MediaSourceStats"> & {
967
968
  * Describes the message livekit.proto.MediaSourceStats.
968
969
  * Use `create(MediaSourceStatsSchema)` to create a new message.
969
970
  */
970
- export declare const MediaSourceStatsSchema: GenMessage<MediaSourceStats>;
971
+ declare const MediaSourceStatsSchema: GenMessage<MediaSourceStats>;
971
972
  /**
972
973
  * @generated from message livekit.proto.AudioSourceStats
973
974
  */
974
- export type AudioSourceStats = Message<"livekit.proto.AudioSourceStats"> & {
975
+ type AudioSourceStats = Message<"livekit.proto.AudioSourceStats"> & {
975
976
  /**
976
977
  * @generated from field: required double audio_level = 1;
977
978
  */
@@ -1013,11 +1014,11 @@ export type AudioSourceStats = Message<"livekit.proto.AudioSourceStats"> & {
1013
1014
  * Describes the message livekit.proto.AudioSourceStats.
1014
1015
  * Use `create(AudioSourceStatsSchema)` to create a new message.
1015
1016
  */
1016
- export declare const AudioSourceStatsSchema: GenMessage<AudioSourceStats>;
1017
+ declare const AudioSourceStatsSchema: GenMessage<AudioSourceStats>;
1017
1018
  /**
1018
1019
  * @generated from message livekit.proto.VideoSourceStats
1019
1020
  */
1020
- export type VideoSourceStats = Message<"livekit.proto.VideoSourceStats"> & {
1021
+ type VideoSourceStats = Message<"livekit.proto.VideoSourceStats"> & {
1021
1022
  /**
1022
1023
  * @generated from field: required uint32 width = 1;
1023
1024
  */
@@ -1039,11 +1040,11 @@ export type VideoSourceStats = Message<"livekit.proto.VideoSourceStats"> & {
1039
1040
  * Describes the message livekit.proto.VideoSourceStats.
1040
1041
  * Use `create(VideoSourceStatsSchema)` to create a new message.
1041
1042
  */
1042
- export declare const VideoSourceStatsSchema: GenMessage<VideoSourceStats>;
1043
+ declare const VideoSourceStatsSchema: GenMessage<VideoSourceStats>;
1043
1044
  /**
1044
1045
  * @generated from message livekit.proto.AudioPlayoutStats
1045
1046
  */
1046
- export type AudioPlayoutStats = Message<"livekit.proto.AudioPlayoutStats"> & {
1047
+ type AudioPlayoutStats = Message<"livekit.proto.AudioPlayoutStats"> & {
1047
1048
  /**
1048
1049
  * @generated from field: required string kind = 1;
1049
1050
  */
@@ -1073,11 +1074,11 @@ export type AudioPlayoutStats = Message<"livekit.proto.AudioPlayoutStats"> & {
1073
1074
  * Describes the message livekit.proto.AudioPlayoutStats.
1074
1075
  * Use `create(AudioPlayoutStatsSchema)` to create a new message.
1075
1076
  */
1076
- export declare const AudioPlayoutStatsSchema: GenMessage<AudioPlayoutStats>;
1077
+ declare const AudioPlayoutStatsSchema: GenMessage<AudioPlayoutStats>;
1077
1078
  /**
1078
1079
  * @generated from message livekit.proto.PeerConnectionStats
1079
1080
  */
1080
- export type PeerConnectionStats = Message<"livekit.proto.PeerConnectionStats"> & {
1081
+ type PeerConnectionStats = Message<"livekit.proto.PeerConnectionStats"> & {
1081
1082
  /**
1082
1083
  * @generated from field: required uint32 data_channels_opened = 1;
1083
1084
  */
@@ -1091,11 +1092,11 @@ export type PeerConnectionStats = Message<"livekit.proto.PeerConnectionStats"> &
1091
1092
  * Describes the message livekit.proto.PeerConnectionStats.
1092
1093
  * Use `create(PeerConnectionStatsSchema)` to create a new message.
1093
1094
  */
1094
- export declare const PeerConnectionStatsSchema: GenMessage<PeerConnectionStats>;
1095
+ declare const PeerConnectionStatsSchema: GenMessage<PeerConnectionStats>;
1095
1096
  /**
1096
1097
  * @generated from message livekit.proto.DataChannelStats
1097
1098
  */
1098
- export type DataChannelStats = Message<"livekit.proto.DataChannelStats"> & {
1099
+ type DataChannelStats = Message<"livekit.proto.DataChannelStats"> & {
1099
1100
  /**
1100
1101
  * @generated from field: required string label = 1;
1101
1102
  */
@@ -1133,11 +1134,11 @@ export type DataChannelStats = Message<"livekit.proto.DataChannelStats"> & {
1133
1134
  * Describes the message livekit.proto.DataChannelStats.
1134
1135
  * Use `create(DataChannelStatsSchema)` to create a new message.
1135
1136
  */
1136
- export declare const DataChannelStatsSchema: GenMessage<DataChannelStats>;
1137
+ declare const DataChannelStatsSchema: GenMessage<DataChannelStats>;
1137
1138
  /**
1138
1139
  * @generated from message livekit.proto.TransportStats
1139
1140
  */
1140
- export type TransportStats = Message<"livekit.proto.TransportStats"> & {
1141
+ type TransportStats = Message<"livekit.proto.TransportStats"> & {
1141
1142
  /**
1142
1143
  * @generated from field: required uint64 packets_sent = 1;
1143
1144
  */
@@ -1207,11 +1208,11 @@ export type TransportStats = Message<"livekit.proto.TransportStats"> & {
1207
1208
  * Describes the message livekit.proto.TransportStats.
1208
1209
  * Use `create(TransportStatsSchema)` to create a new message.
1209
1210
  */
1210
- export declare const TransportStatsSchema: GenMessage<TransportStats>;
1211
+ declare const TransportStatsSchema: GenMessage<TransportStats>;
1211
1212
  /**
1212
1213
  * @generated from message livekit.proto.CandidatePairStats
1213
1214
  */
1214
- export type CandidatePairStats = Message<"livekit.proto.CandidatePairStats"> & {
1215
+ type CandidatePairStats = Message<"livekit.proto.CandidatePairStats"> & {
1215
1216
  /**
1216
1217
  * @generated from field: required string transport_id = 1;
1217
1218
  */
@@ -1305,11 +1306,11 @@ export type CandidatePairStats = Message<"livekit.proto.CandidatePairStats"> & {
1305
1306
  * Describes the message livekit.proto.CandidatePairStats.
1306
1307
  * Use `create(CandidatePairStatsSchema)` to create a new message.
1307
1308
  */
1308
- export declare const CandidatePairStatsSchema: GenMessage<CandidatePairStats>;
1309
+ declare const CandidatePairStatsSchema: GenMessage<CandidatePairStats>;
1309
1310
  /**
1310
1311
  * @generated from message livekit.proto.IceCandidateStats
1311
1312
  */
1312
- export type IceCandidateStats = Message<"livekit.proto.IceCandidateStats"> & {
1313
+ type IceCandidateStats = Message<"livekit.proto.IceCandidateStats"> & {
1313
1314
  /**
1314
1315
  * @generated from field: required string transport_id = 1;
1315
1316
  */
@@ -1367,11 +1368,11 @@ export type IceCandidateStats = Message<"livekit.proto.IceCandidateStats"> & {
1367
1368
  * Describes the message livekit.proto.IceCandidateStats.
1368
1369
  * Use `create(IceCandidateStatsSchema)` to create a new message.
1369
1370
  */
1370
- export declare const IceCandidateStatsSchema: GenMessage<IceCandidateStats>;
1371
+ declare const IceCandidateStatsSchema: GenMessage<IceCandidateStats>;
1371
1372
  /**
1372
1373
  * @generated from message livekit.proto.CertificateStats
1373
1374
  */
1374
- export type CertificateStats = Message<"livekit.proto.CertificateStats"> & {
1375
+ type CertificateStats = Message<"livekit.proto.CertificateStats"> & {
1375
1376
  /**
1376
1377
  * @generated from field: required string fingerprint = 1;
1377
1378
  */
@@ -1393,11 +1394,11 @@ export type CertificateStats = Message<"livekit.proto.CertificateStats"> & {
1393
1394
  * Describes the message livekit.proto.CertificateStats.
1394
1395
  * Use `create(CertificateStatsSchema)` to create a new message.
1395
1396
  */
1396
- export declare const CertificateStatsSchema: GenMessage<CertificateStats>;
1397
+ declare const CertificateStatsSchema: GenMessage<CertificateStats>;
1397
1398
  /**
1398
1399
  * @generated from enum livekit.proto.DataChannelState
1399
1400
  */
1400
- export declare enum DataChannelState {
1401
+ declare enum DataChannelState {
1401
1402
  /**
1402
1403
  * @generated from enum value: DC_CONNECTING = 0;
1403
1404
  */
@@ -1418,11 +1419,11 @@ export declare enum DataChannelState {
1418
1419
  /**
1419
1420
  * Describes the enum livekit.proto.DataChannelState.
1420
1421
  */
1421
- export declare const DataChannelStateSchema: GenEnum<DataChannelState>;
1422
+ declare const DataChannelStateSchema: GenEnum<DataChannelState>;
1422
1423
  /**
1423
1424
  * @generated from enum livekit.proto.QualityLimitationReason
1424
1425
  */
1425
- export declare enum QualityLimitationReason {
1426
+ declare enum QualityLimitationReason {
1426
1427
  /**
1427
1428
  * @generated from enum value: LIMITATION_NONE = 0;
1428
1429
  */
@@ -1443,11 +1444,11 @@ export declare enum QualityLimitationReason {
1443
1444
  /**
1444
1445
  * Describes the enum livekit.proto.QualityLimitationReason.
1445
1446
  */
1446
- export declare const QualityLimitationReasonSchema: GenEnum<QualityLimitationReason>;
1447
+ declare const QualityLimitationReasonSchema: GenEnum<QualityLimitationReason>;
1447
1448
  /**
1448
1449
  * @generated from enum livekit.proto.IceRole
1449
1450
  */
1450
- export declare enum IceRole {
1451
+ declare enum IceRole {
1451
1452
  /**
1452
1453
  * @generated from enum value: ICE_UNKNOWN = 0;
1453
1454
  */
@@ -1464,11 +1465,11 @@ export declare enum IceRole {
1464
1465
  /**
1465
1466
  * Describes the enum livekit.proto.IceRole.
1466
1467
  */
1467
- export declare const IceRoleSchema: GenEnum<IceRole>;
1468
+ declare const IceRoleSchema: GenEnum<IceRole>;
1468
1469
  /**
1469
1470
  * @generated from enum livekit.proto.DtlsTransportState
1470
1471
  */
1471
- export declare enum DtlsTransportState {
1472
+ declare enum DtlsTransportState {
1472
1473
  /**
1473
1474
  * @generated from enum value: DTLS_TRANSPORT_NEW = 0;
1474
1475
  */
@@ -1493,11 +1494,11 @@ export declare enum DtlsTransportState {
1493
1494
  /**
1494
1495
  * Describes the enum livekit.proto.DtlsTransportState.
1495
1496
  */
1496
- export declare const DtlsTransportStateSchema: GenEnum<DtlsTransportState>;
1497
+ declare const DtlsTransportStateSchema: GenEnum<DtlsTransportState>;
1497
1498
  /**
1498
1499
  * @generated from enum livekit.proto.IceTransportState
1499
1500
  */
1500
- export declare enum IceTransportState {
1501
+ declare enum IceTransportState {
1501
1502
  /**
1502
1503
  * @generated from enum value: ICE_TRANSPORT_NEW = 0;
1503
1504
  */
@@ -1530,11 +1531,11 @@ export declare enum IceTransportState {
1530
1531
  /**
1531
1532
  * Describes the enum livekit.proto.IceTransportState.
1532
1533
  */
1533
- export declare const IceTransportStateSchema: GenEnum<IceTransportState>;
1534
+ declare const IceTransportStateSchema: GenEnum<IceTransportState>;
1534
1535
  /**
1535
1536
  * @generated from enum livekit.proto.DtlsRole
1536
1537
  */
1537
- export declare enum DtlsRole {
1538
+ declare enum DtlsRole {
1538
1539
  /**
1539
1540
  * @generated from enum value: DTLS_CLIENT = 0;
1540
1541
  */
@@ -1551,11 +1552,11 @@ export declare enum DtlsRole {
1551
1552
  /**
1552
1553
  * Describes the enum livekit.proto.DtlsRole.
1553
1554
  */
1554
- export declare const DtlsRoleSchema: GenEnum<DtlsRole>;
1555
+ declare const DtlsRoleSchema: GenEnum<DtlsRole>;
1555
1556
  /**
1556
1557
  * @generated from enum livekit.proto.IceCandidatePairState
1557
1558
  */
1558
- export declare enum IceCandidatePairState {
1559
+ declare enum IceCandidatePairState {
1559
1560
  /**
1560
1561
  * @generated from enum value: PAIR_FROZEN = 0;
1561
1562
  */
@@ -1580,11 +1581,11 @@ export declare enum IceCandidatePairState {
1580
1581
  /**
1581
1582
  * Describes the enum livekit.proto.IceCandidatePairState.
1582
1583
  */
1583
- export declare const IceCandidatePairStateSchema: GenEnum<IceCandidatePairState>;
1584
+ declare const IceCandidatePairStateSchema: GenEnum<IceCandidatePairState>;
1584
1585
  /**
1585
1586
  * @generated from enum livekit.proto.IceCandidateType
1586
1587
  */
1587
- export declare enum IceCandidateType {
1588
+ declare enum IceCandidateType {
1588
1589
  /**
1589
1590
  * @generated from enum value: HOST = 0;
1590
1591
  */
@@ -1605,11 +1606,11 @@ export declare enum IceCandidateType {
1605
1606
  /**
1606
1607
  * Describes the enum livekit.proto.IceCandidateType.
1607
1608
  */
1608
- export declare const IceCandidateTypeSchema: GenEnum<IceCandidateType>;
1609
+ declare const IceCandidateTypeSchema: GenEnum<IceCandidateType>;
1609
1610
  /**
1610
1611
  * @generated from enum livekit.proto.IceServerTransportProtocol
1611
1612
  */
1612
- export declare enum IceServerTransportProtocol {
1613
+ declare enum IceServerTransportProtocol {
1613
1614
  /**
1614
1615
  * @generated from enum value: TRANSPORT_UDP = 0;
1615
1616
  */
@@ -1626,11 +1627,11 @@ export declare enum IceServerTransportProtocol {
1626
1627
  /**
1627
1628
  * Describes the enum livekit.proto.IceServerTransportProtocol.
1628
1629
  */
1629
- export declare const IceServerTransportProtocolSchema: GenEnum<IceServerTransportProtocol>;
1630
+ declare const IceServerTransportProtocolSchema: GenEnum<IceServerTransportProtocol>;
1630
1631
  /**
1631
1632
  * @generated from enum livekit.proto.IceTcpCandidateType
1632
1633
  */
1633
- export declare enum IceTcpCandidateType {
1634
+ declare enum IceTcpCandidateType {
1634
1635
  /**
1635
1636
  * @generated from enum value: CANDIDATE_ACTIVE = 0;
1636
1637
  */
@@ -1647,5 +1648,6 @@ export declare enum IceTcpCandidateType {
1647
1648
  /**
1648
1649
  * Describes the enum livekit.proto.IceTcpCandidateType.
1649
1650
  */
1650
- export declare const IceTcpCandidateTypeSchema: GenEnum<IceTcpCandidateType>;
1651
- //# sourceMappingURL=stats_pb.d.ts.map
1651
+ declare const IceTcpCandidateTypeSchema: GenEnum<IceTcpCandidateType>;
1652
+
1653
+ export { type AudioPlayoutStats, AudioPlayoutStatsSchema, type AudioSourceStats, AudioSourceStatsSchema, type CandidatePairStats, CandidatePairStatsSchema, type CertificateStats, CertificateStatsSchema, type CodecStats, CodecStatsSchema, DataChannelState, DataChannelStateSchema, type DataChannelStats, DataChannelStatsSchema, DtlsRole, DtlsRoleSchema, DtlsTransportState, DtlsTransportStateSchema, IceCandidatePairState, IceCandidatePairStateSchema, type IceCandidateStats, IceCandidateStatsSchema, IceCandidateType, IceCandidateTypeSchema, IceRole, IceRoleSchema, IceServerTransportProtocol, IceServerTransportProtocolSchema, IceTcpCandidateType, IceTcpCandidateTypeSchema, IceTransportState, IceTransportStateSchema, type InboundRtpStreamStats, InboundRtpStreamStatsSchema, type MediaSourceStats, MediaSourceStatsSchema, type OutboundRtpStreamStats, OutboundRtpStreamStatsSchema, type PeerConnectionStats, PeerConnectionStatsSchema, QualityLimitationReason, QualityLimitationReasonSchema, type ReceivedRtpStreamStats, ReceivedRtpStreamStatsSchema, type RemoteInboundRtpStreamStats, RemoteInboundRtpStreamStatsSchema, type RemoteOutboundRtpStreamStats, RemoteOutboundRtpStreamStatsSchema, type RtcStats, type RtcStatsData, RtcStatsDataSchema, RtcStatsSchema, type RtcStats_CandidatePair, RtcStats_CandidatePairSchema, type RtcStats_Certificate, RtcStats_CertificateSchema, type RtcStats_Codec, RtcStats_CodecSchema, type RtcStats_DataChannel, RtcStats_DataChannelSchema, type RtcStats_InboundRtp, RtcStats_InboundRtpSchema, type RtcStats_LocalCandidate, RtcStats_LocalCandidateSchema, type RtcStats_MediaPlayout, RtcStats_MediaPlayoutSchema, type RtcStats_MediaSource, RtcStats_MediaSourceSchema, type RtcStats_OutboundRtp, RtcStats_OutboundRtpSchema, type RtcStats_PeerConnection, RtcStats_PeerConnectionSchema, type RtcStats_RemoteCandidate, RtcStats_RemoteCandidateSchema, type RtcStats_RemoteInboundRtp, RtcStats_RemoteInboundRtpSchema, type RtcStats_RemoteOutboundRtp, RtcStats_RemoteOutboundRtpSchema, type RtcStats_Track, RtcStats_TrackSchema, type RtcStats_Transport, RtcStats_TransportSchema, type RtpStreamStats, RtpStreamStatsSchema, type SentRtpStreamStats, SentRtpStreamStatsSchema, type TransportStats, TransportStatsSchema, type VideoSourceStats, VideoSourceStatsSchema, file_stats };