@livekit/protocol 1.33.0 → 1.34.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.33.0",
3
+ "version": "1.34.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -34,6 +34,11 @@ export declare enum JobType {
34
34
  * @generated from enum value: JT_PUBLISHER = 1;
35
35
  */
36
36
  JT_PUBLISHER = 1,
37
+
38
+ /**
39
+ * @generated from enum value: JT_PARTICIPANT = 2;
40
+ */
41
+ JT_PARTICIPANT = 2,
37
42
  }
38
43
 
39
44
  /**
@@ -28,6 +28,7 @@ export const JobType = /*@__PURE__*/ proto3.makeEnum(
28
28
  [
29
29
  {no: 0, name: "JT_ROOM"},
30
30
  {no: 1, name: "JT_PUBLISHER"},
31
+ {no: 2, name: "JT_PARTICIPANT"},
31
32
  ],
32
33
  );
33
34
 
@@ -23,6 +23,7 @@ import type { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReaso
23
23
  import type { EgressInfo } from "./livekit_egress_pb.js";
24
24
  import type { IngressInfo } from "./livekit_ingress_pb.js";
25
25
  import type { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js";
26
+ import type { CreateRoomRequest, DeleteRoomRequest, ListParticipantsRequest, ListRoomsRequest, MuteRoomTrackRequest, RoomParticipantIdentity, SendDataRequest, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSubscriptionsRequest } from "./livekit_room_pb.js";
26
27
 
27
28
  /**
28
29
  * @generated from enum livekit.StreamType
@@ -237,6 +238,16 @@ export declare enum AnalyticsEventType {
237
238
  * @generated from enum value: REPORT = 40;
238
239
  */
239
240
  REPORT = 40,
241
+
242
+ /**
243
+ * @generated from enum value: API_CALL = 41;
244
+ */
245
+ API_CALL = 41,
246
+
247
+ /**
248
+ * @generated from enum value: WEBHOOK = 42;
249
+ */
250
+ WEBHOOK = 42,
240
251
  }
241
252
 
242
253
  /**
@@ -731,6 +742,16 @@ export declare class AnalyticsEvent extends Message<AnalyticsEvent> {
731
742
  */
732
743
  report?: ReportInfo;
733
744
 
745
+ /**
746
+ * @generated from field: livekit.APICallInfo api_call = 34;
747
+ */
748
+ apiCall?: APICallInfo;
749
+
750
+ /**
751
+ * @generated from field: livekit.WebhookInfo webhook = 35;
752
+ */
753
+ webhook?: WebhookInfo;
754
+
734
755
  constructor(data?: PartialMessage<AnalyticsEvent>);
735
756
 
736
757
  static readonly runtime: typeof proto3;
@@ -1034,3 +1055,310 @@ export declare enum FeatureUsageInfo_Feature {
1034
1055
  KRISP_BACKGROUND_VOICE_CANCELLATION = 1,
1035
1056
  }
1036
1057
 
1058
+ /**
1059
+ * @generated from message livekit.APICallRequest
1060
+ */
1061
+ export declare class APICallRequest extends Message<APICallRequest> {
1062
+ /**
1063
+ * @generated from oneof livekit.APICallRequest.message
1064
+ */
1065
+ message: {
1066
+ /**
1067
+ * @generated from field: livekit.CreateRoomRequest create_room_request = 1;
1068
+ */
1069
+ value: CreateRoomRequest;
1070
+ case: "createRoomRequest";
1071
+ } | {
1072
+ /**
1073
+ * @generated from field: livekit.ListRoomsRequest list_rooms_request = 2;
1074
+ */
1075
+ value: ListRoomsRequest;
1076
+ case: "listRoomsRequest";
1077
+ } | {
1078
+ /**
1079
+ * @generated from field: livekit.DeleteRoomRequest delete_room_request = 3;
1080
+ */
1081
+ value: DeleteRoomRequest;
1082
+ case: "deleteRoomRequest";
1083
+ } | {
1084
+ /**
1085
+ * @generated from field: livekit.ListParticipantsRequest list_participants_request = 4;
1086
+ */
1087
+ value: ListParticipantsRequest;
1088
+ case: "listParticipantsRequest";
1089
+ } | {
1090
+ /**
1091
+ * @generated from field: livekit.RoomParticipantIdentity room_participant_identity = 5;
1092
+ */
1093
+ value: RoomParticipantIdentity;
1094
+ case: "roomParticipantIdentity";
1095
+ } | {
1096
+ /**
1097
+ * @generated from field: livekit.MuteRoomTrackRequest mute_room_track_request = 6;
1098
+ */
1099
+ value: MuteRoomTrackRequest;
1100
+ case: "muteRoomTrackRequest";
1101
+ } | {
1102
+ /**
1103
+ * @generated from field: livekit.UpdateParticipantRequest update_participant_request = 7;
1104
+ */
1105
+ value: UpdateParticipantRequest;
1106
+ case: "updateParticipantRequest";
1107
+ } | {
1108
+ /**
1109
+ * @generated from field: livekit.UpdateSubscriptionsRequest update_subscriptions_request = 8;
1110
+ */
1111
+ value: UpdateSubscriptionsRequest;
1112
+ case: "updateSubscriptionsRequest";
1113
+ } | {
1114
+ /**
1115
+ * @generated from field: livekit.SendDataRequest send_data_request = 9;
1116
+ */
1117
+ value: SendDataRequest;
1118
+ case: "sendDataRequest";
1119
+ } | {
1120
+ /**
1121
+ * @generated from field: livekit.UpdateRoomMetadataRequest update_room_metadata_request = 10;
1122
+ */
1123
+ value: UpdateRoomMetadataRequest;
1124
+ case: "updateRoomMetadataRequest";
1125
+ } | { case: undefined; value?: undefined };
1126
+
1127
+ constructor(data?: PartialMessage<APICallRequest>);
1128
+
1129
+ static readonly runtime: typeof proto3;
1130
+ static readonly typeName = "livekit.APICallRequest";
1131
+ static readonly fields: FieldList;
1132
+
1133
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): APICallRequest;
1134
+
1135
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): APICallRequest;
1136
+
1137
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): APICallRequest;
1138
+
1139
+ static equals(a: APICallRequest | PlainMessage<APICallRequest> | undefined, b: APICallRequest | PlainMessage<APICallRequest> | undefined): boolean;
1140
+ }
1141
+
1142
+ /**
1143
+ * @generated from message livekit.APICallInfo
1144
+ */
1145
+ export declare class APICallInfo extends Message<APICallInfo> {
1146
+ /**
1147
+ * @generated from field: string project_id = 1;
1148
+ */
1149
+ projectId: string;
1150
+
1151
+ /**
1152
+ * @generated from field: livekit.APICallRequest request = 2;
1153
+ */
1154
+ request?: APICallRequest;
1155
+
1156
+ /**
1157
+ * @generated from field: string service = 3;
1158
+ */
1159
+ service: string;
1160
+
1161
+ /**
1162
+ * @generated from field: string method = 4;
1163
+ */
1164
+ method: string;
1165
+
1166
+ /**
1167
+ * @generated from field: string node_id = 5;
1168
+ */
1169
+ nodeId: string;
1170
+
1171
+ /**
1172
+ * @generated from field: int32 status = 6;
1173
+ */
1174
+ status: number;
1175
+
1176
+ /**
1177
+ * @generated from field: string twirp_error_code = 7;
1178
+ */
1179
+ twirpErrorCode: string;
1180
+
1181
+ /**
1182
+ * @generated from field: string twirp_error_message = 8;
1183
+ */
1184
+ twirpErrorMessage: string;
1185
+
1186
+ /**
1187
+ * @generated from field: string room_name = 9;
1188
+ */
1189
+ roomName: string;
1190
+
1191
+ /**
1192
+ * @generated from field: string room_id = 10;
1193
+ */
1194
+ roomId: string;
1195
+
1196
+ /**
1197
+ * @generated from field: string participant_identity = 11;
1198
+ */
1199
+ participantIdentity: string;
1200
+
1201
+ /**
1202
+ * @generated from field: string participant_id = 12;
1203
+ */
1204
+ participantId: string;
1205
+
1206
+ /**
1207
+ * @generated from field: string track_id = 13;
1208
+ */
1209
+ trackId: string;
1210
+
1211
+ /**
1212
+ * @generated from field: google.protobuf.Timestamp started_at = 14;
1213
+ */
1214
+ startedAt?: Timestamp;
1215
+
1216
+ /**
1217
+ * @generated from field: int64 duration_ns = 15;
1218
+ */
1219
+ durationNs: bigint;
1220
+
1221
+ constructor(data?: PartialMessage<APICallInfo>);
1222
+
1223
+ static readonly runtime: typeof proto3;
1224
+ static readonly typeName = "livekit.APICallInfo";
1225
+ static readonly fields: FieldList;
1226
+
1227
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): APICallInfo;
1228
+
1229
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): APICallInfo;
1230
+
1231
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): APICallInfo;
1232
+
1233
+ static equals(a: APICallInfo | PlainMessage<APICallInfo> | undefined, b: APICallInfo | PlainMessage<APICallInfo> | undefined): boolean;
1234
+ }
1235
+
1236
+ /**
1237
+ * @generated from message livekit.WebhookInfo
1238
+ */
1239
+ export declare class WebhookInfo extends Message<WebhookInfo> {
1240
+ /**
1241
+ * @generated from field: string event_id = 1;
1242
+ */
1243
+ eventId: string;
1244
+
1245
+ /**
1246
+ * @generated from field: string event = 2;
1247
+ */
1248
+ event: string;
1249
+
1250
+ /**
1251
+ * @generated from field: string project_id = 3;
1252
+ */
1253
+ projectId: string;
1254
+
1255
+ /**
1256
+ * @generated from field: string room_name = 4;
1257
+ */
1258
+ roomName: string;
1259
+
1260
+ /**
1261
+ * @generated from field: string room_id = 5;
1262
+ */
1263
+ roomId: string;
1264
+
1265
+ /**
1266
+ * @generated from field: string participant_identity = 6;
1267
+ */
1268
+ participantIdentity: string;
1269
+
1270
+ /**
1271
+ * @generated from field: string participant_id = 7;
1272
+ */
1273
+ participantId: string;
1274
+
1275
+ /**
1276
+ * @generated from field: string track_id = 8;
1277
+ */
1278
+ trackId: string;
1279
+
1280
+ /**
1281
+ * @generated from field: string egress_id = 9;
1282
+ */
1283
+ egressId: string;
1284
+
1285
+ /**
1286
+ * @generated from field: string ingress_id = 10;
1287
+ */
1288
+ ingressId: string;
1289
+
1290
+ /**
1291
+ * @generated from field: google.protobuf.Timestamp created_at = 11;
1292
+ */
1293
+ createdAt?: Timestamp;
1294
+
1295
+ /**
1296
+ * @generated from field: google.protobuf.Timestamp queued_at = 12;
1297
+ */
1298
+ queuedAt?: Timestamp;
1299
+
1300
+ /**
1301
+ * @generated from field: int64 queue_duration_ns = 13;
1302
+ */
1303
+ queueDurationNs: bigint;
1304
+
1305
+ /**
1306
+ * @generated from field: google.protobuf.Timestamp sent_at = 14;
1307
+ */
1308
+ sentAt?: Timestamp;
1309
+
1310
+ /**
1311
+ * @generated from field: int64 send_duration_ns = 15;
1312
+ */
1313
+ sendDurationNs: bigint;
1314
+
1315
+ /**
1316
+ * @generated from field: string url = 16;
1317
+ */
1318
+ url: string;
1319
+
1320
+ /**
1321
+ * @generated from field: int32 num_dropped = 17;
1322
+ */
1323
+ numDropped: number;
1324
+
1325
+ /**
1326
+ * @generated from field: bool is_dropped = 18;
1327
+ */
1328
+ isDropped: boolean;
1329
+
1330
+ /**
1331
+ * @generated from field: string service_status = 19;
1332
+ */
1333
+ serviceStatus: string;
1334
+
1335
+ /**
1336
+ * @generated from field: int32 service_error_code = 20;
1337
+ */
1338
+ serviceErrorCode: number;
1339
+
1340
+ /**
1341
+ * @generated from field: string service_error = 21;
1342
+ */
1343
+ serviceError: string;
1344
+
1345
+ /**
1346
+ * @generated from field: string send_error = 22;
1347
+ */
1348
+ sendError: string;
1349
+
1350
+ constructor(data?: PartialMessage<WebhookInfo>);
1351
+
1352
+ static readonly runtime: typeof proto3;
1353
+ static readonly typeName = "livekit.WebhookInfo";
1354
+ static readonly fields: FieldList;
1355
+
1356
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebhookInfo;
1357
+
1358
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebhookInfo;
1359
+
1360
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebhookInfo;
1361
+
1362
+ static equals(a: WebhookInfo | PlainMessage<WebhookInfo> | undefined, b: WebhookInfo | PlainMessage<WebhookInfo> | undefined): boolean;
1363
+ }
1364
+
@@ -22,6 +22,7 @@ import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Ro
22
22
  import { EgressInfo } from "./livekit_egress_pb.js";
