@livekit/protocol 1.46.7 → 1.46.8

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.46.7",
3
+ "version": "1.46.8",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -2555,6 +2555,11 @@ export declare enum ClientInfo_Capability {
2555
2555
  * @generated from enum value: CAP_PACKET_TRAILER = 1;
2556
2556
  */
2557
2557
  CAP_PACKET_TRAILER = 1,
2558
+
2559
+ /**
2560
+ * @generated from enum value: CAP_COMPRESSION_DEFLATE_RAW = 2;
2561
+ */
2562
+ CAP_COMPRESSION_DEFLATE_RAW = 2,
2558
2563
  }
2559
2564
 
2560
2565
  /**
@@ -3269,6 +3274,28 @@ export declare enum DataStream_OperationType {
3269
3274
  REACTION = 3,
3270
3275
  }
3271
3276
 
3277
+ /**
3278
+ * The compression type of the whole data stream
3279
+ *
3280
+ * This will only get populated when send to participants with a
3281
+ * client protocol >= 2 which advertise a client capability of CAP_COMPRESSION_DEFLATE_RAW
3282
+ *
3283
+ * @generated from enum livekit.DataStream.CompressionType
3284
+ */
3285
+ export declare enum DataStream_CompressionType {
3286
+ /**
3287
+ * @generated from enum value: NONE = 0;
3288
+ */
3289
+ NONE = 0,
3290
+
3291
+ /**
3292
+ * DEFLATE_RAW = DEFLATE without header+checksum/trailer
3293
+ *
3294
+ * @generated from enum value: DEFLATE_RAW = 1;
3295
+ */
3296
+ DEFLATE_RAW = 1,
3297
+ }
3298
+
3272
3299
  /**
3273
3300
  * header properties specific to text streams
3274
3301
  *
@@ -3420,6 +3447,20 @@ export declare class DataStream_Header extends Message<DataStream_Header> {
3420
3447
  case: "byteHeader";
3421
3448
  } | { case: undefined; value?: undefined };
3422
3449
 
3450
+ /**
3451
+ * Optional inline content so that a data stream can be sent as a single packet for short payloads.
3452
+ *
3453
+ * content as binary (bytes)
3454
+ *
3455
+ * @generated from field: optional bytes inline_content = 11;
3456
+ */
3457
+ inlineContent?: Uint8Array;
3458
+
3459
+ /**
3460
+ * @generated from field: livekit.DataStream.CompressionType compression = 12;
3461
+ */
3462
+ compression: DataStream_CompressionType;
3463
+
3423
3464
  constructor(data?: PartialMessage<DataStream_Header>);
3424
3465
 
3425
3466
  static readonly runtime: typeof proto3;
@@ -844,6 +844,7 @@ export const ClientInfo_Capability = /*@__PURE__*/ proto3.makeEnum(
844
844
  [
845
845
  {no: 0, name: "CAP_UNUSED"},
846
846
  {no: 1, name: "CAP_PACKET_TRAILER"},
847
+ {no: 2, name: "CAP_COMPRESSION_DEFLATE_RAW"},
847
848
  ],
848
849
  );
849
850
 
@@ -1054,6 +1055,22 @@ export const DataStream_OperationType = /*@__PURE__*/ proto3.makeEnum(
1054
1055
  ],
1055
1056
  );
1056
1057
 
1058
+ /**
1059
+ * The compression type of the whole data stream
1060
+ *
1061
+ * This will only get populated when send to participants with a
1062
+ * client protocol >= 2 which advertise a client capability of CAP_COMPRESSION_DEFLATE_RAW
1063
+ *
1064
+ * @generated from enum livekit.DataStream.CompressionType
1065
+ */
1066
+ export const DataStream_CompressionType = /*@__PURE__*/ proto3.makeEnum(
1067
+ "livekit.DataStream.CompressionType",
1068
+ [
1069
+ {no: 0, name: "NONE"},
1070
+ {no: 1, name: "DEFLATE_RAW"},
1071
+ ],
1072
+ );
1073
+
1057
1074
  /**
1058
1075
  * header properties specific to text streams
1059
1076
  *
@@ -1101,6 +1118,8 @@ export const DataStream_Header = /*@__PURE__*/ proto3.makeMessageType(
1101
1118
  { no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
1102
1119
  { no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" },
1103
1120
  { no: 10, name: "byte_header", kind: "message", T: DataStream_ByteHeader, oneof: "content_header" },
1121
+ { no: 11, name: "inline_content", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
1122
+ { no: 12, name: "compression", kind: "enum", T: proto3.getEnumType(DataStream_CompressionType) },
1104
1123
  ],
1105
1124
  {localName: "DataStream_Header"},
1106
1125
  );
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.46.7';
2
+ export const version = '1.46.8';