@cc-livekit/protocol 1.39.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/index.cjs +7285 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +13646 -0
  4. package/dist/index.d.mts +13646 -0
  5. package/dist/index.d.ts +13646 -0
  6. package/dist/index.mjs +7009 -0
  7. package/dist/index.mjs.map +1 -0
  8. package/package.json +42 -0
  9. package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
  10. package/src/gen/livekit_agent_dispatch_pb.js +103 -0
  11. package/src/gen/livekit_agent_pb.d.ts +758 -0
  12. package/src/gen/livekit_agent_pb.js +269 -0
  13. package/src/gen/livekit_analytics_pb.d.ts +1379 -0
  14. package/src/gen/livekit_analytics_pb.js +397 -0
  15. package/src/gen/livekit_cloud_agent_pb.d.ts +919 -0
  16. package/src/gen/livekit_cloud_agent_pb.js +327 -0
  17. package/src/gen/livekit_egress_pb.d.ts +2151 -0
  18. package/src/gen/livekit_egress_pb.js +625 -0
  19. package/src/gen/livekit_ingress_pb.d.ts +864 -0
  20. package/src/gen/livekit_ingress_pb.js +272 -0
  21. package/src/gen/livekit_internal_pb.d.ts +786 -0
  22. package/src/gen/livekit_internal_pb.js +227 -0
  23. package/src/gen/livekit_metrics_pb.d.ts +376 -0
  24. package/src/gen/livekit_metrics_pb.js +97 -0
  25. package/src/gen/livekit_models_pb.d.ts +3083 -0
  26. package/src/gen/livekit_models_pb.js +998 -0
  27. package/src/gen/livekit_room_pb.d.ts +899 -0
  28. package/src/gen/livekit_room_pb.js +300 -0
  29. package/src/gen/livekit_rtc_pb.d.ts +2134 -0
  30. package/src/gen/livekit_rtc_pb.js +668 -0
  31. package/src/gen/livekit_sip_pb.d.ts +2619 -0
  32. package/src/gen/livekit_sip_pb.js +771 -0
  33. package/src/gen/livekit_temptalk_pb.d.ts +473 -0
  34. package/src/gen/livekit_temptalk_pb.js +167 -0
  35. package/src/gen/livekit_webhook_pb.d.ts +106 -0
  36. package/src/gen/livekit_webhook_pb.js +42 -0
  37. package/src/gen/version.d.ts +1 -0
  38. package/src/gen/version.js +2 -0
  39. package/src/index.d.ts +12 -0
  40. package/src/index.js +13 -0
