@livekit/protocol 1.36.1 → 1.37.1
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 +49 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +127 -4
- package/dist/index.d.mts +127 -4
- package/dist/index.d.ts +127 -4
- package/dist/index.mjs +49 -16
- 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 +49 -1
- package/src/gen/livekit_models_pb.js +15 -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 +14 -3
- package/src/gen/livekit_rtc_pb.js +2 -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
|
/**
|
|
@@ -419,6 +426,13 @@ export declare enum AudioTrackFeature {
|
|
|
419
426
|
* @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5;
|
|
420
427
|
*/
|
|
421
428
|
TF_ENHANCED_NOISE_CANCELLATION = 5,
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* client will buffer audio once available and send it to the server via bytes stream once connected
|
|
432
|
+
*
|
|
433
|
+
* @generated from enum value: TF_PRECONNECT_BUFFER = 6;
|
|
434
|
+
*/
|
|
435
|
+
TF_PRECONNECT_BUFFER = 6,
|
|
422
436
|
}
|
|
423
437
|
|
|
424
438
|
/**
|
|
@@ -2026,6 +2040,11 @@ export declare enum ClientInfo_SDK {
|
|
|
2026
2040
|
* @generated from enum value: NODE = 12;
|
|
2027
2041
|
*/
|
|
2028
2042
|
NODE = 12,
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* @generated from enum value: UNREAL = 13;
|
|
2046
|
+
*/
|
|
2047
|
+
UNREAL = 13,
|
|
2029
2048
|
}
|
|
2030
2049
|
|
|
2031
2050
|
/**
|
|
@@ -2997,3 +3016,32 @@ export declare class DataStream_Trailer extends Message<DataStream_Trailer> {
|
|
|
2997
3016
|
static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
|
|
2998
3017
|
}
|
|
2999
3018
|
|
|
3019
|
+
/**
|
|
3020
|
+
* @generated from message livekit.WebhookConfig
|
|
3021
|
+
*/
|
|
3022
|
+
export declare class WebhookConfig extends Message<WebhookConfig> {
|
|
3023
|
+
/**
|
|
3024
|
+
* @generated from field: string url = 1;
|
|
3025
|
+
*/
|
|
3026
|
+
url: string;
|
|
3027
|
+
|
|
3028
|
+
/**
|
|
3029
|
+
* @generated from field: string signing_key = 2;
|
|
3030
|
+
*/
|
|
3031
|
+
signingKey: string;
|
|
3032
|
+
|
|
3033
|
+
constructor(data?: PartialMessage<WebhookConfig>);
|
|
3034
|
+
|
|
3035
|
+
static readonly runtime: typeof proto3;
|
|
3036
|
+
static readonly typeName = "livekit.WebhookConfig";
|
|
3037
|
+
static readonly fields: FieldList;
|
|
3038
|
+
|
|
3039
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebhookConfig;
|
|
3040
|
+
|
|
3041
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebhookConfig;
|
|
3042
|
+
|
|
3043
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebhookConfig;
|
|
3044
|
+
|
|
3045
|
+
static equals(a: WebhookConfig | PlainMessage<WebhookConfig> | undefined, b: WebhookConfig | PlainMessage<WebhookConfig> | undefined): boolean;
|
|
3046
|
+
}
|
|
3047
|
+
|
|
@@ -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
|
|
|
@@ -196,6 +197,7 @@ export const AudioTrackFeature = /*@__PURE__*/ proto3.makeEnum(
|
|
|
196
197
|
{no: 3, name: "TF_ECHO_CANCELLATION"},
|
|
197
198
|
{no: 4, name: "TF_NOISE_SUPPRESSION"},
|
|
198
199
|
{no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION"},
|
|
200
|
+
{no: 6, name: "TF_PRECONNECT_BUFFER"},
|
|
199
201
|
],
|
|
200
202
|
);
|
|
201
203
|
|
|
@@ -687,6 +689,7 @@ export const ClientInfo_SDK = /*@__PURE__*/ proto3.makeEnum(
|
|
|
687
689
|
{no: 10, name: "CPP"},
|
|
688
690
|
{no: 11, name: "UNITY_WEB"},
|
|
689
691
|
{no: 12, name: "NODE"},
|
|
692
|
+
{no: 13, name: "UNREAL"},
|
|
690
693
|
],
|
|
691
694
|
);
|
|
692
695
|
|
|
@@ -976,3 +979,14 @@ export const DataStream_Trailer = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
976
979
|
{localName: "DataStream_Trailer"},
|
|
977
980
|
);
|
|
978
981
|
|
|
982
|
+
/**
|
|
983
|
+
* @generated from message livekit.WebhookConfig
|
|
984
|
+
*/
|
|
985
|
+
export const WebhookConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
986
|
+
"livekit.WebhookConfig",
|
|
987
|
+
() => [
|
|
988
|
+
{ no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
989
|
+
{ no: 2, name: "signing_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
990
|
+
],
|
|
991
|
+
);
|
|
992
|
+
|
|
@@ -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
|
|
@@ -504,7 +504,10 @@ export declare class AddTrackRequest extends Message<AddTrackRequest> {
|
|
|
504
504
|
/**
|
|
505
505
|
* true if DTX (Discontinuous Transmission) is disabled for audio
|
|
506
506
|
*
|
|
507
|
-
*
|
|
507
|
+
* deprecated in favor of audio_features
|
|
508
|
+
*
|
|
509
|
+
* @generated from field: bool disable_dtx = 7 [deprecated = true];
|
|
510
|
+
* @deprecated
|
|
508
511
|
*/
|
|
509
512
|
disableDtx: boolean;
|
|
510
513
|
|
|
@@ -531,7 +534,10 @@ export declare class AddTrackRequest extends Message<AddTrackRequest> {
|
|
|
531
534
|
sid: string;
|
|
532
535
|
|
|
533
536
|
/**
|
|
534
|
-
*
|
|
537
|
+
* deprecated in favor of audio_features
|
|
538
|
+
*
|
|
539
|
+
* @generated from field: bool stereo = 12 [deprecated = true];
|
|
540
|
+
* @deprecated
|
|
535
541
|
*/
|
|
536
542
|
stereo: boolean;
|
|
537
543
|
|
|
@@ -560,6 +566,11 @@ export declare class AddTrackRequest extends Message<AddTrackRequest> {
|
|
|
560
566
|
*/
|
|
561
567
|
backupCodecPolicy: BackupCodecPolicy;
|
|
562
568
|
|
|
569
|
+
/**
|
|
570
|
+
* @generated from field: repeated livekit.AudioTrackFeature audio_features = 17;
|
|
571
|
+
*/
|
|
572
|
+
audioFeatures: AudioTrackFeature[];
|
|
573
|
+
|
|
563
574
|
constructor(data?: PartialMessage<AddTrackRequest>);
|
|
564
575
|
|
|
565
576
|
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_rtc.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -144,6 +144,7 @@ export const AddTrackRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
144
144
|
{ no: 14, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
|
|
145
145
|
{ no: 15, name: "stream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
146
146
|
{ no: 16, name: "backup_codec_policy", kind: "enum", T: proto3.getEnumType(BackupCodecPolicy) },
|
|
147
|
+
{ no: 17, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true },
|
|
147
148
|
],
|
|
148
149
|
);
|
|
149
150
|
|
|
@@ -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.1';
|