@livekit/protocol
Advanced tools
Comparing version 1.20.1 to 1.21.0
{ | ||
"name": "@livekit/protocol", | ||
"version": "1.20.1", | ||
"version": "1.21.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -1616,2 +1616,12 @@ // Copyright 2023 LiveKit, Inc. | ||
CPP = 10, | ||
/** | ||
* @generated from enum value: UNITY_WEB = 11; | ||
*/ | ||
UNITY_WEB = 11, | ||
/** | ||
* @generated from enum value: NODE = 12; | ||
*/ | ||
NODE = 12, | ||
} | ||
@@ -1618,0 +1628,0 @@ |
@@ -561,2 +561,4 @@ // Copyright 2023 LiveKit, Inc. | ||
{no: 10, name: "CPP"}, | ||
{no: 11, name: "UNITY_WEB"}, | ||
{no: 12, name: "NODE"}, | ||
], | ||
@@ -563,0 +565,0 @@ ); |
@@ -695,2 +695,42 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* @generated from message livekit.SIPDispatchRuleCallee | ||
*/ | ||
export declare class SIPDispatchRuleCallee extends Message<SIPDispatchRuleCallee> { | ||
/** | ||
* Prefix used on new room name | ||
* | ||
* @generated from field: string room_prefix = 1; | ||
*/ | ||
roomPrefix: string; | ||
/** | ||
* Optional pin required to enter room | ||
* | ||
* @generated from field: string pin = 2; | ||
*/ | ||
pin: string; | ||
/** | ||
* Optionally append random suffix | ||
* | ||
* @generated from field: bool randomize = 3; | ||
*/ | ||
randomize: boolean; | ||
constructor(data?: PartialMessage<SIPDispatchRuleCallee>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.SIPDispatchRuleCallee"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleCallee; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleCallee; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleCallee; | ||
static equals(a: SIPDispatchRuleCallee | PlainMessage<SIPDispatchRuleCallee> | undefined, b: SIPDispatchRuleCallee | PlainMessage<SIPDispatchRuleCallee> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.SIPDispatchRule | ||
@@ -720,2 +760,10 @@ */ | ||
case: "dispatchRuleIndividual"; | ||
} | { | ||
/** | ||
* SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee. | ||
* | ||
* @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3; | ||
*/ | ||
value: SIPDispatchRuleCallee; | ||
case: "dispatchRuleCallee"; | ||
} | { case: undefined; value?: undefined }; | ||
@@ -722,0 +770,0 @@ |
@@ -235,2 +235,14 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* @generated from message livekit.SIPDispatchRuleCallee | ||
*/ | ||
export const SIPDispatchRuleCallee = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.SIPDispatchRuleCallee", | ||
() => [ | ||
{ no: 1, name: "room_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "randomize", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.SIPDispatchRule | ||
@@ -243,2 +255,3 @@ */ | ||
{ no: 2, name: "dispatch_rule_individual", kind: "message", T: SIPDispatchRuleIndividual, oneof: "rule" }, | ||
{ no: 3, name: "dispatch_rule_callee", kind: "message", T: SIPDispatchRuleCallee, oneof: "rule" }, | ||
], | ||
@@ -245,0 +258,0 @@ ); |
// Generated by genversion. | ||
export const version = '1.20.1'; | ||
export const version = '1.21.0'; |
491277
12857