@livekit/protocol 1.20.1 → 1.21.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.20.1",
3
+ "version": "1.21.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -1613,6 +1613,16 @@ export declare enum ClientInfo_SDK {
1613
1613
  * @generated from enum value: CPP = 10;
1614
1614
  */
1615
1615
  CPP = 10,
1616
+
1617
+ /**
1618
+ * @generated from enum value: UNITY_WEB = 11;
1619
+ */
1620
+ UNITY_WEB = 11,
1621
+
1622
+ /**
1623
+ * @generated from enum value: NODE = 12;
1624
+ */
1625
+ NODE = 12,
1616
1626
  }
1617
1627
 
1618
1628
  /**
@@ -558,6 +558,8 @@ export const ClientInfo_SDK = /*@__PURE__*/ proto3.makeEnum(
558
558
  {no: 8, name: "RUST"},
559
559
  {no: 9, name: "PYTHON"},
560
560
  {no: 10, name: "CPP"},
561
+ {no: 11, name: "UNITY_WEB"},
562
+ {no: 12, name: "NODE"},
561
563
  ],
562
564
  );
563
565
 
@@ -691,6 +691,46 @@ export declare class SIPDispatchRuleIndividual extends Message<SIPDispatchRuleIn
691
691
  static equals(a: SIPDispatchRuleIndividual | PlainMessage<SIPDispatchRuleIndividual> | undefined, b: SIPDispatchRuleIndividual | PlainMessage<SIPDispatchRuleIndividual> | undefined): boolean;
692
692
  }
693
693
 
694
+ /**
695
+ * @generated from message livekit.SIPDispatchRuleCallee
696
+ */
697
+ export declare class SIPDispatchRuleCallee extends Message<SIPDispatchRuleCallee> {
698
+ /**
699
+ * Prefix used on new room name
700
+ *
701
+ * @generated from field: string room_prefix = 1;
702
+ */
703
+ roomPrefix: string;
704
+
705
+ /**
706
+ * Optional pin required to enter room
707
+ *
708
+ * @generated from field: string pin = 2;
709
+ */
710
+ pin: string;
711
+
712
+ /**
713
+ * Optionally append random suffix
714
+ *
715
+ * @generated from field: bool randomize = 3;
716
+ */
717
+ randomize: boolean;
718
+
719
+ constructor(data?: PartialMessage<SIPDispatchRuleCallee>);
720
+
721
+ static readonly runtime: typeof proto3;
722
+ static readonly typeName = "livekit.SIPDispatchRuleCallee";
723
+ static readonly fields: FieldList;
724
+
725
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleCallee;
726
+
727
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleCallee;
728
+
729
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleCallee;
730
+
731
+ static equals(a: SIPDispatchRuleCallee | PlainMessage<SIPDispatchRuleCallee> | undefined, b: SIPDispatchRuleCallee | PlainMessage<SIPDispatchRuleCallee> | undefined): boolean;
732
+ }
733
+
694
734
  /**
695
735
  * @generated from message livekit.SIPDispatchRule
696
736
  */
@@ -716,6 +756,14 @@ export declare class SIPDispatchRule extends Message<SIPDispatchRule> {
716
756
  */
717
757
  value: SIPDispatchRuleIndividual;
718
758
  case: "dispatchRuleIndividual";
759
+ } | {
760
+ /**
761
+ * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee.
762
+ *
763
+ * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3;
764
+ */
765
+ value: SIPDispatchRuleCallee;
766
+ case: "dispatchRuleCallee";
719
767
  } | { case: undefined; value?: undefined };
720
768
 
721
769
  constructor(data?: PartialMessage<SIPDispatchRule>);
@@ -231,6 +231,18 @@ export const SIPDispatchRuleIndividual = /*@__PURE__*/ proto3.makeMessageType(
231
231
  ],
232
232
  );
233
233
 
234
+ /**
235
+ * @generated from message livekit.SIPDispatchRuleCallee
236
+ */
237
+ export const SIPDispatchRuleCallee = /*@__PURE__*/ proto3.makeMessageType(
238
+ "livekit.SIPDispatchRuleCallee",
239
+ () => [
240
+ { no: 1, name: "room_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
241
+ { no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
242
+ { no: 3, name: "randomize", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
243
+ ],
244
+ );
245
+
234
246
  /**
235
247
  * @generated from message livekit.SIPDispatchRule
236
248
  */
@@ -239,6 +251,7 @@ export const SIPDispatchRule = /*@__PURE__*/ proto3.makeMessageType(
239
251
  () => [
240
252
  { no: 1, name: "dispatch_rule_direct", kind: "message", T: SIPDispatchRuleDirect, oneof: "rule" },
241
253
  { no: 2, name: "dispatch_rule_individual", kind: "message", T: SIPDispatchRuleIndividual, oneof: "rule" },
254
+ { no: 3, name: "dispatch_rule_callee", kind: "message", T: SIPDispatchRuleCallee, oneof: "rule" },
242
255
  ],
243
256
  );
244
257
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.20.1';
2
+ export const version = '1.21.0';