@livekit/protocol 1.26.0 → 1.27.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.26.0",
3
+ "version": "1.27.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -1669,6 +1669,18 @@ export declare class EgressInfo extends Message<EgressInfo> {
1669
1669
  */
1670
1670
  imageResults: ImagesInfo[];
1671
1671
 
1672
+ /**
1673
+ * @generated from field: string manifest_location = 23;
1674
+ */
1675
+ manifestLocation: string;
1676
+
1677
+ /**
1678
+ * next ID: 24
1679
+ *
1680
+ * @generated from field: string manifest_presigned_url = 24;
1681
+ */
1682
+ manifestPresignedUrl: string;
1683
+
1672
1684
  constructor(data?: PartialMessage<EgressInfo>);
1673
1685
 
1674
1686
  static readonly runtime: typeof proto3;
@@ -475,6 +475,8 @@ export const EgressInfo = /*@__PURE__*/ proto3.makeMessageType(
475
475
  { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true },
476
476
  { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true },
477
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 */ },
478
480
  ],
479
481
  );
480
482
 
@@ -19,8 +19,8 @@
19
19
 
20
20
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
- import type { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js";
23
22
  import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
23
+ import type { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js";
24
24
  import type { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js";
25
25
 
26
26
  /**
@@ -37,9 +37,9 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
37
37
  /**
38
38
  * configuration to use for this room parameters. Setting parameters below override the config defaults.
39
39
  *
40
- * @generated from field: string config_name = 12;
40
+ * @generated from field: string room_preset = 12;
41
41
  */
42
- configName: string;
42
+ roomPreset: string;
43
43
 
44
44
  /**
45
45
  * number of seconds to keep the room open if no one joins
@@ -77,19 +77,12 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
77
77
  metadata: string;
78
78
 
79
79
  /**
80
- * egress
80
+ * auto-egress configurations
81
81
  *
82
82
  * @generated from field: livekit.RoomEgress egress = 6;
83
83
  */
84
84
  egress?: RoomEgress;
85
85
 
86
- /**
87
- * agent
88
- *
89
- * @generated from field: livekit.RoomAgent agent = 11;
90
- */
91
- agent?: RoomAgent;
92
-
93
86
  /**
94
87
  * playout delay of subscriber
95
88
  *
@@ -113,12 +106,19 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
113
106
  /**
114
107
  * replay
115
108
  *
116
- * NEXT-ID: 14
117
- *
118
109
  * @generated from field: bool replay_enabled = 13;
119
110
  */
120
111
  replayEnabled: boolean;
121
112
 
113
+ /**
114
+ * Define agents that should be dispatched to this room
115
+ *
116
+ * NEXT-ID: 15
117
+ *
118
+ * @generated from field: repeated livekit.RoomAgentDispatch agents = 14;
119
+ */
120
+ agents: RoomAgentDispatch[];
121
+
122
122
  constructor(data?: PartialMessage<CreateRoomRequest>);
123
123
 
124
124
  static readonly runtime: typeof proto3;
@@ -717,7 +717,7 @@ export declare class RoomConfiguration extends Message<RoomConfiguration> {
717
717
  departureTimeout: number;
718
718
 
719
719
  /**
720
- * limit number of participants that can be in a room
720
+ * limit number of participants that can be in a room, excluding Egress and Ingress participants
721
721
  *
722
722
  * @generated from field: uint32 max_participants = 4;
723
723
  */
@@ -730,13 +730,6 @@ export declare class RoomConfiguration extends Message<RoomConfiguration> {
730
730
  */
731
731
  egress?: RoomEgress;
732
732
 
733
- /**
734
- * agent
735
- *
736
- * @generated from field: livekit.RoomAgent agent = 6;
737
- */
738
- agent?: RoomAgent;
739
-
740
733
  /**
741
734
  * playout delay of subscriber
742
735
  *
@@ -757,6 +750,13 @@ export declare class RoomConfiguration extends Message<RoomConfiguration> {
757
750
  */
758
751
  syncStreams: boolean;
759
752
 
753
+ /**
754
+ * Define agents that should be dispatched to this room
755
+ *
756
+ * @generated from field: repeated livekit.RoomAgentDispatch agents = 10;
757
+ */
758
+ agents: RoomAgentDispatch[];
759
+
760
760
  constructor(data?: PartialMessage<RoomConfiguration>);
761
761
 
762
762
  static readonly runtime: typeof proto3;
@@ -18,8 +18,8 @@
18
18
  // @ts-nocheck
19
19
 
20
20
  import { proto3 } from "@bufbuild/protobuf";
21
- import { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js";
22
21
  import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
22
+ import { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js";
23
23
  import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js";
24
24
 
25
25
  /**
@@ -29,18 +29,18 @@ export const CreateRoomRequest = /*@__PURE__*/ proto3.makeMessageType(
29
29
  "livekit.CreateRoomRequest",
30
30
  () => [
31
31
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
32
- { no: 12, name: "config_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
32
+ { no: 12, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
33
33
  { no: 2, name: "empty_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
34
34
  { no: 10, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
35
35
  { no: 3, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
36
36
  { no: 4, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
37
37
  { no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
38
38
  { no: 6, name: "egress", kind: "message", T: RoomEgress },
39
- { no: 11, name: "agent", kind: "message", T: RoomAgent },
40
39
  { no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
41
40
  { no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
42
41
  { no: 9, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
43
42
  { no: 13, name: "replay_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
43
+ { no: 14, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true },
44
44
  ],
45
45
  );
46
46
 
@@ -250,10 +250,10 @@ export const RoomConfiguration = /*@__PURE__*/ proto3.makeMessageType(
250
250
  { no: 3, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
251
251
  { no: 4, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
252
252
  { no: 5, name: "egress", kind: "message", T: RoomEgress },
253
- { no: 6, name: "agent", kind: "message", T: RoomAgent },
254
253
  { no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
255
254
  { no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
256
255
  { no: 9, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
256
+ { no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true },
257
257
  ],
258
258
  );
259
259
 
@@ -418,6 +418,11 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
418
418
  */
419
419
  maxCallDuration?: Duration;
420
420
 
421
+ /**
422
+ * @generated from field: bool krisp_enabled = 13;
423
+ */
424
+ krispEnabled: boolean;
425
+
421
426
  constructor(data?: PartialMessage<SIPInboundTrunkInfo>);
422
427
 
423
428
  static readonly runtime: typeof proto3;
@@ -1226,12 +1231,18 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
1226
1231
  dtmf: string;
1227
1232
 
1228
1233
  /**
1229
- * Optionally play ringtone in the room as an audible indicator for existing participants
1234
+ * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect.
1230
1235
  *
1231
- * @generated from field: bool play_ringtone = 6;
1236
+ * @generated from field: bool play_ringtone = 6 [deprecated = true];
1237
+ * @deprecated
1232
1238
  */
1233
1239
  playRingtone: boolean;
1234
1240
 
1241
+ /**
1242
+ * @generated from field: bool play_dialtone = 13;
1243
+ */
1244
+ playDialtone: boolean;
1245
+
1235
1246
  /**
1236
1247
  * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes.
1237
1248
  * If true, a random value for identity will be used and numbers will be omitted from attributes.
@@ -1327,6 +1338,13 @@ export declare class TransferSIPParticipantRequest extends Message<TransferSIPPa
1327
1338
  */
1328
1339
  transferTo: string;
1329
1340
 
1341
+ /**
1342
+ * Optionally play dialtone to the SIP participant as an audible indicator of being transferred
1343
+ *
1344
+ * @generated from field: bool play_dialtone = 4;
1345
+ */
1346
+ playDialtone: boolean;
1347
+
1330
1348
  constructor(data?: PartialMessage<TransferSIPParticipantRequest>);
1331
1349
 
1332
1350
  static readonly runtime: typeof proto3;
@@ -131,6 +131,7 @@ export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
131
131
  { no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
132
132
  { no: 11, name: "ringing_timeout", kind: "message", T: Duration },
133
133
  { no: 12, name: "max_call_duration", kind: "message", T: Duration },
134
+ { no: 13, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
134
135
  ],
135
136
  );
136
137
 
@@ -394,6 +395,7 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
394
395
  { no: 9, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
395
396
  { no: 5, name: "dtmf", kind: "scalar", T: 9 /* ScalarType.STRING */ },
396
397
  { no: 6, name: "play_ringtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
398
+ { no: 13, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
397
399
  { no: 10, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
398
400
  { no: 11, name: "ringing_timeout", kind: "message", T: Duration },
399
401
  { no: 12, name: "max_call_duration", kind: "message", T: Duration },
@@ -422,6 +424,7 @@ export const TransferSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageTyp
422
424
  { no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
423
425
  { no: 2, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
424
426
  { no: 3, name: "transfer_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
427
+ { no: 4, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
425
428
  ],
426
429
  );
427
430
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.26.0';
2
+ export const version = '1.27.0';
package/src/index.js CHANGED
@@ -1,12 +1,13 @@
1
1
  // @ts-check
2
- export * from "./gen/version.js";
3
- export * from "./gen/livekit_room_pb.js";
2
+ export { protoInt64 } from "@bufbuild/protobuf";
3
+ export * from "./gen/livekit_agent_dispatch_pb.js";
4
4
  export * from "./gen/livekit_agent_pb.js";
5
- export * from "./gen/livekit_models_pb.js";
6
- export * from "./gen/livekit_rtc_pb.js";
7
- export * from "./gen/livekit_webhook_pb.js";
8
5
  export * from "./gen/livekit_egress_pb.js";
9
6
  export * from "./gen/livekit_ingress_pb.js";
10
- export * from "./gen/livekit_sip_pb.js";
11
7
  export * from "./gen/livekit_metrics_pb.js";
12
- export { protoInt64 } from "@bufbuild/protobuf";
8
+ export * from "./gen/livekit_models_pb.js";
9
+ export * from "./gen/livekit_room_pb.js";
10
+ export * from "./gen/livekit_rtc_pb.js";
11
+ export * from "./gen/livekit_sip_pb.js";
12
+ export * from "./gen/livekit_webhook_pb.js";
13
+ export * from "./gen/version.js";