@livekit/protocol 1.47.0 → 1.48.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.47.0",
3
+ "version": "1.48.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -28,6 +28,12 @@ export declare class AgentDevMessage extends Message<AgentDevMessage> {
28
28
  */
29
29
  value: GetRunningAgentJobsResponse;
30
30
  case: "getRunningJobsResponse";
31
+ } | {
32
+ /**
33
+ * @generated from field: livekit.agent.ServerInfo server_info = 3;
34
+ */
35
+ value: ServerInfo;
36
+ case: "serverInfo";
31
37
  } | { case: undefined; value?: undefined };
32
38
 
33
39
  constructor(data?: PartialMessage<AgentDevMessage>);
@@ -45,6 +51,37 @@ export declare class AgentDevMessage extends Message<AgentDevMessage> {
45
51
  static equals(a: AgentDevMessage | PlainMessage<AgentDevMessage> | undefined, b: AgentDevMessage | PlainMessage<AgentDevMessage> | undefined): boolean;
46
52
  }
47
53
 
54
+ /**
55
+ * ServerInfo is sent by the agent to the CLI when the dev-reload channel opens,
56
+ *
57
+ * @generated from message livekit.agent.ServerInfo
58
+ */
59
+ export declare class ServerInfo extends Message<ServerInfo> {
60
+ /**
61
+ * @generated from field: string agent_name = 1;
62
+ */
63
+ agentName: string;
64
+
65
+ /**
66
+ * @generated from field: string url = 2;
67
+ */
68
+ url: string;
69
+
70
+ constructor(data?: PartialMessage<ServerInfo>);
71
+
72
+ static readonly runtime: typeof proto3;
73
+ static readonly typeName = "livekit.agent.ServerInfo";
74
+ static readonly fields: FieldList;
75
+
76
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerInfo;
77
+
78
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServerInfo;
79
+
80
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServerInfo;
81
+
82
+ static equals(a: ServerInfo | PlainMessage<ServerInfo> | undefined, b: ServerInfo | PlainMessage<ServerInfo> | undefined): boolean;
83
+ }
84
+
48
85
  /**
49
86
  * @generated from message livekit.agent.GetRunningAgentJobsRequest
50
87
  */
