@livekit/protocol 1.36.1 → 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.
- package/dist/index.cjs +45 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +107 -2
- package/dist/index.d.mts +107 -2
- package/dist/index.d.ts +107 -2
- package/dist/index.mjs +45 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +1 -1
- package/src/gen/livekit_agent_dispatch_pb.js +1 -1
- package/src/gen/livekit_agent_pb.d.ts +1 -1
- package/src/gen/livekit_agent_pb.js +1 -1
- package/src/gen/livekit_analytics_pb.d.ts +1 -1
- package/src/gen/livekit_analytics_pb.js +1 -1
- package/src/gen/livekit_cloud_agent_pb.d.ts +1 -1
- package/src/gen/livekit_cloud_agent_pb.js +1 -1
- package/src/gen/livekit_egress_pb.d.ts +44 -2
- package/src/gen/livekit_egress_pb.js +8 -2
- package/src/gen/livekit_ingress_pb.d.ts +1 -1
- package/src/gen/livekit_ingress_pb.js +1 -1
- package/src/gen/livekit_internal_pb.d.ts +180 -21
- package/src/gen/livekit_internal_pb.js +36 -1
- package/src/gen/livekit_metrics_pb.d.ts +1 -1
- package/src/gen/livekit_metrics_pb.js +1 -1
- package/src/gen/livekit_models_pb.d.ts +42 -1
- package/src/gen/livekit_models_pb.js +14 -1
- package/src/gen/livekit_room_pb.d.ts +1 -1
- package/src/gen/livekit_room_pb.js +1 -1
- package/src/gen/livekit_rtc_pb.d.ts +1 -1
- package/src/gen/livekit_rtc_pb.js +1 -1
- package/src/gen/livekit_sip_pb.d.ts +23 -1
- package/src/gen/livekit_sip_pb.js +5 -1
- package/src/gen/livekit_webhook_pb.d.ts +1 -1
- package/src/gen/livekit_webhook_pb.js +1 -1
- package/src/gen/version.js +1 -1
|
@@ -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.
|
|
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
|
|
@@ -334,6 +334,13 @@ export declare enum DisconnectReason {
|
|
|
334
334
|
* @generated from enum value: SIP_TRUNK_FAILURE = 13;
|
|
335
335
|
*/
|
|
336
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,
|
|
337
344
|
}
|
|
338
345
|
|
|
339
346
|
/**
|
|
@@ -2026,6 +2033,11 @@ export declare enum ClientInfo_SDK {
|
|
|
2026
2033
|
* @generated from enum value: NODE = 12;
|
|
2027
2034
|
*/
|
|
2028
2035
|
NODE = 12,
|
|
2036
|
+
|
|
2037
|
+
/**
|
|
2038
|
+
* @generated from enum value: UNREAL = 13;
|
|
2039
|
+
*/
|
|
2040
|
+
UNREAL = 13,
|
|
2029
2041
|
}
|
|
2030
2042
|
|
|
2031
2043
|
/**
|
|
@@ -2997,3 +3009,32 @@ export declare class DataStream_Trailer extends Message<DataStream_Trailer> {
|
|
|
2997
3009
|
static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
|
|
2998
3010
|
}
|
|
2999
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.
|
|
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
|
|
@@ -155,6 +155,7 @@ export const DisconnectReason = /*@__PURE__*/ proto3.makeEnum(
|
|
|
155
155
|
{no: 11, name: "USER_UNAVAILABLE"},
|
|
156
156
|
{no: 12, name: "USER_REJECTED"},
|
|
157
157
|
{no: 13, name: "SIP_TRUNK_FAILURE"},
|
|
158
|
+
{no: 14, name: "CONNECTION_TIMEOUT"},
|
|
158
159
|
],
|
|
159
160
|
);
|
|
160
161
|
|
|
@@ -687,6 +688,7 @@ export const ClientInfo_SDK = /*@__PURE__*/ proto3.makeEnum(
|
|
|
687
688
|
{no: 10, name: "CPP"},
|
|
688
689
|
{no: 11, name: "UNITY_WEB"},
|
|
689
690
|
{no: 12, name: "NODE"},
|
|
691
|
+
{no: 13, name: "UNREAL"},
|
|
690
692
|
],
|
|
691
693
|
);
|
|
692
694
|
|
|
@@ -976,3 +978,14 @@ export const DataStream_Trailer = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
976
978
|
{localName: "DataStream_Trailer"},
|
|
977
979
|
);
|
|
978
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.
|
|
2
|
+
export const version = '1.37.0';
|