@@ -0,0 +1,998 @@
1
+ // Copyright 2023 LiveKit, Inc.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
+ // @generated from file livekit_models.proto (package livekit, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import { proto3, Timestamp } from "@bufbuild/protobuf";
21
+ import { MetricsBatch } from "./livekit_metrics_pb.js";
22
+
23
+ /**
24
+ * @generated from enum livekit.AudioCodec
25
+ */
26
+ export const AudioCodec = /*@__PURE__*/ proto3.makeEnum(
27
+ "livekit.AudioCodec",
28
+ [
29
+ {no: 0, name: "DEFAULT_AC"},
30
+ {no: 1, name: "OPUS"},
31
+ {no: 2, name: "AAC"},
32
+ ],
33
+ );
34
+
35
+ /**
36
+ * @generated from enum livekit.VideoCodec
37
+ */
38
+ export const VideoCodec = /*@__PURE__*/ proto3.makeEnum(
39
+ "livekit.VideoCodec",
40
+ [
41
+ {no: 0, name: "DEFAULT_VC"},
42
+ {no: 1, name: "H264_BASELINE"},
43
+ {no: 2, name: "H264_MAIN"},
44
+ {no: 3, name: "H264_HIGH"},
45
+ {no: 4, name: "VP8"},
46
+ ],
47
+ );
48
+
49
+ /**
50
+ * @generated from enum livekit.ImageCodec
51
+ */
52
+ export const ImageCodec = /*@__PURE__*/ proto3.makeEnum(
53
+ "livekit.ImageCodec",
54
+ [
55
+ {no: 0, name: "IC_DEFAULT"},
56
+ {no: 1, name: "IC_JPEG"},
57
+ ],
58
+ );
59
+
60
+ /**
61
+ * Policy for publisher to handle subscribers that are unable to support the primary codec of a track
62
+ *
63
+ * @generated from enum livekit.BackupCodecPolicy
64
+ */
65
+ export const BackupCodecPolicy = /*@__PURE__*/ proto3.makeEnum(
66
+ "livekit.BackupCodecPolicy",
67
+ [
68
+ {no: 0, name: "PREFER_REGRESSION"},
69
+ {no: 1, name: "SIMULCAST"},
70
+ {no: 2, name: "REGRESSION"},
71
+ ],
72
+ );
73
+
74
+ /**
75
+ * @generated from enum livekit.TrackType
76
+ */
77
+ export const TrackType = /*@__PURE__*/ proto3.makeEnum(
78
+ "livekit.TrackType",
79
+ [
80
+ {no: 0, name: "AUDIO"},
81
+ {no: 1, name: "VIDEO"},
82
+ {no: 2, name: "DATA"},
83
+ ],
84
+ );
85
+
86
+ /**
87
+ * @generated from enum livekit.TrackSource
88
+ */
89
+ export const TrackSource = /*@__PURE__*/ proto3.makeEnum(
90
+ "livekit.TrackSource",
91
+ [
92
+ {no: 0, name: "UNKNOWN"},
93
+ {no: 1, name: "CAMERA"},
94
+ {no: 2, name: "MICROPHONE"},
95
+ {no: 3, name: "SCREEN_SHARE"},
96
+ {no: 4, name: "SCREEN_SHARE_AUDIO"},
97
+ ],
98
+ );
99
+
100
+ /**
101
+ * @generated from enum livekit.VideoQuality
102
+ */
103
+ export const VideoQuality = /*@__PURE__*/ proto3.makeEnum(
104
+ "livekit.VideoQuality",
105
+ [
106
+ {no: 0, name: "LOW"},
107
+ {no: 1, name: "MEDIUM"},
108
+ {no: 2, name: "HIGH"},
109
+ {no: 3, name: "OFF"},
110
+ ],
111
+ );
112
+
113
+ /**
114
+ * @generated from enum livekit.ConnectionQuality
115
+ */
116
+ export const ConnectionQuality = /*@__PURE__*/ proto3.makeEnum(
117
+ "livekit.ConnectionQuality",
118
+ [
119
+ {no: 0, name: "POOR"},
120
+ {no: 1, name: "GOOD"},
121
+ {no: 2, name: "EXCELLENT"},
122
+ {no: 3, name: "LOST"},
123
+ ],
124
+ );
125
+
126
+ /**
127
+ * @generated from enum livekit.ClientConfigSetting
128
+ */
129
+ export const ClientConfigSetting = /*@__PURE__*/ proto3.makeEnum(
130
+ "livekit.ClientConfigSetting",
131
+ [
132
+ {no: 0, name: "UNSET"},
133
+ {no: 1, name: "DISABLED"},
134
+ {no: 2, name: "ENABLED"},
135
+ ],
136
+ );
137
+
138
+ /**
139
+ * @generated from enum livekit.DisconnectReason
140
+ */
141
+ export const DisconnectReason = /*@__PURE__*/ proto3.makeEnum(
142
+ "livekit.DisconnectReason",
143
+ [
144
+ {no: 0, name: "UNKNOWN_REASON"},
145
+ {no: 1, name: "CLIENT_INITIATED"},
146
+ {no: 2, name: "DUPLICATE_IDENTITY"},
147
+ {no: 3, name: "SERVER_SHUTDOWN"},
148
+ {no: 4, name: "PARTICIPANT_REMOVED"},
149
+ {no: 5, name: "ROOM_DELETED"},
150
+ {no: 6, name: "STATE_MISMATCH"},
151
+ {no: 7, name: "JOIN_FAILURE"},
152
+ {no: 8, name: "MIGRATION"},
153
+ {no: 9, name: "SIGNAL_CLOSE"},
154
+ {no: 10, name: "ROOM_CLOSED"},
155
+ {no: 11, name: "USER_UNAVAILABLE"},
156
+ {no: 12, name: "USER_REJECTED"},
157
+ {no: 13, name: "SIP_TRUNK_FAILURE"},
158
+ {no: 14, name: "CONNECTION_TIMEOUT"},
159
+ {no: 15, name: "MEDIA_FAILURE"},
160
+ ],
161
+ );
162
+
163
+ /**
164
+ * @generated from enum livekit.ReconnectReason
165
+ */
166
+ export const ReconnectReason = /*@__PURE__*/ proto3.makeEnum(
167
+ "livekit.ReconnectReason",
168
+ [
169
+ {no: 0, name: "RR_UNKNOWN"},
170
+ {no: 1, name: "RR_SIGNAL_DISCONNECTED"},
171
+ {no: 2, name: "RR_PUBLISHER_FAILED"},
172
+ {no: 3, name: "RR_SUBSCRIBER_FAILED"},
173
+ {no: 4, name: "RR_SWITCH_CANDIDATE"},
174
+ ],
175
+ );
176
+
177
+ /**
178
+ * @generated from enum livekit.SubscriptionError
179
+ */
180
+ export const SubscriptionError = /*@__PURE__*/ proto3.makeEnum(
181
+ "livekit.SubscriptionError",
182
+ [
183
+ {no: 0, name: "SE_UNKNOWN"},
184
+ {no: 1, name: "SE_CODEC_UNSUPPORTED"},
185
+ {no: 2, name: "SE_TRACK_NOTFOUND"},
186
+ ],
187
+ );
188
+
189
+ /**
190
+ * @generated from enum livekit.AudioTrackFeature
191
+ */
192
+ export const AudioTrackFeature = /*@__PURE__*/ proto3.makeEnum(
193
+ "livekit.AudioTrackFeature",
194
+ [
195
+ {no: 0, name: "TF_STEREO"},
196
+ {no: 1, name: "TF_NO_DTX"},
197
+ {no: 2, name: "TF_AUTO_GAIN_CONTROL"},
198
+ {no: 3, name: "TF_ECHO_CANCELLATION"},
199
+ {no: 4, name: "TF_NOISE_SUPPRESSION"},
200
+ {no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION"},
201
+ {no: 6, name: "TF_PRECONNECT_BUFFER"},
202
+ ],
203
+ );
204
+
205
+ /**
206
+ * @generated from message livekit.Pagination
207
+ */
208
+ export const Pagination = /*@__PURE__*/ proto3.makeMessageType(
209
+ "livekit.Pagination",
210
+ () => [
211
+ { no: 1, name: "after_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
212
+ { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
213
+ ],
214
+ );
215
+
216
+ /**
217
+ * ListUpdate is used for updated APIs where 'repeated string' field is modified.
218
+ *
219
+ * @generated from message livekit.ListUpdate
220
+ */
221
+ export const ListUpdate = /*@__PURE__*/ proto3.makeMessageType(
222
+ "livekit.ListUpdate",
223
+ () => [
224
+ { no: 1, name: "set", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
225
+ ],
226
+ );
227
+
228
+ /**
229
+ * @generated from message livekit.Room
230
+ */
231
+ export const Room = /*@__PURE__*/ proto3.makeMessageType(
232
+ "livekit.Room",
233
+ () => [
234
+ { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
235
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
236
+ { no: 3, name: "empty_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
237
+ { no: 14, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
238
+ { no: 4, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
239
+ { no: 5, name: "creation_time", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
240
+ { no: 15, name: "creation_time_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
241
+ { no: 6, name: "turn_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
242
+ { no: 7, name: "enabled_codecs", kind: "message", T: Codec, repeated: true },
243
+ { no: 8, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
244
+ { no: 9, name: "num_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
245
+ { no: 11, name: "num_publishers", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
246
+ { no: 10, name: "active_recording", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
247
+ { no: 13, name: "version", kind: "message", T: TimedVersion },
248
+ ],
249
+ );
250
+
251
+ /**
252
+ * @generated from message livekit.Codec
253
+ */
254
+ export const Codec = /*@__PURE__*/ proto3.makeMessageType(
255
+ "livekit.Codec",
256
+ () => [
257
+ { no: 1, name: "mime", kind: "scalar", T: 9 /* ScalarType.STRING */ },
258
+ { no: 2, name: "fmtp_line", kind: "scalar", T: 9 /* ScalarType.STRING */ },
259
+ ],
260
+ );
261
+
262
+ /**
263
+ * @generated from message livekit.PlayoutDelay
264
+ */
265
+ export const PlayoutDelay = /*@__PURE__*/ proto3.makeMessageType(
266
+ "livekit.PlayoutDelay",
267
+ () => [
268
+ { no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
269
+ { no: 2, name: "min", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
270
+ { no: 3, name: "max", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
271
+ ],
272
+ );
273
+
274
+ /**
275
+ * @generated from message livekit.ParticipantPermission
276
+ */
277
+ export const ParticipantPermission = /*@__PURE__*/ proto3.makeMessageType(
278
+ "livekit.ParticipantPermission",
279
+ () => [
280
+ { no: 1, name: "can_subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
281
+ { no: 2, name: "can_publish", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
282
+ { no: 3, name: "can_publish_data", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
283
+ { no: 9, name: "can_publish_sources", kind: "enum", T: proto3.getEnumType(TrackSource), repeated: true },
284
+ { no: 7, name: "hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
285
+ { no: 8, name: "recorder", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
286
+ { no: 10, name: "can_update_metadata", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
287
+ { no: 11, name: "agent", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
288
+ { no: 12, name: "can_subscribe_metrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
289
+ ],
290
+ );
291
+
292
+ /**
293
+ * @generated from message livekit.ParticipantInfo
294
+ */
295
+ export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
296
+ "livekit.ParticipantInfo",
297
+ () => [
298
+ { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
299
+ { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
300
+ { no: 3, name: "state", kind: "enum", T: proto3.getEnumType(ParticipantInfo_State) },
301
+ { no: 4, name: "tracks", kind: "message", T: TrackInfo, repeated: true },
302
+ { no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
303
+ { no: 6, name: "joined_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
304
+ { no: 17, name: "joined_at_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
305
+ { no: 9, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
306
+ { no: 10, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
307
+ { no: 11, name: "permission", kind: "message", T: ParticipantPermission },
308
+ { no: 12, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
309
+ { no: 13, name: "is_publisher", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
310
+ { no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(ParticipantInfo_Kind) },
311
+ { no: 15, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
312
+ { no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
313
+ { no: 18, name: "kind_details", kind: "enum", T: proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true },
314
+ ],
315
+ );
316
+
317
+ /**
318
+ * @generated from enum livekit.ParticipantInfo.State
319
+ */
320
+ export const ParticipantInfo_State = /*@__PURE__*/ proto3.makeEnum(
321
+ "livekit.ParticipantInfo.State",
322
+ [
323
+ {no: 0, name: "JOINING"},
324
+ {no: 1, name: "JOINED"},
325
+ {no: 2, name: "ACTIVE"},
326
+ {no: 3, name: "DISCONNECTED"},
327
+ ],
328
+ );
329
+
330
+ /**
331
+ * @generated from enum livekit.ParticipantInfo.Kind
332
+ */
333
+ export const ParticipantInfo_Kind = /*@__PURE__*/ proto3.makeEnum(
334
+ "livekit.ParticipantInfo.Kind",
335
+ [
336
+ {no: 0, name: "STANDARD"},
337
+ {no: 1, name: "INGRESS"},
338
+ {no: 2, name: "EGRESS"},
339
+ {no: 3, name: "SIP"},
340
+ {no: 4, name: "AGENT"},
341
+ ],
342
+ );
343
+
344
+ /**
345
+ * @generated from enum livekit.ParticipantInfo.KindDetail
346
+ */
347
+ export const ParticipantInfo_KindDetail = /*@__PURE__*/ proto3.makeEnum(
348
+ "livekit.ParticipantInfo.KindDetail",
349
+ [
350
+ {no: 0, name: "CLOUD_AGENT"},
351
+ {no: 1, name: "FORWARDED"},
352
+ ],
353
+ );
354
+
355
+ /**
356
+ * @generated from message livekit.Encryption
357
+ */
358
+ export const Encryption = /*@__PURE__*/ proto3.makeMessageType(
359
+ "livekit.Encryption",
360
+ [],
361
+ );
362
+
363
+ /**
364
+ * @generated from enum livekit.Encryption.Type
365
+ */
366
+ export const Encryption_Type = /*@__PURE__*/ proto3.makeEnum(
367
+ "livekit.Encryption.Type",
368
+ [
369
+ {no: 0, name: "NONE"},
370
+ {no: 1, name: "GCM"},
371
+ {no: 2, name: "CUSTOM"},
372
+ ],
373
+ );
374
+
375
+ /**
376
+ * @generated from message livekit.SimulcastCodecInfo
377
+ */
378
+ export const SimulcastCodecInfo = /*@__PURE__*/ proto3.makeMessageType(
379
+ "livekit.SimulcastCodecInfo",
380
+ () => [
381
+ { no: 1, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
382
+ { no: 2, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
383
+ { no: 3, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
384
+ { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
385
+ ],
386
+ );
387
+
388
+ /**
389
+ * @generated from message livekit.TrackInfo
390
+ */
391
+ export const TrackInfo = /*@__PURE__*/ proto3.makeMessageType(
392
+ "livekit.TrackInfo",
393
+ () => [
394
+ { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
395
+ { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(TrackType) },
396
+ { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
397
+ { no: 4, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
398
+ { no: 5, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
399
+ { no: 6, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
400
+ { no: 7, name: "simulcast", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
401
+ { no: 8, name: "disable_dtx", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
402
+ { no: 9, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) },
403
+ { no: 10, name: "layers", kind: "message", T: VideoLayer, repeated: true },
404
+ { no: 11, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
405
+ { no: 12, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
406
+ { no: 13, name: "codecs", kind: "message", T: SimulcastCodecInfo, repeated: true },
407
+ { no: 14, name: "stereo", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
408
+ { no: 15, name: "disable_red", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
409
+ { no: 16, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
410
+ { no: 17, name: "stream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
411
+ { no: 18, name: "version", kind: "message", T: TimedVersion },
412
+ { no: 19, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true },
413
+ { no: 20, name: "backup_codec_policy", kind: "enum", T: proto3.getEnumType(BackupCodecPolicy) },
414
+ ],
415
+ );
416
+
417
+ /**
418
+ * provide information about available spatial layers
419
+ *
420
+ * @generated from message livekit.VideoLayer
421
+ */
422
+ export const VideoLayer = /*@__PURE__*/ proto3.makeMessageType(
423
+ "livekit.VideoLayer",
424
+ () => [
425
+ { no: 1, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) },
426
+ { no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
427
+ { no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
428
+ { no: 4, name: "bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
429
+ { no: 5, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
430
+ { no: 6, name: "spatial_layer", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
431
+ { no: 7, name: "rid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
432
+ ],
433
+ );
434
+
435
+ /**
436
+ * new DataPacket API
437
+ *
438
+ * @generated from message livekit.DataPacket
439
+ */
440
+ export const DataPacket = /*@__PURE__*/ proto3.makeMessageType(
441
+ "livekit.DataPacket",
442
+ () => [
443
+ { no: 1, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacket_Kind) },
444
+ { no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
445
+ { no: 5, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
446
+ { no: 2, name: "user", kind: "message", T: UserPacket, oneof: "value" },
447
+ { no: 3, name: "speaker", kind: "message", T: ActiveSpeakerUpdate, oneof: "value" },
448
+ { no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" },
449
+ { no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" },
450
+ { no: 8, name: "metrics", kind: "message", T: MetricsBatch, oneof: "value" },
451
+ { no: 9, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" },
452
+ { no: 10, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" },
453
+ { no: 11, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" },
454
+ { no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" },
455
+ { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
456
+ { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
457
+ { no: 15, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" },
458
+ { no: 16, name: "sequence", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
459
+ { no: 17, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
460
+ ],
461
+ );
462
+
463
+ /**
464
+ * @generated from enum livekit.DataPacket.Kind
465
+ */
466
+ export const DataPacket_Kind = /*@__PURE__*/ proto3.makeEnum(
467
+ "livekit.DataPacket.Kind",
468
+ [
469
+ {no: 0, name: "RELIABLE"},
470
+ {no: 1, name: "LOSSY"},
471
+ ],
472
+ );
473
+
474
+ /**
475
+ * @generated from message livekit.ActiveSpeakerUpdate
476
+ */
477
+ export const ActiveSpeakerUpdate = /*@__PURE__*/ proto3.makeMessageType(
478
+ "livekit.ActiveSpeakerUpdate",
479
+ () => [
480
+ { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true },
481
+ ],
482
+ );
483
+
484
+ /**
485
+ * @generated from message livekit.SpeakerInfo
486
+ */
487
+ export const SpeakerInfo = /*@__PURE__*/ proto3.makeMessageType(
488
+ "livekit.SpeakerInfo",
489
+ () => [
490
+ { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
491
+ { no: 2, name: "level", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
492
+ { no: 3, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
493
+ ],
494
+ );
495
+
496
+ /**
497
+ * @generated from message livekit.UserPacket
498
+ */
499
+ export const UserPacket = /*@__PURE__*/ proto3.makeMessageType(
500
+ "livekit.UserPacket",
501
+ () => [
502
+ { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
503
+ { no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
504
+ { no: 2, name: "payload", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
505
+ { no: 3, name: "destination_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
506
+ { no: 6, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
507
+ { no: 4, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
508
+ { no: 8, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
509
+ { no: 9, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
510
+ { no: 10, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
511
+ { no: 11, name: "nonce", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
512
+ ],
513
+ );
514
+
515
+ /**
516
+ * @generated from message livekit.SipDTMF
517
+ */
518
+ export const SipDTMF = /*@__PURE__*/ proto3.makeMessageType(
519
+ "livekit.SipDTMF",
520
+ () => [
521
+ { no: 3, name: "code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
522
+ { no: 4, name: "digit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
523
+ ],
524
+ );
525
+
526
+ /**
527
+ * @generated from message livekit.Transcription
528
+ */
529
+ export const Transcription = /*@__PURE__*/ proto3.makeMessageType(
530
+ "livekit.Transcription",
531
+ () => [
532
+ { no: 2, name: "transcribed_participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
533
+ { no: 3, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
534
+ { no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true },
535
+ ],
536
+ );
537
+
538
+ /**
539
+ * @generated from message livekit.TranscriptionSegment
540
+ */
541
+ export const TranscriptionSegment = /*@__PURE__*/ proto3.makeMessageType(
542
+ "livekit.TranscriptionSegment",
543
+ () => [
544
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
545
+ { no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
546
+ { no: 3, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
547
+ { no: 4, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
548
+ { no: 5, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
549
+ { no: 6, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
550
+ ],
551
+ );
552
+
553
+ /**
554
+ * @generated from message livekit.ChatMessage
555
+ */
556
+ export const ChatMessage = /*@__PURE__*/ proto3.makeMessageType(
557
+ "livekit.ChatMessage",
558
+ () => [
559
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
560
+ { no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
561
+ { no: 3, name: "edit_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
562
+ { no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
563
+ { no: 5, name: "deleted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
564
+ { no: 6, name: "generated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
565
+ ],
566
+ );
567
+
568
+ /**
569
+ * @generated from message livekit.RpcRequest
570
+ */
571
+ export const RpcRequest = /*@__PURE__*/ proto3.makeMessageType(
572
+ "livekit.RpcRequest",
573
+ () => [
574
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
575
+ { no: 2, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
576
+ { no: 3, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
577
+ { no: 4, name: "response_timeout_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
578
+ { no: 5, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
579
+ ],
580
+ );
581
+
582
+ /**
583
+ * @generated from message livekit.RpcAck
584
+ */
585
+ export const RpcAck = /*@__PURE__*/ proto3.makeMessageType(
586
+ "livekit.RpcAck",
587
+ () => [
588
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
589
+ ],
590
+ );
591
+
592
+ /**
593
+ * @generated from message livekit.RpcResponse
594
+ */
595
+ export const RpcResponse = /*@__PURE__*/ proto3.makeMessageType(
596
+ "livekit.RpcResponse",
597
+ () => [
598
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
599
+ { no: 2, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" },
600
+ { no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" },
601
+ ],
602
+ );
603
+
604
+ /**
605
+ * @generated from message livekit.RpcError
606
+ */
607
+ export const RpcError = /*@__PURE__*/ proto3.makeMessageType(
608
+ "livekit.RpcError",
609
+ () => [
610
+ { no: 1, name: "code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
611
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
612
+ { no: 3, name: "data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
613
+ ],
614
+ );
615
+
616
+ /**
617
+ * @generated from message livekit.ParticipantTracks
618
+ */
619
+ export const ParticipantTracks = /*@__PURE__*/ proto3.makeMessageType(
620
+ "livekit.ParticipantTracks",
621
+ () => [
622
+ { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
623
+ { no: 2, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
624
+ ],
625
+ );
626
+
627
+ /**
628
+ * details about the server
629
+ *
630
+ * @generated from message livekit.ServerInfo
631
+ */
632
+ export const ServerInfo = /*@__PURE__*/ proto3.makeMessageType(
633
+ "livekit.ServerInfo",
634
+ () => [
635
+ { no: 1, name: "edition", kind: "enum", T: proto3.getEnumType(ServerInfo_Edition) },
636
+ { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
637
+ { no: 3, name: "protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
638
+ { no: 4, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
639
+ { no: 5, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
640
+ { no: 6, name: "debug_info", kind: "scalar", T: 9 /* ScalarType.STRING */ },
641
+ { no: 7, name: "agent_protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
642
+ ],
643
+ );
644
+
645
+ /**
646
+ * @generated from enum livekit.ServerInfo.Edition
647
+ */
648
+ export const ServerInfo_Edition = /*@__PURE__*/ proto3.makeEnum(
649
+ "livekit.ServerInfo.Edition",
650
+ [
651
+ {no: 0, name: "Standard"},
652
+ {no: 1, name: "Cloud"},
653
+ ],
654
+ );
655
+
656
+ /**
657
+ * details about the client
658
+ *
659
+ * @generated from message livekit.ClientInfo
660
+ */
661
+ export const ClientInfo = /*@__PURE__*/ proto3.makeMessageType(
662
+ "livekit.ClientInfo",
663
+ () => [
664
+ { no: 1, name: "sdk", kind: "enum", T: proto3.getEnumType(ClientInfo_SDK) },
665
+ { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
666
+ { no: 3, name: "protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
667
+ { no: 4, name: "os", kind: "scalar", T: 9 /* ScalarType.STRING */ },
668
+ { no: 5, name: "os_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
669
+ { no: 6, name: "device_model", kind: "scalar", T: 9 /* ScalarType.STRING */ },
670
+ { no: 7, name: "browser", kind: "scalar", T: 9 /* ScalarType.STRING */ },
671
+ { no: 8, name: "browser_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
672
+ { no: 9, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
673
+ { no: 10, name: "network", kind: "scalar", T: 9 /* ScalarType.STRING */ },
674
+ { no: 11, name: "other_sdks", kind: "scalar", T: 9 /* ScalarType.STRING */ },
675
+ ],
676
+ );
677
+
678
+ /**
679
+ * @generated from enum livekit.ClientInfo.SDK
680
+ */
681
+ export const ClientInfo_SDK = /*@__PURE__*/ proto3.makeEnum(
682
+ "livekit.ClientInfo.SDK",
683
+ [
684
+ {no: 0, name: "UNKNOWN"},
685
+ {no: 1, name: "JS"},
686
+ {no: 2, name: "SWIFT"},
687
+ {no: 3, name: "ANDROID"},
688
+ {no: 4, name: "FLUTTER"},
689
+ {no: 5, name: "GO"},
690
+ {no: 6, name: "UNITY"},
691
+ {no: 7, name: "REACT_NATIVE"},
692
+ {no: 8, name: "RUST"},
693
+ {no: 9, name: "PYTHON"},
694
+ {no: 10, name: "CPP"},
695
+ {no: 11, name: "UNITY_WEB"},
696
+ {no: 12, name: "NODE"},
697
+ {no: 13, name: "UNREAL"},
698
+ {no: 14, name: "ESP32"},
699
+ ],
700
+ );
701
+
702
+ /**
703
+ * server provided client configuration
704
+ *
705
+ * @generated from message livekit.ClientConfiguration
706
+ */
707
+ export const ClientConfiguration = /*@__PURE__*/ proto3.makeMessageType(
708
+ "livekit.ClientConfiguration",
709
+ () => [
710
+ { no: 1, name: "video", kind: "message", T: VideoConfiguration },
711
+ { no: 2, name: "screen", kind: "message", T: VideoConfiguration },
712
+ { no: 3, name: "resume_connection", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) },
713
+ { no: 4, name: "disabled_codecs", kind: "message", T: DisabledCodecs },
714
+ { no: 5, name: "force_relay", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) },
715
+ ],
716
+ );
717
+
718
+ /**
719
+ * @generated from message livekit.VideoConfiguration
720
+ */
721
+ export const VideoConfiguration = /*@__PURE__*/ proto3.makeMessageType(
722
+ "livekit.VideoConfiguration",
723
+ () => [
724
+ { no: 1, name: "hardware_encoder", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) },
725
+ ],
726
+ );
727
+
728
+ /**
729
+ * @generated from message livekit.DisabledCodecs
730
+ */
731
+ export const DisabledCodecs = /*@__PURE__*/ proto3.makeMessageType(
732
+ "livekit.DisabledCodecs",
733
+ () => [
734
+ { no: 1, name: "codecs", kind: "message", T: Codec, repeated: true },
735
+ { no: 2, name: "publish", kind: "message", T: Codec, repeated: true },
736
+ ],
737
+ );
738
+
739
+ /**
740
+ * @generated from message livekit.RTPDrift
741
+ */
742
+ export const RTPDrift = /*@__PURE__*/ proto3.makeMessageType(
743
+ "livekit.RTPDrift",
744
+ () => [
745
+ { no: 1, name: "start_time", kind: "message", T: Timestamp },
746
+ { no: 2, name: "end_time", kind: "message", T: Timestamp },
747
+ { no: 3, name: "duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
748
+ { no: 4, name: "start_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
749
+ { no: 5, name: "end_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
750
+ { no: 6, name: "rtp_clock_ticks", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
751
+ { no: 7, name: "drift_samples", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
752
+ { no: 8, name: "drift_ms", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
753
+ { no: 9, name: "clock_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
754
+ ],
755
+ );
756
+
757
+ /**
758
+ * @generated from message livekit.RTPStats
759
+ */
760
+ export const RTPStats = /*@__PURE__*/ proto3.makeMessageType(
761
+ "livekit.RTPStats",
762
+ () => [
763
+ { no: 1, name: "start_time", kind: "message", T: Timestamp },
764
+ { no: 2, name: "end_time", kind: "message", T: Timestamp },
765
+ { no: 3, name: "duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
766
+ { no: 4, name: "packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
767
+ { no: 5, name: "packet_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
768
+ { no: 6, name: "bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
769
+ { no: 39, name: "header_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
770
+ { no: 7, name: "bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
771
+ { no: 8, name: "packets_lost", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
772
+ { no: 9, name: "packet_loss_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
773
+ { no: 10, name: "packet_loss_percentage", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
774
+ { no: 11, name: "packets_duplicate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
775
+ { no: 12, name: "packet_duplicate_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
776
+ { no: 13, name: "bytes_duplicate", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
777
+ { no: 40, name: "header_bytes_duplicate", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
778
+ { no: 14, name: "bitrate_duplicate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
779
+ { no: 15, name: "packets_padding", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
780
+ { no: 16, name: "packet_padding_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
781
+ { no: 17, name: "bytes_padding", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
782
+ { no: 41, name: "header_bytes_padding", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
783
+ { no: 18, name: "bitrate_padding", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
784
+ { no: 19, name: "packets_out_of_order", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
785
+ { no: 20, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
786
+ { no: 21, name: "frame_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
787
+ { no: 22, name: "jitter_current", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
788
+ { no: 23, name: "jitter_max", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
789
+ { no: 24, name: "gap_histogram", kind: "map", K: 5 /* ScalarType.INT32 */, V: {kind: "scalar", T: 13 /* ScalarType.UINT32 */} },
790
+ { no: 25, name: "nacks", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
791
+ { no: 37, name: "nack_acks", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
792
+ { no: 26, name: "nack_misses", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
793
+ { no: 38, name: "nack_repeated", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
794
+ { no: 27, name: "plis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
795
+ { no: 28, name: "last_pli", kind: "message", T: Timestamp },
796
+ { no: 29, name: "firs", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
797
+ { no: 30, name: "last_fir", kind: "message", T: Timestamp },
798
+ { no: 31, name: "rtt_current", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
799
+ { no: 32, name: "rtt_max", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
800
+ { no: 33, name: "key_frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
801
+ { no: 34, name: "last_key_frame", kind: "message", T: Timestamp },
802
+ { no: 35, name: "layer_lock_plis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
803
+ { no: 36, name: "last_layer_lock_pli", kind: "message", T: Timestamp },
804
+ { no: 44, name: "packet_drift", kind: "message", T: RTPDrift },
805
+ { no: 45, name: "ntp_report_drift", kind: "message", T: RTPDrift },
806
+ { no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift },
807
+ { no: 47, name: "received_report_drift", kind: "message", T: RTPDrift },
808
+ ],
809
+ );
810
+
811
+ /**
812
+ * @generated from message livekit.RTCPSenderReportState
813
+ */
814
+ export const RTCPSenderReportState = /*@__PURE__*/ proto3.makeMessageType(
815
+ "livekit.RTCPSenderReportState",
816
+ () => [
817
+ { no: 1, name: "rtp_timestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
818
+ { no: 2, name: "rtp_timestamp_ext", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
819
+ { no: 3, name: "ntp_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
820
+ { no: 4, name: "at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
821
+ { no: 5, name: "at_adjusted", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
822
+ { no: 6, name: "packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
823
+ { no: 7, name: "octets", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
824
+ ],
825
+ );
826
+
827
+ /**
828
+ * @generated from message livekit.RTPForwarderState
829
+ */
830
+ export const RTPForwarderState = /*@__PURE__*/ proto3.makeMessageType(
831
+ "livekit.RTPForwarderState",
832
+ () => [
833
+ { no: 1, name: "started", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
834
+ { no: 2, name: "reference_layer_spatial", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
835
+ { no: 3, name: "pre_start_time", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
836
+ { no: 4, name: "ext_first_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
837
+ { no: 5, name: "dummy_start_timestamp_offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
838
+ { no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState },
839
+ { no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" },
840
+ { no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true },
841
+ ],
842
+ );
843
+
844
+ /**
845
+ * @generated from message livekit.RTPMungerState
846
+ */
847
+ export const RTPMungerState = /*@__PURE__*/ proto3.makeMessageType(
848
+ "livekit.RTPMungerState",
849
+ () => [
850
+ { no: 1, name: "ext_last_sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
851
+ { no: 2, name: "ext_second_last_sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
852
+ { no: 3, name: "ext_last_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
853
+ { no: 4, name: "ext_second_last_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
854
+ { no: 5, name: "last_marker", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
855
+ { no: 6, name: "second_last_marker", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
856
+ ],
857
+ );
858
+
859
+ /**
860
+ * @generated from message livekit.VP8MungerState
861
+ */
862
+ export const VP8MungerState = /*@__PURE__*/ proto3.makeMessageType(
863
+ "livekit.VP8MungerState",
864
+ () => [
865
+ { no: 1, name: "ext_last_picture_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
866
+ { no: 2, name: "picture_id_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
867
+ { no: 3, name: "last_tl0_pic_idx", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
868
+ { no: 4, name: "tl0_pic_idx_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
869
+ { no: 5, name: "tid_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
870
+ { no: 6, name: "last_key_idx", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
871
+ { no: 7, name: "key_idx_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
872
+ ],
873
+ );
874
+
875
+ /**
876
+ * @generated from message livekit.TimedVersion
877
+ */
878
+ export const TimedVersion = /*@__PURE__*/ proto3.makeMessageType(
879
+ "livekit.TimedVersion",
880
+ () => [
881
+ { no: 1, name: "unix_micro", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
882
+ { no: 2, name: "ticks", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
883
+ ],
884
+ );
885
+
886
+ /**
887
+ * @generated from message livekit.DataStream
888
+ */
889
+ export const DataStream = /*@__PURE__*/ proto3.makeMessageType(
890
+ "livekit.DataStream",
891
+ [],
892
+ );
893
+
894
+ /**
895
+ * enum for operation types (specific to TextHeader)
896
+ *
897
+ * @generated from enum livekit.DataStream.OperationType
898
+ */
899
+ export const DataStream_OperationType = /*@__PURE__*/ proto3.makeEnum(
900
+ "livekit.DataStream.OperationType",
901
+ [
902
+ {no: 0, name: "CREATE"},
903
+ {no: 1, name: "UPDATE"},
904
+ {no: 2, name: "DELETE"},
905
+ {no: 3, name: "REACTION"},
906
+ ],
907
+ );
908
+
909
+ /**
910
+ * header properties specific to text streams
911
+ *
912
+ * @generated from message livekit.DataStream.TextHeader
913
+ */
914
+ export const DataStream_TextHeader = /*@__PURE__*/ proto3.makeMessageType(
915
+ "livekit.DataStream.TextHeader",
916
+ () => [
917
+ { no: 1, name: "operation_type", kind: "enum", T: proto3.getEnumType(DataStream_OperationType) },
918
+ { no: 2, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
919
+ { no: 3, name: "reply_to_stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
920
+ { no: 4, name: "attached_stream_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
921
+ { no: 5, name: "generated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
922
+ ],
923
+ {localName: "DataStream_TextHeader"},
924
+ );
925
+
926
+ /**
927
+ * header properties specific to byte or file streams
928
+ *
929
+ * @generated from message livekit.DataStream.ByteHeader
930
+ */
931
+ export const DataStream_ByteHeader = /*@__PURE__*/ proto3.makeMessageType(
932
+ "livekit.DataStream.ByteHeader",
933
+ () => [
934
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
935
+ ],
936
+ {localName: "DataStream_ByteHeader"},
937
+ );
938
+
939
+ /**
940
+ * main DataStream.Header that contains a oneof for specific headers
941
+ *
942
+ * @generated from message livekit.DataStream.Header
943
+ */
944
+ export const DataStream_Header = /*@__PURE__*/ proto3.makeMessageType(
945
+ "livekit.DataStream.Header",
946
+ () => [
947
+ { no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
948
+ { no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
949
+ { no: 3, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */ },
950
+ { no: 4, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
951
+ { no: 5, name: "total_length", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
952
+ { no: 7, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
953
+ { no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
954
+ { no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" },
955
+ { no: 10, name: "byte_header", kind: "message", T: DataStream_ByteHeader, oneof: "content_header" },
956
+ ],
957
+ {localName: "DataStream_Header"},
958
+ );
959
+
960
+ /**
961
+ * @generated from message livekit.DataStream.Chunk
962
+ */
963
+ export const DataStream_Chunk = /*@__PURE__*/ proto3.makeMessageType(
964
+ "livekit.DataStream.Chunk",
965
+ () => [
966
+ { no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
967
+ { no: 2, name: "chunk_index", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
968
+ { no: 3, name: "content", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
969
+ { no: 4, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
970
+ { no: 5, name: "iv", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
971
+ ],
972
+ {localName: "DataStream_Chunk"},
973
+ );
974
+
975
+ /**
976
+ * @generated from message livekit.DataStream.Trailer
977
+ */
978
+ export const DataStream_Trailer = /*@__PURE__*/ proto3.makeMessageType(
979
+ "livekit.DataStream.Trailer",
980
+ () => [
981
+ { no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
982
+ { no: 2, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
983
+ { no: 3, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
984
+ ],
985
+ {localName: "DataStream_Trailer"},
986
+ );
987
+
988
+ /**
989
+ * @generated from message livekit.WebhookConfig
990
+ */
991
+ export const WebhookConfig = /*@__PURE__*/ proto3.makeMessageType(
992
+ "livekit.WebhookConfig",
993
+ () => [
994
+ { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
995
+ { no: 2, name: "signing_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
996
+ ],
997
+ );
998
+