@livekit/protocol 1.27.1 → 1.28.1

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 (111) hide show
  1. package/dist/gen/livekit_agent_dispatch_pb.cjs +385 -0
  2. package/dist/gen/livekit_agent_dispatch_pb.cjs.map +1 -0
  3. package/dist/gen/livekit_agent_dispatch_pb.d.ts +174 -0
  4. package/dist/gen/livekit_agent_dispatch_pb.d.ts.map +1 -0
  5. package/dist/gen/livekit_agent_dispatch_pb.js +356 -0
  6. package/dist/gen/livekit_agent_dispatch_pb.js.map +1 -0
  7. package/dist/gen/livekit_agent_pb.cjs +881 -0
  8. package/dist/gen/livekit_agent_pb.cjs.map +1 -0
  9. package/dist/gen/livekit_agent_pb.d.ts +575 -0
  10. package/dist/gen/livekit_agent_pb.d.ts.map +1 -0
  11. package/dist/gen/livekit_agent_pb.js +840 -0
  12. package/dist/gen/livekit_agent_pb.js.map +1 -0
  13. package/dist/gen/livekit_analytics_pb.cjs +1087 -0
  14. package/dist/gen/livekit_analytics_pb.cjs.map +1 -0
  15. package/dist/gen/livekit_analytics_pb.d.ts +679 -0
  16. package/dist/gen/livekit_analytics_pb.d.ts.map +1 -0
  17. package/dist/gen/livekit_analytics_pb.js +1053 -0
  18. package/dist/gen/livekit_analytics_pb.js.map +1 -0
  19. package/dist/gen/livekit_egress_pb.cjs +2476 -0
  20. package/dist/gen/livekit_egress_pb.cjs.map +1 -0
  21. package/dist/gen/livekit_egress_pb.d.ts +1720 -0
  22. package/dist/gen/livekit_egress_pb.d.ts.map +1 -0
  23. package/dist/gen/livekit_egress_pb.js +2417 -0
  24. package/dist/gen/livekit_egress_pb.js.map +1 -0
  25. package/dist/gen/livekit_ingress_pb.cjs +1050 -0
  26. package/dist/gen/livekit_ingress_pb.cjs.map +1 -0
  27. package/dist/gen/livekit_ingress_pb.d.ts +660 -0
  28. package/dist/gen/livekit_ingress_pb.d.ts.map +1 -0
  29. package/dist/gen/livekit_ingress_pb.js +1011 -0
  30. package/dist/gen/livekit_ingress_pb.js.map +1 -0
  31. package/dist/gen/livekit_internal_pb.cjs +998 -0
  32. package/dist/gen/livekit_internal_pb.cjs.map +1 -0
  33. package/dist/gen/livekit_internal_pb.d.ts +481 -0
  34. package/dist/gen/livekit_internal_pb.d.ts.map +1 -0
  35. package/dist/gen/livekit_internal_pb.js +968 -0
  36. package/dist/gen/livekit_internal_pb.js.map +1 -0
  37. package/dist/gen/livekit_metrics_pb.cjs +371 -0
  38. package/dist/gen/livekit_metrics_pb.cjs.map +1 -0
  39. package/dist/gen/livekit_metrics_pb.d.ts +304 -0
  40. package/dist/gen/livekit_metrics_pb.d.ts.map +1 -0
  41. package/dist/gen/livekit_metrics_pb.js +344 -0
  42. package/dist/gen/livekit_metrics_pb.js.map +1 -0
  43. package/dist/gen/livekit_models_pb.cjs +3323 -0
  44. package/dist/gen/livekit_models_pb.cjs.map +1 -0
  45. package/dist/gen/livekit_models_pb.d.ts +2024 -0
  46. package/dist/gen/livekit_models_pb.d.ts.map +1 -0
  47. package/dist/gen/livekit_models_pb.js +3249 -0
  48. package/dist/gen/livekit_models_pb.js.map +1 -0
  49. package/dist/gen/livekit_room_pb.cjs +1080 -0
  50. package/dist/gen/livekit_room_pb.cjs.map +1 -0
  51. package/dist/gen/livekit_room_pb.d.ts +580 -0
  52. package/dist/gen/livekit_room_pb.d.ts.map +1 -0
  53. package/dist/gen/livekit_room_pb.js +1038 -0
  54. package/dist/gen/livekit_room_pb.js.map +1 -0
  55. package/dist/gen/livekit_rtc_pb.cjs +2261 -0
  56. package/dist/gen/livekit_rtc_pb.cjs.map +1 -0
  57. package/dist/gen/livekit_rtc_pb.d.ts +1602 -0
  58. package/dist/gen/livekit_rtc_pb.d.ts.map +1 -0
  59. package/dist/gen/livekit_rtc_pb.js +2192 -0
  60. package/dist/gen/livekit_rtc_pb.js.map +1 -0
  61. package/dist/gen/livekit_sip_pb.cjs +2118 -0
  62. package/dist/gen/livekit_sip_pb.cjs.map +1 -0
  63. package/dist/gen/livekit_sip_pb.d.ts +1226 -0
  64. package/dist/gen/livekit_sip_pb.d.ts.map +1 -0
  65. package/dist/gen/livekit_sip_pb.js +2061 -0
  66. package/dist/gen/livekit_sip_pb.js.map +1 -0
  67. package/dist/gen/livekit_webhook_pb.cjs +111 -0
  68. package/dist/gen/livekit_webhook_pb.cjs.map +1 -0
  69. package/dist/gen/livekit_webhook_pb.d.ts +71 -0
  70. package/dist/gen/livekit_webhook_pb.d.ts.map +1 -0
  71. package/dist/gen/livekit_webhook_pb.js +88 -0
  72. package/dist/gen/livekit_webhook_pb.js.map +1 -0
  73. package/dist/gen/version.cjs +28 -0
  74. package/dist/gen/version.cjs.map +1 -0
  75. package/dist/gen/version.d.ts +2 -0
  76. package/dist/gen/version.d.ts.map +1 -0
  77. package/dist/gen/version.js +5 -0
  78. package/dist/gen/version.js.map +1 -0
  79. package/dist/index.cjs +51 -0
  80. package/dist/index.cjs.map +1 -0
  81. package/{src → dist}/index.d.ts +1 -0
  82. package/dist/index.d.ts.map +1 -0
  83. package/{src → dist}/index.js +5 -2
  84. package/dist/index.js.map +1 -0
  85. package/package.json +18 -12
  86. package/src/gen/livekit_agent_dispatch_pb.d.ts +0 -253
  87. package/src/gen/livekit_agent_dispatch_pb.js +0 -103
  88. package/src/gen/livekit_agent_pb.d.ts +0 -741
  89. package/src/gen/livekit_agent_pb.js +0 -266
  90. package/src/gen/livekit_analytics_pb.d.ts +0 -889
  91. package/src/gen/livekit_analytics_pb.js +0 -264
  92. package/src/gen/livekit_egress_pb.d.ts +0 -2056
  93. package/src/gen/livekit_egress_pb.js +0 -594
  94. package/src/gen/livekit_ingress_pb.d.ts +0 -843
  95. package/src/gen/livekit_ingress_pb.js +0 -269
  96. package/src/gen/livekit_internal_pb.d.ts +0 -622
  97. package/src/gen/livekit_internal_pb.js +0 -191
  98. package/src/gen/livekit_metrics_pb.d.ts +0 -355
  99. package/src/gen/livekit_metrics_pb.js +0 -94
  100. package/src/gen/livekit_models_pb.d.ts +0 -2539
  101. package/src/gen/livekit_models_pb.js +0 -819
  102. package/src/gen/livekit_room_pb.d.ts +0 -774
  103. package/src/gen/livekit_room_pb.js +0 -259
  104. package/src/gen/livekit_rtc_pb.d.ts +0 -2001
  105. package/src/gen/livekit_rtc_pb.js +0 -634
  106. package/src/gen/livekit_sip_pb.d.ts +0 -1508
  107. package/src/gen/livekit_sip_pb.js +0 -468
  108. package/src/gen/livekit_webhook_pb.d.ts +0 -105
  109. package/src/gen/livekit_webhook_pb.js +0 -42
  110. package/src/gen/version.d.ts +0 -1
  111. package/src/gen/version.js +0 -2
