@livekit/protocol 1.36.0 → 1.37.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.
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
16
  // @generated from file livekit_models.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -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
  /**
@@ -326,6 +334,13 @@ export declare enum DisconnectReason {
326
334
  * @generated from enum value: SIP_TRUNK_FAILURE = 13;
327
335
  */
328
336
  SIP_TRUNK_FAILURE = 13,
337
+
338
+ /**
339
+ * server timed out a participant session
340
+ *
341
+ * @generated from enum value: CONNECTION_TIMEOUT = 14;
342
+ */
343
+ CONNECTION_TIMEOUT = 14,
329
344
  }
330
345
 
331
346
  /**
@@ -2018,6 +2033,11 @@ export declare enum ClientInfo_SDK {
2018
2033
  * @generated from enum value: NODE = 12;
2019
2034
  */
2020
2035
  NODE = 12,
2036
+
2037
+ /**
2038
+ * @generated from enum value: UNREAL = 13;
2039
+ */
2040
+ UNREAL = 13,
2021
2041
  }
2022
2042
 
2023
2043
  /**
@@ -2989,3 +3009,32 @@ export declare class DataStream_Trailer extends Message<DataStream_Trailer> {
2989
3009
  static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
2990
3010
  }
2991
3011
 
3012
+ /**
3013
+ * @generated from message livekit.WebhookConfig
3014
+ */
3015
+ export declare class WebhookConfig extends Message<WebhookConfig> {
3016
+ /**
3017
+ * @generated from field: string url = 1;
3018
+ */
3019
+ url: string;
3020
+
3021
+ /**
3022
+ * @generated from field: string signing_key = 2;
3023
+ */
3024
+ signingKey: string;
3025
+
3026
+ constructor(data?: PartialMessage<WebhookConfig>);
3027
+
3028
+ static readonly runtime: typeof proto3;
3029
+ static readonly typeName = "livekit.WebhookConfig";
3030
+ static readonly fields: FieldList;
3031
+
3032
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebhookConfig;
3033
+
3034
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebhookConfig;
3035
+
3036
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebhookConfig;
3037
+
3038
+ static equals(a: WebhookConfig | PlainMessage<WebhookConfig> | undefined, b: WebhookConfig | PlainMessage<WebhookConfig> | undefined): boolean;
3039
+ }
3040
+
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
16
  // @generated from file livekit_models.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -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
 
@@ -154,6 +155,7 @@ export const DisconnectReason = /*@__PURE__*/ proto3.makeEnum(
154
155
  {no: 11, name: "USER_UNAVAILABLE"},
155
156
  {no: 12, name: "USER_REJECTED"},
156
157
  {no: 13, name: "SIP_TRUNK_FAILURE"},
158
+ {no: 14, name: "CONNECTION_TIMEOUT"},
157
159
  ],
158
160
  );
159
161
 
@@ -686,6 +688,7 @@ export const ClientInfo_SDK = /*@__PURE__*/ proto3.makeEnum(
686
688
  {no: 10, name: "CPP"},
687
689
  {no: 11, name: "UNITY_WEB"},
688
690
  {no: 12, name: "NODE"},
691
+ {no: 13, name: "UNREAL"},
689
692
  ],
690
693
  );
691
694
 
@@ -975,3 +978,14 @@ export const DataStream_Trailer = /*@__PURE__*/ proto3.makeMessageType(
975
978
  {localName: "DataStream_Trailer"},
976
979
  );
977
980
 
981
+ /**
982
+ * @generated from message livekit.WebhookConfig
983
+ */
984
+ export const WebhookConfig = /*@__PURE__*/ proto3.makeMessageType(
985
+ "livekit.WebhookConfig",
986
+ () => [
987
+ { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
988
+ { no: 2, name: "signing_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
989
+ ],
990
+ );
991
+
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
16
  // @generated from file livekit_room.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
16
  // @generated from file livekit_room.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
16
  // @generated from file livekit_rtc.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
16
  // @generated from file livekit_rtc.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
16
  // @generated from file livekit_sip.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -919,6 +919,11 @@ export declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate
919
919
  */
920
920
  metadata?: string;
921
921
 
922
+ /**
923
+ * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8;
924
+ */
925
+ mediaEncryption?: SIPMediaEncryption;
926
+
922
927
  constructor(data?: PartialMessage<SIPInboundTrunkUpdate>);
923
928
 
924
929
  static readonly runtime: typeof proto3;
@@ -1154,6 +1159,11 @@ export declare class SIPOutboundTrunkUpdate extends Message<SIPOutboundTrunkUpda
1154
1159
  */
1155
1160
  metadata?: string;
1156
1161
 
1162
+ /**
1163
+ * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8;
1164
+ */
1165
+ mediaEncryption?: SIPMediaEncryption;
1166
+
1157
1167
  constructor(data?: PartialMessage<SIPOutboundTrunkUpdate>);
1158
1168
 
1159
1169
  static readonly runtime: typeof proto3;
@@ -1890,6 +1900,11 @@ export declare class SIPDispatchRuleUpdate extends Message<SIPDispatchRuleUpdate
1890
1900
  */
1891
1901
  attributes: { [key: string]: string };
1892
1902
 
1903
+ /**
1904
+ * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 6;
1905
+ */
1906
+ mediaEncryption?: SIPMediaEncryption;
1907
+
1893
1908
  constructor(data?: PartialMessage<SIPDispatchRuleUpdate>);
1894
1909
 
1895
1910
  static readonly runtime: typeof proto3;
@@ -2294,6 +2309,13 @@ export declare class TransferSIPParticipantRequest extends Message<TransferSIPPa
2294
2309
  */
2295
2310
  headers: { [key: string]: string };
2296
2311
 
2312
+ /**
2313
+ * Max time for the transfer destination to answer the call.
2314
+ *
2315
+ * @generated from field: google.protobuf.Duration ringing_timeout = 6;
2316
+ */
2317
+ ringingTimeout?: Duration;
2318
+
2297
2319
  constructor(data?: PartialMessage<TransferSIPParticipantRequest>);
2298
2320
 
2299
2321
  static readonly runtime: typeof proto3;
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
16
  // @generated from file livekit_sip.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -283,6 +283,7 @@ export const SIPInboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
283
283
  { no: 5, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
284
284
  { no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
285
285
  { no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
286
+ { no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
286
287
  ],
287
288
  );
288
289
 
@@ -343,6 +344,7 @@ export const SIPOutboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
343
344
  { no: 5, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
344
345
  { no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
345
346
  { no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
347
+ { no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
346
348
  ],
347
349
  );
348
350
 
@@ -575,6 +577,7 @@ export const SIPDispatchRuleUpdate = /*@__PURE__*/ proto3.makeMessageType(
575
577
  { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
576
578
  { no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
577
579
  { no: 5, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
580
+ { no: 6, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
578
581
  ],
579
582
  );
580
583
 
@@ -683,6 +686,7 @@ export const TransferSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageTyp
683
686
  { no: 3, name: "transfer_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
684
687
  { no: 4, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
685
688
  { no: 5, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
689
+ { no: 6, name: "ringing_timeout", kind: "message", T: Duration },
686
690
  ],
687
691
  );
688
692
 
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
16
  // @generated from file livekit_webhook.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
16
  // @generated from file livekit_webhook.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.36.0';
2
+ export const version = '1.37.0';