@livekit/protocol
Advanced tools
Comparing version 1.30.0 to 1.31.0
{ | ||
"name": "@livekit/protocol", | ||
"version": "1.30.0", | ||
"version": "1.31.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -216,2 +216,9 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* The default value is true and when set to false, the new connection attempts will be rejected | ||
* | ||
* @generated from field: optional bool enabled = 12; | ||
*/ | ||
enabled?: boolean; | ||
constructor(data?: PartialMessage<CreateIngressRequest>); | ||
@@ -491,2 +498,9 @@ | ||
/** | ||
* The default value is true and when set to false, the new connection attempts will be rejected | ||
* | ||
* @generated from field: optional bool enabled = 16; | ||
*/ | ||
enabled?: boolean; | ||
constructor(data?: PartialMessage<IngressInfo>); | ||
@@ -748,2 +762,9 @@ | ||
/** | ||
* The default value is true and when set to false, the new connection attempts will be rejected | ||
* | ||
* @generated from field: optional bool enabled = 11; | ||
*/ | ||
enabled?: boolean; | ||
constructor(data?: PartialMessage<UpdateIngressRequest>); | ||
@@ -750,0 +771,0 @@ |
@@ -82,2 +82,3 @@ // Copyright 2023 LiveKit, Inc. | ||
{ no: 7, name: "video", kind: "message", T: IngressVideoOptions }, | ||
{ no: 12, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, | ||
], | ||
@@ -158,2 +159,3 @@ ); | ||
{ no: 12, name: "state", kind: "message", T: IngressState }, | ||
{ no: 16, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, | ||
], | ||
@@ -238,2 +240,3 @@ ); | ||
{ no: 7, name: "video", kind: "message", T: IngressVideoOptions }, | ||
{ no: 11, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, | ||
], | ||
@@ -240,0 +243,0 @@ ); |
@@ -400,2 +400,3 @@ // Copyright 2023 LiveKit, Inc. | ||
{ no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" }, | ||
{ no: 15, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" }, | ||
], | ||
@@ -907,5 +908,4 @@ ); | ||
{ no: 3, name: "content", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, | ||
{ no: 4, name: "complete", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 5, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, | ||
{ no: 6, name: "iv", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true }, | ||
{ no: 4, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, | ||
{ no: 5, name: "iv", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true }, | ||
], | ||
@@ -915,1 +915,14 @@ {localName: "DataStream_Chunk"}, | ||
/** | ||
* @generated from message livekit.DataStream.Trailer | ||
*/ | ||
export const DataStream_Trailer = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.DataStream.Trailer", | ||
() => [ | ||
{ no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 2, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, | ||
], | ||
{localName: "DataStream_Trailer"}, | ||
); | ||
@@ -77,2 +77,28 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* @generated from enum livekit.SIPMediaEncryption | ||
*/ | ||
export declare enum SIPMediaEncryption { | ||
/** | ||
* do not enable encryption | ||
* | ||
* @generated from enum value: SIP_MEDIA_ENCRYPT_DISABLE = 0; | ||
*/ | ||
SIP_MEDIA_ENCRYPT_DISABLE = 0, | ||
/** | ||
* use encryption if available | ||
* | ||
* @generated from enum value: SIP_MEDIA_ENCRYPT_ALLOW = 1; | ||
*/ | ||
SIP_MEDIA_ENCRYPT_ALLOW = 1, | ||
/** | ||
* require encryption | ||
* | ||
* @generated from enum value: SIP_MEDIA_ENCRYPT_REQUIRE = 2; | ||
*/ | ||
SIP_MEDIA_ENCRYPT_REQUIRE = 2, | ||
} | ||
/** | ||
* @generated from enum livekit.SIPCallStatus | ||
@@ -133,2 +159,22 @@ */ | ||
/** | ||
* @generated from enum livekit.SIPCallDirection | ||
*/ | ||
export declare enum SIPCallDirection { | ||
/** | ||
* @generated from enum value: SCD_UNKNOWN = 0; | ||
*/ | ||
SCD_UNKNOWN = 0, | ||
/** | ||
* @generated from enum value: SCD_INBOUND = 1; | ||
*/ | ||
SCD_INBOUND = 1, | ||
/** | ||
* @generated from enum value: SCD_OUTBOUND = 2; | ||
*/ | ||
SCD_OUTBOUND = 2, | ||
} | ||
/** | ||
* @generated from message livekit.CreateSIPTrunkRequest | ||
@@ -497,2 +543,7 @@ * @deprecated | ||
/** | ||
* @generated from field: livekit.SIPMediaEncryption media_encryption = 16; | ||
*/ | ||
mediaEncryption: SIPMediaEncryption; | ||
constructor(data?: PartialMessage<SIPInboundTrunkInfo>); | ||
@@ -633,2 +684,7 @@ | ||
/** | ||
* @generated from field: livekit.SIPMediaEncryption media_encryption = 13; | ||
*/ | ||
mediaEncryption: SIPMediaEncryption; | ||
constructor(data?: PartialMessage<SIPOutboundTrunkInfo>); | ||
@@ -1238,4 +1294,2 @@ | ||
* | ||
* NEXT ID: 11 | ||
* | ||
* @generated from field: livekit.RoomConfiguration room_config = 10; | ||
@@ -1245,2 +1299,14 @@ */ | ||
/** | ||
* @generated from field: bool krisp_enabled = 11; | ||
*/ | ||
krispEnabled: boolean; | ||
/** | ||
* NEXT ID: 13 | ||
* | ||
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12; | ||
*/ | ||
mediaEncryption: SIPMediaEncryption; | ||
constructor(data?: PartialMessage<SIPDispatchRuleInfo>); | ||
@@ -1473,7 +1539,12 @@ | ||
* | ||
* NEXT ID: 18 | ||
* @generated from field: bool krisp_enabled = 14; | ||
*/ | ||
krispEnabled: boolean; | ||
/** | ||
* NEXT ID: 19 | ||
* | ||
* @generated from field: bool enable_krisp = 14; | ||
* @generated from field: livekit.SIPMediaEncryption media_encryption = 18; | ||
*/ | ||
enableKrisp: boolean; | ||
mediaEncryption: SIPMediaEncryption; | ||
@@ -1629,2 +1700,7 @@ constructor(data?: PartialMessage<CreateSIPParticipantRequest>); | ||
/** | ||
* @generated from field: livekit.SIPCallDirection call_direction = 15; | ||
*/ | ||
callDirection: SIPCallDirection; | ||
/** | ||
* @generated from field: livekit.SIPCallStatus call_status = 8; | ||
@@ -1631,0 +1707,0 @@ */ |
@@ -50,2 +50,14 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* @generated from enum livekit.SIPMediaEncryption | ||
*/ | ||
export const SIPMediaEncryption = /*@__PURE__*/ proto3.makeEnum( | ||
"livekit.SIPMediaEncryption", | ||
[ | ||
{no: 0, name: "SIP_MEDIA_ENCRYPT_DISABLE"}, | ||
{no: 1, name: "SIP_MEDIA_ENCRYPT_ALLOW"}, | ||
{no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE"}, | ||
], | ||
); | ||
/** | ||
* @generated from enum livekit.SIPCallStatus | ||
@@ -76,2 +88,14 @@ */ | ||
/** | ||
* @generated from enum livekit.SIPCallDirection | ||
*/ | ||
export const SIPCallDirection = /*@__PURE__*/ proto3.makeEnum( | ||
"livekit.SIPCallDirection", | ||
[ | ||
{no: 0, name: "SCD_UNKNOWN"}, | ||
{no: 1, name: "SCD_INBOUND"}, | ||
{no: 2, name: "SCD_OUTBOUND"}, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.CreateSIPTrunkRequest | ||
@@ -164,2 +188,3 @@ * @deprecated | ||
{ no: 13, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 16, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) }, | ||
], | ||
@@ -196,2 +221,3 @@ ); | ||
{ no: 12, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) }, | ||
{ no: 13, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) }, | ||
], | ||
@@ -396,2 +422,4 @@ ); | ||
{ no: 10, name: "room_config", kind: "message", T: RoomConfiguration }, | ||
{ no: 11, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 12, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) }, | ||
], | ||
@@ -458,3 +486,4 @@ ); | ||
{ no: 12, name: "max_call_duration", kind: "message", T: Duration }, | ||
{ no: 14, name: "enable_krisp", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 14, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 18, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) }, | ||
], | ||
@@ -504,2 +533,3 @@ ); | ||
{ no: 14, name: "enabled_features", kind: "enum", T: proto3.getEnumType(SIPFeature), repeated: true }, | ||
{ no: 15, name: "call_direction", kind: "enum", T: proto3.getEnumType(SIPCallDirection) }, | ||
{ no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) }, | ||
@@ -506,0 +536,0 @@ { no: 9, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, |
// Generated by genversion. | ||
export const version = '1.30.0'; | ||
export const version = '1.31.0'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
2492238
36497