@livekit/protocol 1.12.0 → 1.14.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.
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.7.2 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_ingress.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -189,12 +189,20 @@ export declare class CreateIngressRequest extends Message<CreateIngressRequest>
189
189
  participantMetadata: string;
190
190
 
191
191
  /**
192
- * whether to pass through the incoming media without transcoding, only compatible with some input types
192
+ * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.
193
193
  *
194
- * @generated from field: bool bypass_transcoding = 8;
194
+ * @generated from field: bool bypass_transcoding = 8 [deprecated = true];
195
+ * @deprecated
195
196
  */
196
197
  bypassTranscoding: boolean;
197
198
 
199
+ /**
200
+ * Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding.
201
+ *
202
+ * @generated from field: optional bool enable_transcoding = 11;
203
+ */
204
+ enableTranscoding?: boolean;
205
+
198
206
  /**
199
207
  * @generated from field: livekit.IngressAudioOptions audio = 6;
200
208
  */
@@ -427,10 +435,16 @@ export declare class IngressInfo extends Message<IngressInfo> {
427
435
  inputType: IngressInput;
428
436
 
429
437
  /**
430
- * @generated from field: bool bypass_transcoding = 13;
438
+ * @generated from field: bool bypass_transcoding = 13 [deprecated = true];
439
+ * @deprecated
431
440
  */
432
441
  bypassTranscoding: boolean;
433
442
 
443
+ /**
444
+ * @generated from field: optional bool enable_transcoding = 15;
445
+ */
446
+ enableTranscoding?: boolean;
447
+
434
448
  /**
435
449
  * @generated from field: livekit.IngressAudioOptions audio = 6;
436
450
  */
@@ -531,6 +545,11 @@ export declare class IngressState extends Message<IngressState> {
531
545
  */
532
546
  endedAt: bigint;
533
547
 
548
+ /**
549
+ * @generated from field: int64 updated_at = 10;
550
+ */
551
+ updatedAt: bigint;
552
+
534
553
  /**
535
554
  * @generated from field: string resource_id = 9;
536
555
  */
@@ -704,10 +723,16 @@ export declare class UpdateIngressRequest extends Message<UpdateIngressRequest>
704
723
  participantMetadata: string;
705
724
 
706
725
  /**
707
- * @generated from field: optional bool bypass_transcoding = 8;
726
+ * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true];
727
+ * @deprecated
708
728
  */
709
729
  bypassTranscoding?: boolean;
710
730
 
731
+ /**
732
+ * @generated from field: optional bool enable_transcoding = 10;
733
+ */
734
+ enableTranscoding?: boolean;
735
+
711
736
  /**
712
737
  * @generated from field: livekit.IngressAudioOptions audio = 6;
713
738
  */
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.7.2 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_ingress.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -23,7 +23,7 @@ import { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./li
23
23
  /**
24
24
  * @generated from enum livekit.IngressInput
25
25
  */
26
- export const IngressInput = proto3.makeEnum(
26
+ export const IngressInput = /*@__PURE__*/ proto3.makeEnum(
27
27
  "livekit.IngressInput",
28
28
  [
29
29
  {no: 0, name: "RTMP_INPUT"},
@@ -35,7 +35,7 @@ export const IngressInput = proto3.makeEnum(
35
35
  /**
36
36
  * @generated from enum livekit.IngressAudioEncodingPreset
37
37
  */
38
- export const IngressAudioEncodingPreset = proto3.makeEnum(
38
+ export const IngressAudioEncodingPreset = /*@__PURE__*/ proto3.makeEnum(
39
39
  "livekit.IngressAudioEncodingPreset",
40
40
  [
41
41
  {no: 0, name: "OPUS_STEREO_96KBPS"},
@@ -46,7 +46,7 @@ export const IngressAudioEncodingPreset = proto3.makeEnum(
46
46
  /**
47
47
  * @generated from enum livekit.IngressVideoEncodingPreset
48
48
  */
49
- export const IngressVideoEncodingPreset = proto3.makeEnum(
49
+ export const IngressVideoEncodingPreset = /*@__PURE__*/ proto3.makeEnum(
50
50
  "livekit.IngressVideoEncodingPreset",
51
51
  [
52
52
  {no: 0, name: "H264_720P_30FPS_3_LAYERS"},
@@ -65,7 +65,7 @@ export const IngressVideoEncodingPreset = proto3.makeEnum(
65
65
  /**
66
66
  * @generated from message livekit.CreateIngressRequest
67
67
  */
68
- export const CreateIngressRequest = proto3.makeMessageType(
68
+ export const CreateIngressRequest = /*@__PURE__*/ proto3.makeMessageType(
69
69
  "livekit.CreateIngressRequest",
70
70
  () => [
71
71
  { no: 1, name: "input_type", kind: "enum", T: proto3.getEnumType(IngressInput) },
@@ -76,6 +76,7 @@ export const CreateIngressRequest = proto3.makeMessageType(
76
76
  { no: 5, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
77
77
  { no: 10, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
78
78
  { no: 8, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
79
+ { no: 11, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
79
80
  { no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
80
81
  { no: 7, name: "video", kind: "message", T: IngressVideoOptions },
81
82
  ],
@@ -84,7 +85,7 @@ export const CreateIngressRequest = proto3.makeMessageType(
84
85
  /**
85
86
  * @generated from message livekit.IngressAudioOptions
86
87
  */
87
- export const IngressAudioOptions = proto3.makeMessageType(
88
+ export const IngressAudioOptions = /*@__PURE__*/ proto3.makeMessageType(
88
89
  "livekit.IngressAudioOptions",
89
90
  () => [
90
91
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -97,7 +98,7 @@ export const IngressAudioOptions = proto3.makeMessageType(
97
98
  /**
98
99
  * @generated from message livekit.IngressVideoOptions
99
100
  */
100
- export const IngressVideoOptions = proto3.makeMessageType(
101
+ export const IngressVideoOptions = /*@__PURE__*/ proto3.makeMessageType(
101
102
  "livekit.IngressVideoOptions",
102
103
  () => [
103
104
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -110,7 +111,7 @@ export const IngressVideoOptions = proto3.makeMessageType(
110
111
  /**
111
112
  * @generated from message livekit.IngressAudioEncodingOptions
112
113
  */
113
- export const IngressAudioEncodingOptions = proto3.makeMessageType(
114
+ export const IngressAudioEncodingOptions = /*@__PURE__*/ proto3.makeMessageType(
114
115
  "livekit.IngressAudioEncodingOptions",
115
116
  () => [
116
117
  { no: 1, name: "audio_codec", kind: "enum", T: proto3.getEnumType(AudioCodec) },
@@ -123,7 +124,7 @@ export const IngressAudioEncodingOptions = proto3.makeMessageType(
123
124
  /**
124
125
  * @generated from message livekit.IngressVideoEncodingOptions
125
126
  */
126
- export const IngressVideoEncodingOptions = proto3.makeMessageType(
127
+ export const IngressVideoEncodingOptions = /*@__PURE__*/ proto3.makeMessageType(
127
128
  "livekit.IngressVideoEncodingOptions",
128
129
  () => [
129
130
  { no: 1, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) },
@@ -135,7 +136,7 @@ export const IngressVideoEncodingOptions = proto3.makeMessageType(
135
136
  /**
136
137
  * @generated from message livekit.IngressInfo
137
138
  */
138
- export const IngressInfo = proto3.makeMessageType(
139
+ export const IngressInfo = /*@__PURE__*/ proto3.makeMessageType(
139
140
  "livekit.IngressInfo",
140
141
  () => [
141
142
  { no: 1, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -144,6 +145,7 @@ export const IngressInfo = proto3.makeMessageType(
144
145
  { no: 4, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
145
146
  { no: 5, name: "input_type", kind: "enum", T: proto3.getEnumType(IngressInput) },
146
147
  { no: 13, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
148
+ { no: 15, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
147
149
  { no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
148
150
  { no: 7, name: "video", kind: "message", T: IngressVideoOptions },
149
151
  { no: 8, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -158,7 +160,7 @@ export const IngressInfo = proto3.makeMessageType(
158
160
  /**
159
161
  * @generated from message livekit.IngressState
160
162
  */
161
- export const IngressState = proto3.makeMessageType(
163
+ export const IngressState = /*@__PURE__*/ proto3.makeMessageType(
162
164
  "livekit.IngressState",
163
165
  () => [
164
166
  { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(IngressState_Status) },
@@ -168,6 +170,7 @@ export const IngressState = proto3.makeMessageType(
168
170
  { no: 5, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
169
171
  { no: 7, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
170
172
  { no: 8, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
173
+ { no: 10, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
171
174
  { no: 9, name: "resource_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
172
175
  { no: 6, name: "tracks", kind: "message", T: TrackInfo, repeated: true },
173
176
  ],
@@ -176,7 +179,7 @@ export const IngressState = proto3.makeMessageType(
176
179
  /**
177
180
  * @generated from enum livekit.IngressState.Status
178
181
  */
179
- export const IngressState_Status = proto3.makeEnum(
182
+ export const IngressState_Status = /*@__PURE__*/ proto3.makeEnum(
180
183
  "livekit.IngressState.Status",
181
184
  [
182
185
  {no: 0, name: "ENDPOINT_INACTIVE"},
@@ -190,7 +193,7 @@ export const IngressState_Status = proto3.makeEnum(
190
193
  /**
191
194
  * @generated from message livekit.InputVideoState
192
195
  */
193
- export const InputVideoState = proto3.makeMessageType(
196
+ export const InputVideoState = /*@__PURE__*/ proto3.makeMessageType(
194
197
  "livekit.InputVideoState",
195
198
  () => [
196
199
  { no: 1, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -204,7 +207,7 @@ export const InputVideoState = proto3.makeMessageType(
204
207
  /**
205
208
  * @generated from message livekit.InputAudioState
206
209
  */
207
- export const InputAudioState = proto3.makeMessageType(
210
+ export const InputAudioState = /*@__PURE__*/ proto3.makeMessageType(
208
211
  "livekit.InputAudioState",
209
212
  () => [
210
213
  { no: 1, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -217,7 +220,7 @@ export const InputAudioState = proto3.makeMessageType(
217
220
  /**
218
221
  * @generated from message livekit.UpdateIngressRequest
219
222
  */
220
- export const UpdateIngressRequest = proto3.makeMessageType(
223
+ export const UpdateIngressRequest = /*@__PURE__*/ proto3.makeMessageType(
221
224
  "livekit.UpdateIngressRequest",
222
225
  () => [
223
226
  { no: 1, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -227,6 +230,7 @@ export const UpdateIngressRequest = proto3.makeMessageType(
227
230
  { no: 5, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
228
231
  { no: 9, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
229
232
  { no: 8, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
233
+ { no: 10, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
230
234
  { no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
231
235
  { no: 7, name: "video", kind: "message", T: IngressVideoOptions },
232
236
  ],
@@ -235,7 +239,7 @@ export const UpdateIngressRequest = proto3.makeMessageType(
235
239
  /**
236
240
  * @generated from message livekit.ListIngressRequest
237
241
  */
238
- export const ListIngressRequest = proto3.makeMessageType(
242
+ export const ListIngressRequest = /*@__PURE__*/ proto3.makeMessageType(
239
243
  "livekit.ListIngressRequest",
240
244
  () => [
241
245
  { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -246,7 +250,7 @@ export const ListIngressRequest = proto3.makeMessageType(
246
250
  /**
247
251
  * @generated from message livekit.ListIngressResponse
248
252
  */
249
- export const ListIngressResponse = proto3.makeMessageType(
253
+ export const ListIngressResponse = /*@__PURE__*/ proto3.makeMessageType(
250
254
  "livekit.ListIngressResponse",
251
255
  () => [
252
256
  { no: 1, name: "items", kind: "message", T: IngressInfo, repeated: true },
@@ -256,7 +260,7 @@ export const ListIngressResponse = proto3.makeMessageType(
256
260
  /**
257
261
  * @generated from message livekit.DeleteIngressRequest
258
262
  */
259
- export const DeleteIngressRequest = proto3.makeMessageType(
263
+ export const DeleteIngressRequest = /*@__PURE__*/ proto3.makeMessageType(
260
264
  "livekit.DeleteIngressRequest",
261
265
  () => [
262
266
  { no: 1, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.7.2 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_models.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -911,6 +911,11 @@ export declare class TrackInfo extends Message<TrackInfo> {
911
911
  */
912
912
  version?: TimedVersion;
913
913
 
914
+ /**
915
+ * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19;
916
+ */
917
+ audioFeatures: AudioTrackFeature[];
918
+
914
919
  constructor(data?: PartialMessage<TrackInfo>);
915
920
 
916
921
  static readonly runtime: typeof proto3;
@@ -1024,6 +1029,12 @@ export declare class DataPacket extends Message<DataPacket> {
1024
1029
  */
1025
1030
  value: SipDTMF;
1026
1031
  case: "sipDtmf";
1032
+ } | {
1033
+ /**
1034
+ * @generated from field: livekit.Transcription transcription = 7;
1035
+ */
1036
+ value: Transcription;
1037
+ case: "transcription";
1027
1038
  } | { case: undefined; value?: undefined };
1028
1039
 
1029
1040
  constructor(data?: PartialMessage<DataPacket>);
@@ -1166,6 +1177,25 @@ export declare class UserPacket extends Message<UserPacket> {
1166
1177
  */
1167
1178
  topic?: string;
1168
1179
 
1180
+ /**
1181
+ * Unique ID to indentify the message
1182
+ *
1183
+ * @generated from field: optional string id = 8;
1184
+ */
1185
+ id?: string;
1186
+
1187
+ /**
1188
+ * start and end time allow relating the message to specific media time
1189
+ *
1190
+ * @generated from field: optional uint64 start_time = 9;
1191
+ */
1192
+ startTime?: bigint;
1193
+
1194
+ /**
1195
+ * @generated from field: optional uint64 end_time = 10;
1196
+ */
1197
+ endTime?: bigint;
1198
+
1169
1199
  constructor(data?: PartialMessage<UserPacket>);
1170
1200
 
1171
1201
  static readonly runtime: typeof proto3;
@@ -1210,6 +1240,89 @@ export declare class SipDTMF extends Message<SipDTMF> {
1210
1240
  static equals(a: SipDTMF | PlainMessage<SipDTMF> | undefined, b: SipDTMF | PlainMessage<SipDTMF> | undefined): boolean;
1211
1241
  }
1212
1242
 
1243
+ /**
1244
+ * @generated from message livekit.Transcription
1245
+ */
1246
+ export declare class Transcription extends Message<Transcription> {
1247
+ /**
1248
+ * @generated from field: string participant_identity = 2;
1249
+ */
1250
+ participantIdentity: string;
1251
+
1252
+ /**
1253
+ * @generated from field: string track_id = 3;
1254
+ */
1255
+ trackId: string;
1256
+
1257
+ /**
1258
+ * @generated from field: repeated livekit.TranscriptionSegment segments = 4;
1259
+ */
1260
+ segments: TranscriptionSegment[];
1261
+
1262
+ /**
1263
+ * @generated from field: string language = 5;
1264
+ */
1265
+ language: string;
1266
+
1267
+ constructor(data?: PartialMessage<Transcription>);
1268
+
1269
+ static readonly runtime: typeof proto3;
1270
+ static readonly typeName = "livekit.Transcription";
1271
+ static readonly fields: FieldList;
1272
+
1273
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Transcription;
1274
+
1275
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Transcription;
1276
+
1277
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Transcription;
1278
+
1279
+ static equals(a: Transcription | PlainMessage<Transcription> | undefined, b: Transcription | PlainMessage<Transcription> | undefined): boolean;
1280
+ }
1281
+
1282
+ /**
1283
+ * @generated from message livekit.TranscriptionSegment
1284
+ */
1285
+ export declare class TranscriptionSegment extends Message<TranscriptionSegment> {
1286
+ /**
1287
+ * @generated from field: string id = 1;
1288
+ */
1289
+ id: string;
1290
+
1291
+ /**
1292
+ * @generated from field: string text = 2;
1293
+ */
1294
+ text: string;
1295
+
1296
+ /**
1297
+ * @generated from field: uint64 start_time = 3;
1298
+ */
1299
+ startTime: bigint;
1300
+
1301
+ /**
1302
+ * @generated from field: uint64 end_time = 4;
1303
+ */
1304
+ endTime: bigint;
1305
+
1306
+ /**
1307
+ * @generated from field: bool final = 5;
1308
+ */
1309
+ final: boolean;
1310
+
1311
+ constructor(data?: PartialMessage<TranscriptionSegment>);
1312
+
1313
+ static readonly runtime: typeof proto3;
1314
+ static readonly typeName = "livekit.TranscriptionSegment";
1315
+ static readonly fields: FieldList;
1316
+
1317
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TranscriptionSegment;
1318
+
1319
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TranscriptionSegment;
1320
+
1321
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TranscriptionSegment;
1322
+
1323
+ static equals(a: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined, b: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined): boolean;
1324
+ }
1325
+
1213
1326
  /**
1214
1327
  * @generated from message livekit.ParticipantTracks
1215
1328
  */
@@ -1279,6 +1392,11 @@ export declare class ServerInfo extends Message<ServerInfo> {
1279
1392
  */
1280
1393
  debugInfo: string;
1281
1394
 
1395
+ /**
1396
+ * @generated from field: int32 agent_protocol = 7;
1397
+ */
1398
+ agentProtocol: number;
1399
+
1282
1400
  constructor(data?: PartialMessage<ServerInfo>);
1283
1401
 
1284
1402
  static readonly runtime: typeof proto3;