@@ -1,594 +0,0 @@
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.0 with parameter "target=js+dts"
16
- // @generated from file livekit_egress.proto (package livekit, syntax proto3)
17
- /* eslint-disable */
18
- // @ts-nocheck
19
-
20
- import { proto3 } from "@bufbuild/protobuf";
21
- import { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js";
22
-
23
- /**
24
- * @generated from enum livekit.EncodedFileType
25
- */
26
- export const EncodedFileType = /*@__PURE__*/ proto3.makeEnum(
27
- "livekit.EncodedFileType",
28
- [
29
- {no: 0, name: "DEFAULT_FILETYPE"},
30
- {no: 1, name: "MP4"},
31
- {no: 2, name: "OGG"},
32
- ],
33
- );
34
-
35
- /**
36
- * @generated from enum livekit.SegmentedFileProtocol
37
- */
38
- export const SegmentedFileProtocol = /*@__PURE__*/ proto3.makeEnum(
39
- "livekit.SegmentedFileProtocol",
40
- [
41
- {no: 0, name: "DEFAULT_SEGMENTED_FILE_PROTOCOL"},
42
- {no: 1, name: "HLS_PROTOCOL"},
43
- ],
44
- );
45
-
46
- /**
47
- * @generated from enum livekit.SegmentedFileSuffix
48
- */
49
- export const SegmentedFileSuffix = /*@__PURE__*/ proto3.makeEnum(
50
- "livekit.SegmentedFileSuffix",
51
- [
52
- {no: 0, name: "INDEX"},
53
- {no: 1, name: "TIMESTAMP"},
54
- ],
55
- );
56
-
57
- /**
58
- * @generated from enum livekit.ImageFileSuffix
59
- */
60
- export const ImageFileSuffix = /*@__PURE__*/ proto3.makeEnum(
61
- "livekit.ImageFileSuffix",
62
- [
63
- {no: 0, name: "IMAGE_SUFFIX_INDEX"},
64
- {no: 1, name: "IMAGE_SUFFIX_TIMESTAMP"},
65
- ],
66
- );
67
-
68
- /**
69
- * @generated from enum livekit.StreamProtocol
70
- */
71
- export const StreamProtocol = /*@__PURE__*/ proto3.makeEnum(
72
- "livekit.StreamProtocol",
73
- [
74
- {no: 0, name: "DEFAULT_PROTOCOL"},
75
- {no: 1, name: "RTMP"},
76
- {no: 2, name: "SRT"},
77
- ],
78
- );
79
-
80
- /**
81
- * @generated from enum livekit.EncodingOptionsPreset
82
- */
83
- export const EncodingOptionsPreset = /*@__PURE__*/ proto3.makeEnum(
84
- "livekit.EncodingOptionsPreset",
85
- [
86
- {no: 0, name: "H264_720P_30"},
87
- {no: 1, name: "H264_720P_60"},
88
- {no: 2, name: "H264_1080P_30"},
89
- {no: 3, name: "H264_1080P_60"},
90
- {no: 4, name: "PORTRAIT_H264_720P_30"},
91
- {no: 5, name: "PORTRAIT_H264_720P_60"},
92
- {no: 6, name: "PORTRAIT_H264_1080P_30"},
93
- {no: 7, name: "PORTRAIT_H264_1080P_60"},
94
- ],
95
- );
96
-
97
- /**
98
- * @generated from enum livekit.EgressStatus
99
- */
100
- export const EgressStatus = /*@__PURE__*/ proto3.makeEnum(
101
- "livekit.EgressStatus",
102
- [
103
- {no: 0, name: "EGRESS_STARTING"},
104
- {no: 1, name: "EGRESS_ACTIVE"},
105
- {no: 2, name: "EGRESS_ENDING"},
106
- {no: 3, name: "EGRESS_COMPLETE"},
107
- {no: 4, name: "EGRESS_FAILED"},
108
- {no: 5, name: "EGRESS_ABORTED"},
109
- {no: 6, name: "EGRESS_LIMIT_REACHED"},
110
- ],
111
- );
112
-
113
- /**
114
- * composite using a web browser
115
- *
116
- * @generated from message livekit.RoomCompositeEgressRequest
117
- */
118
- export const RoomCompositeEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
119
- "livekit.RoomCompositeEgressRequest",
120
- () => [
121
- { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
122
- { no: 2, name: "layout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
123
- { no: 3, name: "audio_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
124
- { no: 4, name: "video_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
125
- { no: 5, name: "custom_base_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
126
- { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
127
- { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
128
- { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
129
- { no: 8, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
130
- { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
131
- { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
132
- { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
133
- { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
134
- { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
135
- ],
136
- );
137
-
138
- /**
139
- * record any website
140
- *
141
- * @generated from message livekit.WebEgressRequest
142
- */
143
- export const WebEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
144
- "livekit.WebEgressRequest",
145
- () => [
146
- { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
147
- { no: 2, name: "audio_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
148
- { no: 3, name: "video_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
149
- { no: 12, name: "await_start_signal", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
150
- { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
151
- { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
152
- { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
153
- { no: 7, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
154
- { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
155
- { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
156
- { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
157
- { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
158
- { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
159
- ],
160
- );
161
-
162
- /**
163
- * record audio and video from a single participant
164
- *
165
- * @generated from message livekit.ParticipantEgressRequest
166
- */
167
- export const ParticipantEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
168
- "livekit.ParticipantEgressRequest",
169
- () => [
170
- { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
171
- { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
172
- { no: 3, name: "screen_share", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
173
- { no: 4, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
174
- { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
175
- { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
176
- { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
177
- { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
178
- { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
179
- ],
180
- );
181
-
182
- /**
183
- * containerize up to one audio and one video track
184
- *
185
- * @generated from message livekit.TrackCompositeEgressRequest
186
- */
187
- export const TrackCompositeEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
188
- "livekit.TrackCompositeEgressRequest",
189
- () => [
190
- { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
191
- { no: 2, name: "audio_track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
192
- { no: 3, name: "video_track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
193
- { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
194
- { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
195
- { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
196
- { no: 6, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
197
- { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
198
- { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
199
- { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
200
- { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
201
- { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
202
- ],
203
- );
204
-
205
- /**
206
- * record tracks individually, without transcoding
207
- *
208
- * @generated from message livekit.TrackEgressRequest
209
- */
210
- export const TrackEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
211
- "livekit.TrackEgressRequest",
212
- () => [
213
- { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
214
- { no: 2, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
215
- { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
216
- { no: 4, name: "websocket_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "output" },
217
- ],
218
- );
219
-
220
- /**
221
- * @generated from message livekit.EncodedFileOutput
222
- */
223
- export const EncodedFileOutput = /*@__PURE__*/ proto3.makeMessageType(
224
- "livekit.EncodedFileOutput",
225
- () => [
226
- { no: 1, name: "file_type", kind: "enum", T: proto3.getEnumType(EncodedFileType) },
227
- { no: 2, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ },
228
- { no: 6, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
229
- { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
230
- { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
231
- { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
232
- { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" },
233
- ],
234
- );
235
-
236
- /**
237
- * Used to generate HLS segments or other kind of segmented output
238
- *
239
- * @generated from message livekit.SegmentedFileOutput
240
- */
241
- export const SegmentedFileOutput = /*@__PURE__*/ proto3.makeMessageType(
242
- "livekit.SegmentedFileOutput",
243
- () => [
244
- { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(SegmentedFileProtocol) },
245
- { no: 2, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
246
- { no: 3, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
247
- { no: 11, name: "live_playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
248
- { no: 4, name: "segment_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
249
- { no: 10, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(SegmentedFileSuffix) },
250
- { no: 8, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
251
- { no: 5, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
252
- { no: 6, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
253
- { no: 7, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
254
- { no: 9, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" },
255
- ],
256
- );
257
-
258
- /**
259
- * @generated from message livekit.DirectFileOutput
260
- */
261
- export const DirectFileOutput = /*@__PURE__*/ proto3.makeMessageType(
262
- "livekit.DirectFileOutput",
263
- () => [
264
- { no: 1, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ },
265
- { no: 5, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
266
- { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
267
- { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
268
- { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
269
- { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" },
270
- ],
271
- );
272
-
273
- /**
274
- * @generated from message livekit.ImageOutput
275
- */
276
- export const ImageOutput = /*@__PURE__*/ proto3.makeMessageType(
277
- "livekit.ImageOutput",
278
- () => [
279
- { no: 1, name: "capture_interval", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
280
- { no: 2, name: "width", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
281
- { no: 3, name: "height", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
282
- { no: 4, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
283
- { no: 5, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(ImageFileSuffix) },
284
- { no: 6, name: "image_codec", kind: "enum", T: proto3.getEnumType(ImageCodec) },
285
- { no: 7, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
286
- { no: 8, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
287
- { no: 9, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
288
- { no: 10, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
289
- { no: 11, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" },
290
- ],
291
- );
292
-
293
- /**
294
- * @generated from message livekit.S3Upload
295
- */
296
- export const S3Upload = /*@__PURE__*/ proto3.makeMessageType(
297
- "livekit.S3Upload",
298
- () => [
299
- { no: 1, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
300
- { no: 2, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
301
- { no: 11, name: "session_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
302
- { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
303
- { no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
304
- { no: 5, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
305
- { no: 6, name: "force_path_style", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
306
- { no: 7, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
307
- { no: 8, name: "tagging", kind: "scalar", T: 9 /* ScalarType.STRING */ },
308
- { no: 9, name: "content_disposition", kind: "scalar", T: 9 /* ScalarType.STRING */ },
309
- { no: 10, name: "proxy", kind: "message", T: ProxyConfig },
310
- ],
311
- );
312
-
313
- /**
314
- * @generated from message livekit.GCPUpload
315
- */
316
- export const GCPUpload = /*@__PURE__*/ proto3.makeMessageType(
317
- "livekit.GCPUpload",
318
- () => [
319
- { no: 1, name: "credentials", kind: "scalar", T: 9 /* ScalarType.STRING */ },
320
- { no: 2, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
321
- { no: 3, name: "proxy", kind: "message", T: ProxyConfig },
322
- ],
323
- );
324
-
325
- /**
326
- * @generated from message livekit.AzureBlobUpload
327
- */
328
- export const AzureBlobUpload = /*@__PURE__*/ proto3.makeMessageType(
329
- "livekit.AzureBlobUpload",
330
- () => [
331
- { no: 1, name: "account_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
332
- { no: 2, name: "account_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
333
- { no: 3, name: "container_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
334
- ],
335
- );
336
-
337
- /**
338
- * @generated from message livekit.AliOSSUpload
339
- */
340
- export const AliOSSUpload = /*@__PURE__*/ proto3.makeMessageType(
341
- "livekit.AliOSSUpload",
342
- () => [
343
- { no: 1, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
344
- { no: 2, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
345
- { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
346
- { no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
347
- { no: 5, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
348
- ],
349
- );
350
-
351
- /**
352
- * @generated from message livekit.ProxyConfig
353
- */
354
- export const ProxyConfig = /*@__PURE__*/ proto3.makeMessageType(
355
- "livekit.ProxyConfig",
356
- () => [
357
- { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
358
- { no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
359
- { no: 3, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
360
- ],
361
- );
362
-
363
- /**
364
- * @generated from message livekit.StreamOutput
365
- */
366
- export const StreamOutput = /*@__PURE__*/ proto3.makeMessageType(
367
- "livekit.StreamOutput",
368
- () => [
369
- { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(StreamProtocol) },
370
- { no: 2, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
371
- ],
372
- );
373
-
374
- /**
375
- * @generated from message livekit.EncodingOptions
376
- */
377
- export const EncodingOptions = /*@__PURE__*/ proto3.makeMessageType(
378
- "livekit.EncodingOptions",
379
- () => [
380
- { no: 1, name: "width", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
381
- { no: 2, name: "height", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
382
- { no: 3, name: "depth", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
383
- { no: 4, name: "framerate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
384
- { no: 5, name: "audio_codec", kind: "enum", T: proto3.getEnumType(AudioCodec) },
385
- { no: 6, name: "audio_bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
386
- { no: 11, name: "audio_quality", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
387
- { no: 7, name: "audio_frequency", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
388
- { no: 8, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) },
389
- { no: 9, name: "video_bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
390
- { no: 12, name: "video_quality", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
391
- { no: 10, name: "key_frame_interval", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
392
- ],
393
- );
394
-
395
- /**
396
- * @generated from message livekit.UpdateLayoutRequest
397
- */
398
- export const UpdateLayoutRequest = /*@__PURE__*/ proto3.makeMessageType(
399
- "livekit.UpdateLayoutRequest",
400
- () => [
401
- { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
402
- { no: 2, name: "layout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
403
- ],
404
- );
405
-
406
- /**
407
- * @generated from message livekit.UpdateStreamRequest
408
- */
409
- export const UpdateStreamRequest = /*@__PURE__*/ proto3.makeMessageType(
410
- "livekit.UpdateStreamRequest",
411
- () => [
412
- { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
413
- { no: 2, name: "add_output_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
414
- { no: 3, name: "remove_output_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
415
- ],
416
- );
417
-
418
- /**
419
- * @generated from message livekit.ListEgressRequest
420
- */
421
- export const ListEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
422
- "livekit.ListEgressRequest",
423
- () => [
424
- { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
425
- { no: 2, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
426
- { no: 3, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
427
- ],
428
- );
429
-
430
- /**
431
- * @generated from message livekit.ListEgressResponse
432
- */
433
- export const ListEgressResponse = /*@__PURE__*/ proto3.makeMessageType(
434
- "livekit.ListEgressResponse",
435
- () => [
436
- { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true },
437
- ],
438
- );
439
-
440
- /**
441
- * @generated from message livekit.StopEgressRequest
442
- */
443
- export const StopEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
444
- "livekit.StopEgressRequest",
445
- () => [
446
- { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
447
- ],
448
- );
449
-
450
- /**
451
- * @generated from message livekit.EgressInfo
452
- */
453
- export const EgressInfo = /*@__PURE__*/ proto3.makeMessageType(
454
- "livekit.EgressInfo",
455
- () => [
456
- { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
457
- { no: 2, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
458
- { no: 13, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
459
- { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(EgressStatus) },
460
- { no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
461
- { no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
462
- { no: 18, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
463
- { no: 21, name: "details", kind: "scalar", T: 9 /* ScalarType.STRING */ },
464
- { no: 9, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
465
- { no: 22, name: "error_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
466
- { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" },
467
- { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" },
468
- { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" },
469
- { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" },
470
- { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" },
471
- { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" },
472
- { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" },
473
- { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" },
474
- { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true },
475
- { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true },
476
- { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true },
477
- { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true },
478
- { no: 23, name: "manifest_location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
479
- { no: 24, name: "manifest_presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
480
- ],
481
- );
482
-
483
- /**
484
- * @generated from message livekit.StreamInfoList
485
- * @deprecated
486
- */
487
- export const StreamInfoList = /*@__PURE__*/ proto3.makeMessageType(
488
- "livekit.StreamInfoList",
489
- () => [
490
- { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true },
491
- ],
492
- );
493
-
494
- /**
495
- * @generated from message livekit.StreamInfo
496
- */
497
- export const StreamInfo = /*@__PURE__*/ proto3.makeMessageType(
498
- "livekit.StreamInfo",
499
- () => [
500
- { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
501
- { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
502
- { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
503
- { no: 4, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
504
- { no: 5, name: "status", kind: "enum", T: proto3.getEnumType(StreamInfo_Status) },
505
- { no: 6, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
506
- ],
507
- );
508
-
509
- /**
510
- * @generated from enum livekit.StreamInfo.Status
511
- */
512
- export const StreamInfo_Status = /*@__PURE__*/ proto3.makeEnum(
513
- "livekit.StreamInfo.Status",
514
- [
515
- {no: 0, name: "ACTIVE"},
516
- {no: 1, name: "FINISHED"},
517
- {no: 2, name: "FAILED"},
518
- ],
519
- );
520
-
521
- /**
522
- * @generated from message livekit.FileInfo
523
- */
524
- export const FileInfo = /*@__PURE__*/ proto3.makeMessageType(
525
- "livekit.FileInfo",
526
- () => [
527
- { no: 1, name: "filename", kind: "scalar", T: 9 /* ScalarType.STRING */ },
528
- { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
529
- { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
530
- { no: 6, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
531
- { no: 4, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
532
- { no: 5, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
533
- ],
534
- );
535
-
536
- /**
537
- * @generated from message livekit.SegmentsInfo
538
- */
539
- export const SegmentsInfo = /*@__PURE__*/ proto3.makeMessageType(
540
- "livekit.SegmentsInfo",
541
- () => [
542
- { no: 1, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
543
- { no: 8, name: "live_playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
544
- { no: 2, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
545
- { no: 3, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
546
- { no: 4, name: "playlist_location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
547
- { no: 9, name: "live_playlist_location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
548
- { no: 5, name: "segment_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
549
- { no: 6, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
550
- { no: 7, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
551
- ],
552
- );
553
-
554
- /**
555
- * @generated from message livekit.ImagesInfo
556
- */
557
- export const ImagesInfo = /*@__PURE__*/ proto3.makeMessageType(
558
- "livekit.ImagesInfo",
559
- () => [
560
- { no: 4, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
561
- { no: 1, name: "image_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
562
- { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
563
- { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
564
- ],
565
- );
566
-
567
- /**
568
- * @generated from message livekit.AutoParticipantEgress
569
- */
570
- export const AutoParticipantEgress = /*@__PURE__*/ proto3.makeMessageType(
571
- "livekit.AutoParticipantEgress",
572
- () => [
573
- { no: 1, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
574
- { no: 2, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
575
- { no: 3, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
576
- { no: 4, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
577
- ],
578
- );
579
-
580
- /**
581
- * @generated from message livekit.AutoTrackEgress
582
- */
583
- export const AutoTrackEgress = /*@__PURE__*/ proto3.makeMessageType(
584
- "livekit.AutoTrackEgress",
585
- () => [
586
- { no: 1, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ },
587
- { no: 5, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
588
- { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
589
- { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
590
- { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
591
- { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" },
592
- ],
593
- );
594
-