23
23
  import { IngressInfo } from "./livekit_ingress_pb.js";
24
24
  import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js";
25
+ import { CreateRoomRequest, DeleteRoomRequest, ListParticipantsRequest, ListRoomsRequest, MuteRoomTrackRequest, RoomParticipantIdentity, SendDataRequest, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSubscriptionsRequest } from "./livekit_room_pb.js";
25
26
 
26
27
  /**
27
28
  * @generated from enum livekit.StreamType
@@ -79,6 +80,8 @@ export const AnalyticsEventType = /*@__PURE__*/ proto3.makeEnum(
79
80
  {no: 38, name: "SIP_CALL_STARTED"},
80
81
  {no: 39, name: "SIP_CALL_ENDED"},
81
82
  {no: 40, name: "REPORT"},
83
+ {no: 41, name: "API_CALL"},
84
+ {no: 42, name: "WEBHOOK"},
82
85
  ],
83
86
  );
84
87
 
@@ -210,6 +213,8 @@ export const AnalyticsEvent = /*@__PURE__*/ proto3.makeMessageType(
210
213
  { no: 31, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
211
214
  { no: 32, name: "sip_dispatch_rule", kind: "message", T: SIPDispatchRuleInfo },
212
215
  { no: 33, name: "report", kind: "message", T: ReportInfo },
216
+ { no: 34, name: "api_call", kind: "message", T: APICallInfo },
217
+ { no: 35, name: "webhook", kind: "message", T: WebhookInfo },
213
218
  ],
214
219
  );
