@livekit/rtc-node 0.10.4 → 0.11.0

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