@livekit/protocol 1.36.0 → 1.36.1

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.36.0",
3
+ "version": "1.36.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -93,11 +93,12 @@ export declare enum ImageCodec {
93
93
  */
94
94
  export declare enum BackupCodecPolicy {
95
95
  /**
96
- * default behavior, regress to backup codec and all subscribers will receive the backup codec
96
+ * default behavior, the track prefer to regress to backup codec and all subscribers will receive the backup codec,
97
+ * the sfu will try to regress codec if possible but not assured.
97
98
  *
98
- * @generated from enum value: REGRESSION = 0;
99
+ * @generated from enum value: PREFER_REGRESSION = 0;
99
100
  */
100
- REGRESSION = 0,
101
+ PREFER_REGRESSION = 0,
101
102
 
102
103
  /**
103
104
  * encoding/send the primary and backup codec simultaneously
@@ -105,6 +106,13 @@ export declare enum BackupCodecPolicy {
105
106
  * @generated from enum value: SIMULCAST = 1;
106
107
  */
107
108
  SIMULCAST = 1,
109
+
110
+ /**
111
+ * force the track to regress to backup codec, this option can be used in video conference or the publisher has limited bandwidth/encoding power
112
+ *
113
+ * @generated from enum value: REGRESSION = 2;
114
+ */
115
+ REGRESSION = 2,
108
116
  }
109
117
 
110
118
  /**
@@ -65,8 +65,9 @@ export const ImageCodec = /*@__PURE__*/ proto3.makeEnum(
65
65
  export const BackupCodecPolicy = /*@__PURE__*/ proto3.makeEnum(
66
66
  "livekit.BackupCodecPolicy",
67
67
  [
68
- {no: 0, name: "REGRESSION"},
68
+ {no: 0, name: "PREFER_REGRESSION"},
69
69
  {no: 1, name: "SIMULCAST"},
70
+ {no: 2, name: "REGRESSION"},
70
71
  ],
71
72
  );
72
73
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.36.0';
2
+ export const version = '1.36.1';