215
220
 
@@ -313,3 +318,77 @@ export const FeatureUsageInfo_Feature = /*@__PURE__*/ proto3.makeEnum(
313
318
  ],
314
319
  );
315
320
 
321
+ /**
322
+ * @generated from message livekit.APICallRequest
323
+ */
324
+ export const APICallRequest = /*@__PURE__*/ proto3.makeMessageType(
325
+ "livekit.APICallRequest",
326
+ () => [
327
+ { no: 1, name: "create_room_request", kind: "message", T: CreateRoomRequest, oneof: "message" },
328
+ { no: 2, name: "list_rooms_request", kind: "message", T: ListRoomsRequest, oneof: "message" },
329
+ { no: 3, name: "delete_room_request", kind: "message", T: DeleteRoomRequest, oneof: "message" },
330
+ { no: 4, name: "list_participants_request", kind: "message", T: ListParticipantsRequest, oneof: "message" },
331
+ { no: 5, name: "room_participant_identity", kind: "message", T: RoomParticipantIdentity, oneof: "message" },
332
+ { no: 6, name: "mute_room_track_request", kind: "message", T: MuteRoomTrackRequest, oneof: "message" },
333
+ { no: 7, name: "update_participant_request", kind: "message", T: UpdateParticipantRequest, oneof: "message" },
334
+ { no: 8, name: "update_subscriptions_request", kind: "message", T: UpdateSubscriptionsRequest, oneof: "message" },
335
+ { no: 9, name: "send_data_request", kind: "message", T: SendDataRequest, oneof: "message" },
336
+ { no: 10, name: "update_room_metadata_request", kind: "message", T: UpdateRoomMetadataRequest, oneof: "message" },
337
+ ],
338
+ );
339
+
340
+ /**
341
+ * @generated from message livekit.APICallInfo
342
+ */
343
+ export const APICallInfo = /*@__PURE__*/ proto3.makeMessageType(
344
+ "livekit.APICallInfo",
345
+ () => [
346
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
347
+ { no: 2, name: "request", kind: "message", T: APICallRequest },
348
+ { no: 3, name: "service", kind: "scalar", T: 9 /* ScalarType.STRING */ },
349
+ { no: 4, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
350
+ { no: 5, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
351
+ { no: 6, name: "status", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
352
+ { no: 7, name: "twirp_error_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
353
+ { no: 8, name: "twirp_error_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
354
+ { no: 9, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
355
+ { no: 10, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
356
+ { no: 11, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
357
+ { no: 12, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
358
+ { no: 13, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
359
+ { no: 14, name: "started_at", kind: "message", T: Timestamp },
360
+ { no: 15, name: "duration_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
361
+ ],
362
+ );
363
+
364
+ /**
365
+ * @generated from message livekit.WebhookInfo
366
+ */
367
+ export const WebhookInfo = /*@__PURE__*/ proto3.makeMessageType(
368
+ "livekit.WebhookInfo",
369
+ () => [
370
+ { no: 1, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
371
+ { no: 2, name: "event", kind: "scalar", T: 9 /* ScalarType.STRING */ },
372
+ { no: 3, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
373
+ { no: 4, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
374
+ { no: 5, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
375
+ { no: 6, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
376
+ { no: 7, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
377
+ { no: 8, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
378
+ { no: 9, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
379
+ { no: 10, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
380
+ { no: 11, name: "created_at", kind: "message", T: Timestamp },
381
+ { no: 12, name: "queued_at", kind: "message", T: Timestamp },
382
+ { no: 13, name: "queue_duration_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
383
+ { no: 14, name: "sent_at", kind: "message", T: Timestamp },
384
+ { no: 15, name: "send_duration_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
385
+ { no: 16, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
386
+ { no: 17, name: "num_dropped", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
387
+ { no: 18, name: "is_dropped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
388
+ { no: 19, name: "service_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
389
+ { no: 20, name: "service_error_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
390
+ { no: 21, name: "service_error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
391
+ { no: 22, name: "send_error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
392
+ ],
393
+ );
394
+
@@ -110,6 +110,32 @@ export declare enum StreamProtocol {
110
110
  SRT = 2,
111
111
  }
112
112
 
113
+ /**
114
+ * @generated from enum livekit.AudioMixing
115
+ */
116
+ export declare enum AudioMixing {
117
+ /**
118
+ * all users are mixed together
119
+ *
120
+ * @generated from enum value: DEFAULT_MIXING = 0;
121
+ */
122
+ DEFAULT_MIXING = 0,
123
+
124
+ /**
125
+ * agent audio in the left channel, all other audio in the right channel
126
+ *
127
+ * @generated from enum value: DUAL_CHANNEL_AGENT = 1;
128
+ */
129
+ DUAL_CHANNEL_AGENT = 1,
130
+
131
+ /**
132
+ * each new audio track alternates between left and right channels
133
+ *
134
+ * @generated from enum value: DUAL_CHANNEL_ALTERNATE = 2;
135
+ */
136
+ DUAL_CHANNEL_ALTERNATE = 2,
137
+ }
138
+
113
139
  /**
114
140
  * @generated from enum livekit.EncodingOptionsPreset
115
141
  */
@@ -253,6 +279,13 @@ export declare class RoomCompositeEgressRequest extends Message<RoomCompositeEgr
253
279
  */
254
280
  audioOnly: boolean;
255
281
 
282
+ /**
283
+ * only applies to audio_only egress (default DEFAULT_MIXING)
284
+ *
285
+ * @generated from field: livekit.AudioMixing audio_mixing = 15;
286
+ */
287
+ audioMixing: AudioMixing;
288
+
256
289
  /**
257
290
  * (default false)
258
291
  *
@@ -77,6 +77,18 @@ export const StreamProtocol = /*@__PURE__*/ proto3.makeEnum(
77
77
  ],
78
78
  );
79
79
 
80
+ /**
81
+ * @generated from enum livekit.AudioMixing
82
+ */
83
+ export const AudioMixing = /*@__PURE__*/ proto3.makeEnum(
84
+ "livekit.AudioMixing",
85
+ [
86
+ {no: 0, name: "DEFAULT_MIXING"},
87
+ {no: 1, name: "DUAL_CHANNEL_AGENT"},
88
+ {no: 2, name: "DUAL_CHANNEL_ALTERNATE"},
89
+ ],
90
+ );
91
+
80
92
  /**
81
93
  * @generated from enum livekit.EncodingOptionsPreset
82
94
  */
@@ -132,6 +144,7 @@ export const RoomCompositeEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
132
144
  { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
133
145
  { no: 2, name: "layout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
134
146
  { no: 3, name: "audio_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
147
+ { no: 15, name: "audio_mixing", kind: "enum", T: proto3.getEnumType(AudioMixing) },
135
148
  { no: 4, name: "video_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
136
149
  { no: 5, name: "custom_base_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
137
150
  { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
@@ -1703,6 +1703,68 @@ export declare class DeleteSIPDispatchRuleRequest extends Message<DeleteSIPDispa
1703
1703
  static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage<DeleteSIPDispatchRuleRequest> | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage<DeleteSIPDispatchRuleRequest> | undefined): boolean;
1704
1704
  }
1705
1705
 
1706
+ /**
1707
+ * @generated from message livekit.SIPOutboundConfig
1708
+ */
1709
+ export declare class SIPOutboundConfig extends Message<SIPOutboundConfig> {
1710
+ /**
1711
+ * SIP server address
1712
+ *
1713
+ * @generated from field: string hostname = 1;
1714
+ */
1715
+ hostname: string;
1716
+
1717
+ /**
1718
+ * SIP Transport used for outbound call.
1719
+ *
1720
+ * @generated from field: livekit.SIPTransport transport = 2;
1721
+ */
1722
+ transport: SIPTransport;
1723
+
1724
+ /**
1725
+ * Username and password used to authenticate with SIP server.
1726
+ * May be empty to have no authentication.
1727
+ *
1728
+ * @generated from field: string auth_username = 3;
1729
+ */
1730
+ authUsername: string;
1731
+
1732
+ /**
1733
+ * @generated from field: string auth_password = 4;
1734
+ */
1735
+ authPassword: string;
1736
+
1737
+ /**
1738
+ * Map SIP X-* headers from 200 OK to SIP participant attributes.
1739
+ * Keys are the names of X-* headers and values are the names of attributes they will be mapped to.
1740
+ *
1741
+ * @generated from field: map<string, string> headers_to_attributes = 5;
1742
+ */
1743
+ headersToAttributes: { [key: string]: string };
1744
+
1745
+ /**
1746
+ * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
1747
+ * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
1748
+ *
1749
+ * @generated from field: map<string, string> attributes_to_headers = 6;
1750
+ */
1751
+ attributesToHeaders: { [key: string]: string };
1752
+
1753
+ constructor(data?: PartialMessage<SIPOutboundConfig>);
1754
+
1755
+ static readonly runtime: typeof proto3;
1756
+ static readonly typeName = "livekit.SIPOutboundConfig";
1757
+ static readonly fields: FieldList;
1758
+
1759
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPOutboundConfig;
1760
+
1761
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPOutboundConfig;
1762
+
1763
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPOutboundConfig;
1764
+
1765
+ static equals(a: SIPOutboundConfig | PlainMessage<SIPOutboundConfig> | undefined, b: SIPOutboundConfig | PlainMessage<SIPOutboundConfig> | undefined): boolean;
1766
+ }
1767
+
1706
1768
  /**
1707
1769
  * A SIP Participant is a singular SIP session connected to a LiveKit room via
1708
1770
  * a SIP Trunk into a SIP DispatchRule
@@ -1717,6 +1779,11 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
1717
1779
  */
1718
1780
  sipTrunkId: string;
1719
1781
 
1782
+ /**
1783
+ * @generated from field: livekit.SIPOutboundConfig trunk = 20;
1784
+ */
1785
+ trunk?: SIPOutboundConfig;
1786
+
1720
1787
  /**
1721
1788
  * What number should be dialed via SIP
1722
1789
  *
@@ -1843,7 +1910,7 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
1843
1910
  /**
1844
1911
  * Wait for the answer for the call before returning.
1845
1912
  *
1846
- * NEXT ID: 20
1913
+ * NEXT ID: 21
1847
1914
  *
1848
1915
  * @generated from field: bool wait_until_answered = 19;
1849
1916
  */
@@ -529,6 +529,21 @@ export const DeleteSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType
529
529
  ],
530
530
  );
531
531
 
532
+ /**
533
+ * @generated from message livekit.SIPOutboundConfig
534
+ */
535
+ export const SIPOutboundConfig = /*@__PURE__*/ proto3.makeMessageType(
536
+ "livekit.SIPOutboundConfig",
537
+ () => [
538
+ { no: 1, name: "hostname", kind: "scalar", T: 9 /* ScalarType.STRING */ },
539
+ { no: 2, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
540
+ { no: 3, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
541
+ { no: 4, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
542
+ { no: 5, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
543
+ { no: 6, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
544
+ ],
545
+ );
546
+
532
547
  /**
533
548
  * A SIP Participant is a singular SIP session connected to a LiveKit room via
534
549
  * a SIP Trunk into a SIP DispatchRule
@@ -539,6 +554,7 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
539
554
  "livekit.CreateSIPParticipantRequest",
540
555
  () => [
541
556
  { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
557
+ { no: 20, name: "trunk", kind: "message", T: SIPOutboundConfig },
542
558
  { no: 2, name: "sip_call_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
543
559
  { no: 15, name: "sip_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
544
560
  { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.33.0';
2
+ export const version = '1.34.0';