@@ -16,6 +16,20 @@ export const AgentDevMessage = /*@__PURE__*/ proto3.makeMessageType(
16
16
  () => [
17
17
  { no: 1, name: "get_running_jobs_request", kind: "message", T: GetRunningAgentJobsRequest, oneof: "message" },
18
18
  { no: 2, name: "get_running_jobs_response", kind: "message", T: GetRunningAgentJobsResponse, oneof: "message" },
19
+ { no: 3, name: "server_info", kind: "message", T: ServerInfo, oneof: "message" },
20
+ ],
21
+ );
22
+
23
+ /**
24
+ * ServerInfo is sent by the agent to the CLI when the dev-reload channel opens,
25
+ *
26
+ * @generated from message livekit.agent.ServerInfo
27
+ */
28
+ export const ServerInfo = /*@__PURE__*/ proto3.makeMessageType(
29
+ "livekit.agent.ServerInfo",
30
+ () => [
31
+ { no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
32
+ { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19
33
  ],
20
34
  );
21
35
 
@@ -482,6 +482,11 @@ export declare enum PacketTrailerFeature {
482
482
  * @generated from enum value: PTF_FRAME_ID = 1;
483
483
  */
484
484
  PTF_FRAME_ID = 1,
485
+
486
+ /**
487
+ * @generated from enum value: PTF_USER_DATA = 2;
488
+ */
489
+ PTF_USER_DATA = 2,
485
490
  }
486
491
 
487
492
  /**
@@ -936,6 +941,14 @@ export declare class ParticipantInfo extends Message<ParticipantInfo> {
936
941
  */
937
942
  clientProtocol: number;
938
943
 
944
+ /**
945
+ * capabilities the participant's client advertises, mirrored from ClientInfo.
946
+ * Lets other participants perform client-side feature detection.
947
+ *
948
+ * @generated from field: repeated livekit.ClientInfo.Capability capabilities = 21;
949
+ */
950
+ capabilities: ClientInfo_Capability[];
951
+
939
952
  constructor(data?: PartialMessage<ParticipantInfo>);
940
953
 
941
954
  static readonly runtime: typeof proto3;
@@ -223,6 +223,7 @@ export const PacketTrailerFeature = /*@__PURE__*/ proto3.makeEnum(
223
223
  [
224
224
  {no: 0, name: "PTF_USER_TIMESTAMP"},
225
225
  {no: 1, name: "PTF_FRAME_ID"},
226
+ {no: 2, name: "PTF_USER_DATA"},
226
227
  ],
227
228
  );
228
229
 
@@ -351,6 +352,7 @@ export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
351
352
  { no: 18, name: "kind_details", kind: "enum", T: proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true },
352
353
  { no: 19, name: "data_tracks", kind: "message", T: DataTrackInfo, repeated: true },
353
354
  { no: 20, name: "client_protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
355
+ { no: 21, name: "capabilities", kind: "enum", T: proto3.getEnumType(ClientInfo_Capability), repeated: true },
354
356
  ],
355
357
  );
356
358
 
@@ -1158,10 +1158,16 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
1158
1158
  krispEnabled: boolean;
1159
1159
 
1160
1160
  /**
1161
- * @generated from field: livekit.SIPMediaEncryption media_encryption = 16;
1161
+ * @generated from field: livekit.SIPMediaEncryption media_encryption = 16 [deprecated = true];
1162
+ * @deprecated
1162
1163
  */
1163
1164
  mediaEncryption: SIPMediaEncryption;
1164
1165
 
1166
+ /**
1167
+ * @generated from field: livekit.SIPMediaConfig media = 20;
1168
+ */
1169
+ media?: SIPMediaConfig;
1170
+
1165
1171
  /**
1166
1172
  * @generated from field: google.protobuf.Timestamp created_at = 17;
1167
1173
  */
@@ -1232,10 +1238,16 @@ export declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate
1232
1238
  metadata?: string;
1233
1239
 
1234
1240
  /**
1235
- * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8;
1241
+ * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8 [deprecated = true];
1242
+ * @deprecated
1236
1243
  */
1237
1244
  mediaEncryption?: SIPMediaEncryption;
1238
1245
 
1246
+ /**
1247
+ * @generated from field: livekit.SIPMediaConfig media = 10;
1248
+ */
1249
+ media?: SIPMediaConfig;
1250
+
1239
1251
  constructor(data?: PartialMessage<SIPInboundTrunkUpdate>);
1240
1252
 
1241
1253
  static readonly runtime: typeof proto3;
@@ -1420,10 +1432,16 @@ export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo>
1420
1432
  includeHeaders: SIPHeaderOptions;
1421
1433
 
1422
1434
  /**
1423
- * @generated from field: livekit.SIPMediaEncryption media_encryption = 13;
1435
+ * @generated from field: livekit.SIPMediaEncryption media_encryption = 13 [deprecated = true];
1436
+ * @deprecated
1424
1437
  */
1425
1438
  mediaEncryption: SIPMediaEncryption;
1426
1439
 
1440
+ /**
1441
+ * @generated from field: livekit.SIPMediaConfig media = 18;
1442
+ */
1443
+ media?: SIPMediaConfig;
1444
+
1427
1445
  /**
1428
1446
  * Optional custom hostname for the 'From' SIP header in outbound INVITEs.
1429
1447
  * When set, outbound calls from this trunk will use this host instead of the default project SIP domain.
@@ -1503,10 +1521,16 @@ export declare class SIPOutboundTrunkUpdate extends Message<SIPOutboundTrunkUpda
1503
1521
  metadata?: string;
1504
1522
 
1505
1523
  /**
1506
- * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8;
1524
+ * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8 [deprecated = true];
1525
+ * @deprecated
1507
1526
  */
1508
1527
  mediaEncryption?: SIPMediaEncryption;
1509
1528
 
1529
+ /**
1530
+ * @generated from field: livekit.SIPMediaConfig media = 11;
1531
+ */
1532
+ media?: SIPMediaConfig;
1533
+
1510
1534
  /**
1511
1535
  * @generated from field: optional string from_host = 10;
1512
1536
  */
@@ -356,6 +356,7 @@ export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
356
356
  { no: 12, name: "max_call_duration", kind: "message", T: Duration },
357
357
  { no: 13, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
358
358
  { no: 16, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
359
+ { no: 20, name: "media", kind: "message", T: SIPMediaConfig },
359
360
  { no: 17, name: "created_at", kind: "message", T: Timestamp },
360
361
  { no: 18, name: "updated_at", kind: "message", T: Timestamp },
361
362
  ],
@@ -376,6 +377,7 @@ export const SIPInboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
376
377
  { no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
377
378
  { no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
378
379
  { no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
380
+ { no: 10, name: "media", kind: "message", T: SIPMediaConfig },
379
381
  ],
380
382
  );
381
383
 
@@ -421,6 +423,7 @@ export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
421
423
  { no: 11, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
422
424
  { no: 12, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
423
425
  { no: 13, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
426
+ { no: 18, name: "media", kind: "message", T: SIPMediaConfig },
424
427
  { no: 15, name: "from_host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
425
428
  { no: 16, name: "created_at", kind: "message", T: Timestamp },
426
429
  { no: 17, name: "updated_at", kind: "message", T: Timestamp },
@@ -442,6 +445,7 @@ export const SIPOutboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
442
445
  { no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
443
446
  { no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
444
447
  { no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
448
+ { no: 11, name: "media", kind: "message", T: SIPMediaConfig },
445
449
  { no: 10, name: "from_host", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
446
450
  ],
447
451
  );
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.47.0';
2
+ export const version = '1.48.0';