@livekit/protocol 1.10.4 → 1.12.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 +1 -1
- package/src/gen/livekit_egress_pb.d.ts +41 -2
- package/src/gen/livekit_egress_pb.js +14 -1
- package/src/gen/livekit_models_pb.d.ts +42 -2
- package/src/gen/livekit_models_pb.js +16 -0
- package/src/gen/livekit_rtc_pb.d.ts +80 -1
- package/src/gen/livekit_rtc_pb.js +26 -1
- package/src/gen/livekit_sip_pb.d.ts +8 -0
- package/src/gen/livekit_sip_pb.js +1 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -1067,6 +1067,11 @@ export declare class S3Upload extends Message<S3Upload> {
|
|
|
1067
1067
|
*/
|
|
1068
1068
|
contentDisposition: string;
|
|
1069
1069
|
|
|
1070
|
+
/**
|
|
1071
|
+
* @generated from field: livekit.ProxyConfig proxy = 10;
|
|
1072
|
+
*/
|
|
1073
|
+
proxy?: ProxyConfig;
|
|
1074
|
+
|
|
1070
1075
|
constructor(data?: PartialMessage<S3Upload>);
|
|
1071
1076
|
|
|
1072
1077
|
static readonly runtime: typeof proto3;
|
|
@@ -1099,9 +1104,9 @@ export declare class GCPUpload extends Message<GCPUpload> {
|
|
|
1099
1104
|
bucket: string;
|
|
1100
1105
|
|
|
1101
1106
|
/**
|
|
1102
|
-
* @generated from field:
|
|
1107
|
+
* @generated from field: livekit.ProxyConfig proxy = 3;
|
|
1103
1108
|
*/
|
|
1104
|
-
|
|
1109
|
+
proxy?: ProxyConfig;
|
|
1105
1110
|
|
|
1106
1111
|
constructor(data?: PartialMessage<GCPUpload>);
|
|
1107
1112
|
|
|
@@ -1196,6 +1201,40 @@ export declare class AliOSSUpload extends Message<AliOSSUpload> {
|
|
|
1196
1201
|
static equals(a: AliOSSUpload | PlainMessage<AliOSSUpload> | undefined, b: AliOSSUpload | PlainMessage<AliOSSUpload> | undefined): boolean;
|
|
1197
1202
|
}
|
|
1198
1203
|
|
|
1204
|
+
/**
|
|
1205
|
+
* @generated from message livekit.ProxyConfig
|
|
1206
|
+
*/
|
|
1207
|
+
export declare class ProxyConfig extends Message<ProxyConfig> {
|
|
1208
|
+
/**
|
|
1209
|
+
* @generated from field: string url = 1;
|
|
1210
|
+
*/
|
|
1211
|
+
url: string;
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* @generated from field: string username = 2;
|
|
1215
|
+
*/
|
|
1216
|
+
username: string;
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* @generated from field: string password = 3;
|
|
1220
|
+
*/
|
|
1221
|
+
password: string;
|
|
1222
|
+
|
|
1223
|
+
constructor(data?: PartialMessage<ProxyConfig>);
|
|
1224
|
+
|
|
1225
|
+
static readonly runtime: typeof proto3;
|
|
1226
|
+
static readonly typeName = "livekit.ProxyConfig";
|
|
1227
|
+
static readonly fields: FieldList;
|
|
1228
|
+
|
|
1229
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProxyConfig;
|
|
1230
|
+
|
|
1231
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProxyConfig;
|
|
1232
|
+
|
|
1233
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProxyConfig;
|
|
1234
|
+
|
|
1235
|
+
static equals(a: ProxyConfig | PlainMessage<ProxyConfig> | undefined, b: ProxyConfig | PlainMessage<ProxyConfig> | undefined): boolean;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1199
1238
|
/**
|
|
1200
1239
|
* @generated from message livekit.StreamOutput
|
|
1201
1240
|
*/
|
|
@@ -304,6 +304,7 @@ export const S3Upload = proto3.makeMessageType(
|
|
|
304
304
|
{ no: 7, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
305
305
|
{ no: 8, name: "tagging", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
306
306
|
{ no: 9, name: "content_disposition", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
307
|
+
{ no: 10, name: "proxy", kind: "message", T: ProxyConfig },
|
|
307
308
|
],
|
|
308
309
|
);
|
|
309
310
|
|
|
@@ -315,7 +316,7 @@ export const GCPUpload = proto3.makeMessageType(
|
|
|
315
316
|
() => [
|
|
316
317
|
{ no: 1, name: "credentials", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
317
318
|
{ no: 2, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
318
|
-
{ no: 3, name: "
|
|
319
|
+
{ no: 3, name: "proxy", kind: "message", T: ProxyConfig },
|
|
319
320
|
],
|
|
320
321
|
);
|
|
321
322
|
|
|
@@ -345,6 +346,18 @@ export const AliOSSUpload = proto3.makeMessageType(
|
|
|
345
346
|
],
|
|
346
347
|
);
|
|
347
348
|
|
|
349
|
+
/**
|
|
350
|
+
* @generated from message livekit.ProxyConfig
|
|
351
|
+
*/
|
|
352
|
+
export const ProxyConfig = proto3.makeMessageType(
|
|
353
|
+
"livekit.ProxyConfig",
|
|
354
|
+
() => [
|
|
355
|
+
{ no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
356
|
+
{ no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
357
|
+
{ no: 3, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
358
|
+
],
|
|
359
|
+
);
|
|
360
|
+
|
|
348
361
|
/**
|
|
349
362
|
* @generated from message livekit.StreamOutput
|
|
350
363
|
*/
|
|
@@ -310,6 +310,41 @@ export declare enum SubscriptionError {
|
|
|
310
310
|
SE_TRACK_NOTFOUND = 2,
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
+
/**
|
|
314
|
+
* @generated from enum livekit.AudioTrackFeature
|
|
315
|
+
*/
|
|
316
|
+
export declare enum AudioTrackFeature {
|
|
317
|
+
/**
|
|
318
|
+
* @generated from enum value: TF_STEREO = 0;
|
|
319
|
+
*/
|
|
320
|
+
TF_STEREO = 0,
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* @generated from enum value: TF_NO_DTX = 1;
|
|
324
|
+
*/
|
|
325
|
+
TF_NO_DTX = 1,
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* @generated from enum value: TF_AUTO_GAIN_CONTROL = 2;
|
|
329
|
+
*/
|
|
330
|
+
TF_AUTO_GAIN_CONTROL = 2,
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* @generated from enum value: TF_ECHO_CANCELLATION = 3;
|
|
334
|
+
*/
|
|
335
|
+
TF_ECHO_CANCELLATION = 3,
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* @generated from enum value: TF_NOISE_SUPPRESSION = 4;
|
|
339
|
+
*/
|
|
340
|
+
TF_NOISE_SUPPRESSION = 4,
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5;
|
|
344
|
+
*/
|
|
345
|
+
TF_ENHANCED_NOISE_CANCELLATION = 5,
|
|
346
|
+
}
|
|
347
|
+
|
|
313
348
|
/**
|
|
314
349
|
* @generated from message livekit.Room
|
|
315
350
|
*/
|
|
@@ -1789,12 +1824,17 @@ export declare class RTPStats extends Message<RTPStats> {
|
|
|
1789
1824
|
packetDrift?: RTPDrift;
|
|
1790
1825
|
|
|
1791
1826
|
/**
|
|
1792
|
-
* NEXT_ID: 46
|
|
1793
|
-
*
|
|
1794
1827
|
* @generated from field: livekit.RTPDrift report_drift = 45;
|
|
1795
1828
|
*/
|
|
1796
1829
|
reportDrift?: RTPDrift;
|
|
1797
1830
|
|
|
1831
|
+
/**
|
|
1832
|
+
* NEXT_ID: 47
|
|
1833
|
+
*
|
|
1834
|
+
* @generated from field: livekit.RTPDrift rebased_report_drift = 46;
|
|
1835
|
+
*/
|
|
1836
|
+
rebasedReportDrift?: RTPDrift;
|
|
1837
|
+
|
|
1798
1838
|
constructor(data?: PartialMessage<RTPStats>);
|
|
1799
1839
|
|
|
1800
1840
|
static readonly runtime: typeof proto3;
|
|
@@ -165,6 +165,21 @@ export const SubscriptionError = proto3.makeEnum(
|
|
|
165
165
|
],
|
|
166
166
|
);
|
|
167
167
|
|
|
168
|
+
/**
|
|
169
|
+
* @generated from enum livekit.AudioTrackFeature
|
|
170
|
+
*/
|
|
171
|
+
export const AudioTrackFeature = proto3.makeEnum(
|
|
172
|
+
"livekit.AudioTrackFeature",
|
|
173
|
+
[
|
|
174
|
+
{no: 0, name: "TF_STEREO"},
|
|
175
|
+
{no: 1, name: "TF_NO_DTX"},
|
|
176
|
+
{no: 2, name: "TF_AUTO_GAIN_CONTROL"},
|
|
177
|
+
{no: 3, name: "TF_ECHO_CANCELLATION"},
|
|
178
|
+
{no: 4, name: "TF_NOISE_SUPPRESSION"},
|
|
179
|
+
{no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION"},
|
|
180
|
+
],
|
|
181
|
+
);
|
|
182
|
+
|
|
168
183
|
/**
|
|
169
184
|
* @generated from message livekit.Room
|
|
170
185
|
*/
|
|
@@ -611,6 +626,7 @@ export const RTPStats = proto3.makeMessageType(
|
|
|
611
626
|
{ no: 36, name: "last_layer_lock_pli", kind: "message", T: Timestamp },
|
|
612
627
|
{ no: 44, name: "packet_drift", kind: "message", T: RTPDrift },
|
|
613
628
|
{ no: 45, name: "report_drift", kind: "message", T: RTPDrift },
|
|
629
|
+
{ no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift },
|
|
614
630
|
],
|
|
615
631
|
);
|
|
616
632
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
-
import type { ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
|
|
22
|
+
import type { AudioTrackFeature, ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @generated from enum livekit.SignalTarget
|
|
@@ -194,6 +194,22 @@ export declare class SignalRequest extends Message<SignalRequest> {
|
|
|
194
194
|
*/
|
|
195
195
|
value: Ping;
|
|
196
196
|
case: "pingReq";
|
|
197
|
+
} | {
|
|
198
|
+
/**
|
|
199
|
+
* Update local audio track settings
|
|
200
|
+
*
|
|
201
|
+
* @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17;
|
|
202
|
+
*/
|
|
203
|
+
value: UpdateLocalAudioTrack;
|
|
204
|
+
case: "updateAudioTrack";
|
|
205
|
+
} | {
|
|
206
|
+
/**
|
|
207
|
+
* Update local video track settings
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18;
|
|
210
|
+
*/
|
|
211
|
+
value: UpdateLocalVideoTrack;
|
|
212
|
+
case: "updateVideoTrack";
|
|
197
213
|
} | { case: undefined; value?: undefined };
|
|
198
214
|
|
|
199
215
|
constructor(data?: PartialMessage<SignalRequest>);
|
|
@@ -930,6 +946,69 @@ export declare class UpdateTrackSettings extends Message<UpdateTrackSettings> {
|
|
|
930
946
|
static equals(a: UpdateTrackSettings | PlainMessage<UpdateTrackSettings> | undefined, b: UpdateTrackSettings | PlainMessage<UpdateTrackSettings> | undefined): boolean;
|
|
931
947
|
}
|
|
932
948
|
|
|
949
|
+
/**
|
|
950
|
+
* @generated from message livekit.UpdateLocalAudioTrack
|
|
951
|
+
*/
|
|
952
|
+
export declare class UpdateLocalAudioTrack extends Message<UpdateLocalAudioTrack> {
|
|
953
|
+
/**
|
|
954
|
+
* @generated from field: string track_sid = 1;
|
|
955
|
+
*/
|
|
956
|
+
trackSid: string;
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* @generated from field: repeated livekit.AudioTrackFeature features = 2;
|
|
960
|
+
*/
|
|
961
|
+
features: AudioTrackFeature[];
|
|
962
|
+
|
|
963
|
+
constructor(data?: PartialMessage<UpdateLocalAudioTrack>);
|
|
964
|
+
|
|
965
|
+
static readonly runtime: typeof proto3;
|
|
966
|
+
static readonly typeName = "livekit.UpdateLocalAudioTrack";
|
|
967
|
+
static readonly fields: FieldList;
|
|
968
|
+
|
|
969
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLocalAudioTrack;
|
|
970
|
+
|
|
971
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLocalAudioTrack;
|
|
972
|
+
|
|
973
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLocalAudioTrack;
|
|
974
|
+
|
|
975
|
+
static equals(a: UpdateLocalAudioTrack | PlainMessage<UpdateLocalAudioTrack> | undefined, b: UpdateLocalAudioTrack | PlainMessage<UpdateLocalAudioTrack> | undefined): boolean;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* @generated from message livekit.UpdateLocalVideoTrack
|
|
980
|
+
*/
|
|
981
|
+
export declare class UpdateLocalVideoTrack extends Message<UpdateLocalVideoTrack> {
|
|
982
|
+
/**
|
|
983
|
+
* @generated from field: string track_sid = 1;
|
|
984
|
+
*/
|
|
985
|
+
trackSid: string;
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* @generated from field: uint32 width = 2;
|
|
989
|
+
*/
|
|
990
|
+
width: number;
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* @generated from field: uint32 height = 3;
|
|
994
|
+
*/
|
|
995
|
+
height: number;
|
|
996
|
+
|
|
997
|
+
constructor(data?: PartialMessage<UpdateLocalVideoTrack>);
|
|
998
|
+
|
|
999
|
+
static readonly runtime: typeof proto3;
|
|
1000
|
+
static readonly typeName = "livekit.UpdateLocalVideoTrack";
|
|
1001
|
+
static readonly fields: FieldList;
|
|
1002
|
+
|
|
1003
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLocalVideoTrack;
|
|
1004
|
+
|
|
1005
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLocalVideoTrack;
|
|
1006
|
+
|
|
1007
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLocalVideoTrack;
|
|
1008
|
+
|
|
1009
|
+
static equals(a: UpdateLocalVideoTrack | PlainMessage<UpdateLocalVideoTrack> | undefined, b: UpdateLocalVideoTrack | PlainMessage<UpdateLocalVideoTrack> | undefined): boolean;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
933
1012
|
/**
|
|
934
1013
|
* @generated from message livekit.LeaveRequest
|
|
935
1014
|
*/
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
-
import { ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
|
|
21
|
+
import { AudioTrackFeature, ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @generated from enum livekit.SignalTarget
|
|
@@ -75,6 +75,8 @@ export const SignalRequest = proto3.makeMessageType(
|
|
|
75
75
|
{ no: 14, name: "ping", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "message" },
|
|
76
76
|
{ no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" },
|
|
77
77
|
{ no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" },
|
|
78
|
+
{ no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" },
|
|
79
|
+
{ no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" },
|
|
78
80
|
],
|
|
79
81
|
);
|
|
80
82
|
|
|
@@ -267,6 +269,29 @@ export const UpdateTrackSettings = proto3.makeMessageType(
|
|
|
267
269
|
],
|
|
268
270
|
);
|
|
269
271
|
|
|
272
|
+
/**
|
|
273
|
+
* @generated from message livekit.UpdateLocalAudioTrack
|
|
274
|
+
*/
|
|
275
|
+
export const UpdateLocalAudioTrack = proto3.makeMessageType(
|
|
276
|
+
"livekit.UpdateLocalAudioTrack",
|
|
277
|
+
() => [
|
|
278
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
279
|
+
{ no: 2, name: "features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true },
|
|
280
|
+
],
|
|
281
|
+
);
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* @generated from message livekit.UpdateLocalVideoTrack
|
|
285
|
+
*/
|
|
286
|
+
export const UpdateLocalVideoTrack = proto3.makeMessageType(
|
|
287
|
+
"livekit.UpdateLocalVideoTrack",
|
|
288
|
+
() => [
|
|
289
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
290
|
+
{ no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
291
|
+
{ no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
292
|
+
],
|
|
293
|
+
);
|
|
294
|
+
|
|
270
295
|
/**
|
|
271
296
|
* @generated from message livekit.LeaveRequest
|
|
272
297
|
*/
|
|
@@ -539,6 +539,14 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
539
539
|
*/
|
|
540
540
|
participantIdentity: string;
|
|
541
541
|
|
|
542
|
+
/**
|
|
543
|
+
* Optionally send following DTMF digits (extension codes) when making a call.
|
|
544
|
+
* Character 'w' can be used to add a 0.5 sec delay.
|
|
545
|
+
*
|
|
546
|
+
* @generated from field: string dtmf = 5;
|
|
547
|
+
*/
|
|
548
|
+
dtmf: string;
|
|
549
|
+
|
|
542
550
|
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
543
551
|
|
|
544
552
|
static readonly runtime: typeof proto3;
|
|
@@ -183,6 +183,7 @@ export const CreateSIPParticipantRequest = proto3.makeMessageType(
|
|
|
183
183
|
{ no: 2, name: "sip_call_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
184
184
|
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
185
185
|
{ no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
186
|
+
{ no: 5, name: "dtmf", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
186
187
|
],
|
|
187
188
|
);
|
|
188
189
|
|
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.12.0';
|