@cc-livekit/protocol 1.39.5 → 1.42.2
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 +449 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +970 -41
- package/dist/index.d.mts +970 -41
- package/dist/index.d.ts +970 -41
- package/dist/index.mjs +432 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/gen/livekit_agent_pb.d.ts +10 -0
- package/src/gen/livekit_agent_pb.js +2 -0
- package/src/gen/livekit_analytics_pb.d.ts +10 -0
- package/src/gen/livekit_analytics_pb.js +2 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +152 -0
- package/src/gen/livekit_cloud_agent_pb.js +54 -0
- package/src/gen/livekit_connector_twilio_pb.d.ts +139 -0
- package/src/gen/livekit_connector_twilio_pb.js +60 -0
- package/src/gen/livekit_connector_whatsapp_pb.d.ts +434 -0
- package/src/gen/livekit_connector_whatsapp_pb.js +144 -0
- package/src/gen/livekit_egress_pb.d.ts +19 -0
- package/src/gen/livekit_egress_pb.js +3 -0
- package/src/gen/livekit_internal_pb.d.ts +30 -2
- package/src/gen/livekit_internal_pb.js +6 -0
- package/src/gen/livekit_metrics_pb.d.ts +30 -1
- package/src/gen/livekit_metrics_pb.js +11 -0
- package/src/gen/livekit_models_pb.d.ts +305 -9
- package/src/gen/livekit_models_pb.js +85 -0
- package/src/gen/livekit_phone_number_pb.d.ts +634 -0
- package/src/gen/livekit_phone_number_pb.js +222 -0
- package/src/gen/livekit_room_pb.d.ts +75 -0
- package/src/gen/livekit_room_pb.js +25 -0
- package/src/gen/livekit_rtc_pb.d.ts +314 -7
- package/src/gen/livekit_rtc_pb.js +91 -1
- package/src/gen/livekit_sip_pb.d.ts +88 -3
- package/src/gen/livekit_sip_pb.js +29 -1
- package/src/gen/livekit_token_source_pb.d.ts +115 -0
- package/src/gen/livekit_token_source_pb.js +48 -0
- package/src/gen/livekit_webhook_pb.d.ts +1 -1
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
22
|
import type { TTCallRequest, TTCallResponse } from "./livekit_temptalk_pb.js";
|
|
23
|
-
import type { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
|
|
23
|
+
import type { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* @generated from enum livekit.SignalTarget
|
|
@@ -81,7 +81,7 @@ export declare class SignalRequest extends Message<SignalRequest> {
|
|
|
81
81
|
*/
|
|
82
82
|
message: {
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* participant offer for publisher
|
|
85
85
|
*
|
|
86
86
|
* @generated from field: livekit.SessionDescription offer = 1;
|
|
87
87
|
*/
|
|
@@ -89,7 +89,7 @@ export declare class SignalRequest extends Message<SignalRequest> {
|
|
|
89
89
|
case: "offer";
|
|
90
90
|
} | {
|
|
91
91
|
/**
|
|
92
|
-
* participant answering
|
|
92
|
+
* participant answering subscriber offer
|
|
93
93
|
*
|
|
94
94
|
* @generated from field: livekit.SessionDescription answer = 2;
|
|
95
95
|
*/
|
|
@@ -430,6 +430,22 @@ export declare class SignalResponse extends Message<SignalResponse> {
|
|
|
430
430
|
*/
|
|
431
431
|
value: RoomMovedResponse;
|
|
432
432
|
case: "roomMoved";
|
|
433
|
+
} | {
|
|
434
|
+
/**
|
|
435
|
+
* notify number of required media sections to satisfy subscribed tracks
|
|
436
|
+
*
|
|
437
|
+
* @generated from field: livekit.MediaSectionsRequirement media_sections_requirement = 25;
|
|
438
|
+
*/
|
|
439
|
+
value: MediaSectionsRequirement;
|
|
440
|
+
case: "mediaSectionsRequirement";
|
|
441
|
+
} | {
|
|
442
|
+
/**
|
|
443
|
+
* when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
|
|
444
|
+
*
|
|
445
|
+
* @generated from field: livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
|
|
446
|
+
*/
|
|
447
|
+
value: SubscribedAudioCodecUpdate;
|
|
448
|
+
case: "subscribedAudioCodecUpdate";
|
|
433
449
|
} | { case: undefined; value?: undefined };
|
|
434
450
|
|
|
435
451
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -461,6 +477,16 @@ export declare class SimulcastCodec extends Message<SimulcastCodec> {
|
|
|
461
477
|
*/
|
|
462
478
|
cid: string;
|
|
463
479
|
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: repeated livekit.VideoLayer layers = 4;
|
|
482
|
+
*/
|
|
483
|
+
layers: VideoLayer[];
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* @generated from field: livekit.VideoLayer.Mode video_layer_mode = 5;
|
|
487
|
+
*/
|
|
488
|
+
videoLayerMode: VideoLayer_Mode;
|
|
489
|
+
|
|
464
490
|
constructor(data?: PartialMessage<SimulcastCodec>);
|
|
465
491
|
|
|
466
492
|
static readonly runtime: typeof proto3;
|
|
@@ -498,8 +524,6 @@ export declare class AddTrackRequest extends Message<AddTrackRequest> {
|
|
|
498
524
|
type: TrackType;
|
|
499
525
|
|
|
500
526
|
/**
|
|
501
|
-
* to be deprecated in favor of layers
|
|
502
|
-
*
|
|
503
527
|
* @generated from field: uint32 width = 4;
|
|
504
528
|
*/
|
|
505
529
|
width: number;
|
|
@@ -893,6 +917,11 @@ export declare class SessionDescription extends Message<SessionDescription> {
|
|
|
893
917
|
*/
|
|
894
918
|
id: number;
|
|
895
919
|
|
|
920
|
+
/**
|
|
921
|
+
* @generated from field: map<string, string> mid_to_track_id = 4;
|
|
922
|
+
*/
|
|
923
|
+
midToTrackId: { [key: string]: string };
|
|
924
|
+
|
|
896
925
|
constructor(data?: PartialMessage<SessionDescription>);
|
|
897
926
|
|
|
898
927
|
static readonly runtime: typeof proto3;
|
|
@@ -1535,6 +1564,35 @@ export declare class SubscribedQualityUpdate extends Message<SubscribedQualityUp
|
|
|
1535
1564
|
static equals(a: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined, b: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined): boolean;
|
|
1536
1565
|
}
|
|
1537
1566
|
|
|
1567
|
+
/**
|
|
1568
|
+
* @generated from message livekit.SubscribedAudioCodecUpdate
|
|
1569
|
+
*/
|
|
1570
|
+
export declare class SubscribedAudioCodecUpdate extends Message<SubscribedAudioCodecUpdate> {
|
|
1571
|
+
/**
|
|
1572
|
+
* @generated from field: string track_sid = 1;
|
|
1573
|
+
*/
|
|
1574
|
+
trackSid: string;
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* @generated from field: repeated livekit.SubscribedAudioCodec subscribed_audio_codecs = 2;
|
|
1578
|
+
*/
|
|
1579
|
+
subscribedAudioCodecs: SubscribedAudioCodec[];
|
|
1580
|
+
|
|
1581
|
+
constructor(data?: PartialMessage<SubscribedAudioCodecUpdate>);
|
|
1582
|
+
|
|
1583
|
+
static readonly runtime: typeof proto3;
|
|
1584
|
+
static readonly typeName = "livekit.SubscribedAudioCodecUpdate";
|
|
1585
|
+
static readonly fields: FieldList;
|
|
1586
|
+
|
|
1587
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodecUpdate;
|
|
1588
|
+
|
|
1589
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
1590
|
+
|
|
1591
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
1592
|
+
|
|
1593
|
+
static equals(a: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined, b: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined): boolean;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1538
1596
|
/**
|
|
1539
1597
|
* @generated from message livekit.TrackPermission
|
|
1540
1598
|
*/
|
|
@@ -1687,7 +1745,9 @@ export declare class RoomMovedResponse extends Message<RoomMovedResponse> {
|
|
|
1687
1745
|
*/
|
|
1688
1746
|
export declare class SyncState extends Message<SyncState> {
|
|
1689
1747
|
/**
|
|
1690
|
-
* last subscribe answer before reconnecting
|
|
1748
|
+
* last subscribe/publish answer before reconnecting
|
|
1749
|
+
* subscribe answer if using dual peer connection
|
|
1750
|
+
* publish answer if using single peer connection
|
|
1691
1751
|
*
|
|
1692
1752
|
* @generated from field: livekit.SessionDescription answer = 1;
|
|
1693
1753
|
*/
|
|
@@ -1709,7 +1769,9 @@ export declare class SyncState extends Message<SyncState> {
|
|
|
1709
1769
|
dataChannels: DataChannelInfo[];
|
|
1710
1770
|
|
|
1711
1771
|
/**
|
|
1712
|
-
* last received server side offer before reconnecting
|
|
1772
|
+
* last received server side offer/sent client side offer before reconnecting
|
|
1773
|
+
* received server side offer if using dual peer connection
|
|
1774
|
+
* sent client side offer if using single peer connection
|
|
1713
1775
|
*
|
|
1714
1776
|
* @generated from field: livekit.SessionDescription offer = 5;
|
|
1715
1777
|
*/
|
|
@@ -2068,6 +2130,47 @@ export declare class RequestResponse extends Message<RequestResponse> {
|
|
|
2068
2130
|
*/
|
|
2069
2131
|
message: string;
|
|
2070
2132
|
|
|
2133
|
+
/**
|
|
2134
|
+
* @generated from oneof livekit.RequestResponse.request
|
|
2135
|
+
*/
|
|
2136
|
+
request: {
|
|
2137
|
+
/**
|
|
2138
|
+
* @generated from field: livekit.TrickleRequest trickle = 4;
|
|
2139
|
+
*/
|
|
2140
|
+
value: TrickleRequest;
|
|
2141
|
+
case: "trickle";
|
|
2142
|
+
} | {
|
|
2143
|
+
/**
|
|
2144
|
+
* @generated from field: livekit.AddTrackRequest add_track = 5;
|
|
2145
|
+
*/
|
|
2146
|
+
value: AddTrackRequest;
|
|
2147
|
+
case: "addTrack";
|
|
2148
|
+
} | {
|
|
2149
|
+
/**
|
|
2150
|
+
* @generated from field: livekit.MuteTrackRequest mute = 6;
|
|
2151
|
+
*/
|
|
2152
|
+
value: MuteTrackRequest;
|
|
2153
|
+
case: "mute";
|
|
2154
|
+
} | {
|
|
2155
|
+
/**
|
|
2156
|
+
* @generated from field: livekit.UpdateParticipantMetadata update_metadata = 7;
|
|
2157
|
+
*/
|
|
2158
|
+
value: UpdateParticipantMetadata;
|
|
2159
|
+
case: "updateMetadata";
|
|
2160
|
+
} | {
|
|
2161
|
+
/**
|
|
2162
|
+
* @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 8;
|
|
2163
|
+
*/
|
|
2164
|
+
value: UpdateLocalAudioTrack;
|
|
2165
|
+
case: "updateAudioTrack";
|
|
2166
|
+
} | {
|
|
2167
|
+
/**
|
|
2168
|
+
* @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 9;
|
|
2169
|
+
*/
|
|
2170
|
+
value: UpdateLocalVideoTrack;
|
|
2171
|
+
case: "updateVideoTrack";
|
|
2172
|
+
} | { case: undefined; value?: undefined };
|
|
2173
|
+
|
|
2071
2174
|
constructor(data?: PartialMessage<RequestResponse>);
|
|
2072
2175
|
|
|
2073
2176
|
static readonly runtime: typeof proto3;
|
|
@@ -2106,6 +2209,21 @@ export declare enum RequestResponse_Reason {
|
|
|
2106
2209
|
* @generated from enum value: LIMIT_EXCEEDED = 3;
|
|
2107
2210
|
*/
|
|
2108
2211
|
LIMIT_EXCEEDED = 3,
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
* @generated from enum value: QUEUED = 4;
|
|
2215
|
+
*/
|
|
2216
|
+
QUEUED = 4,
|
|
2217
|
+
|
|
2218
|
+
/**
|
|
2219
|
+
* @generated from enum value: UNSUPPORTED_TYPE = 5;
|
|
2220
|
+
*/
|
|
2221
|
+
UNSUPPORTED_TYPE = 5,
|
|
2222
|
+
|
|
2223
|
+
/**
|
|
2224
|
+
* @generated from enum value: UNCLASSIFIED_ERROR = 6;
|
|
2225
|
+
*/
|
|
2226
|
+
UNCLASSIFIED_ERROR = 6,
|
|
2109
2227
|
}
|
|
2110
2228
|
|
|
2111
2229
|
/**
|
|
@@ -2132,3 +2250,192 @@ export declare class TrackSubscribed extends Message<TrackSubscribed> {
|
|
|
2132
2250
|
static equals(a: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined, b: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined): boolean;
|
|
2133
2251
|
}
|
|
2134
2252
|
|
|
2253
|
+
/**
|
|
2254
|
+
* @generated from message livekit.ConnectionSettings
|
|
2255
|
+
*/
|
|
2256
|
+
export declare class ConnectionSettings extends Message<ConnectionSettings> {
|
|
2257
|
+
/**
|
|
2258
|
+
* @generated from field: bool auto_subscribe = 1;
|
|
2259
|
+
*/
|
|
2260
|
+
autoSubscribe: boolean;
|
|
2261
|
+
|
|
2262
|
+
/**
|
|
2263
|
+
* @generated from field: bool adaptive_stream = 2;
|
|
2264
|
+
*/
|
|
2265
|
+
adaptiveStream: boolean;
|
|
2266
|
+
|
|
2267
|
+
/**
|
|
2268
|
+
* @generated from field: optional bool subscriber_allow_pause = 3;
|
|
2269
|
+
*/
|
|
2270
|
+
subscriberAllowPause?: boolean;
|
|
2271
|
+
|
|
2272
|
+
/**
|
|
2273
|
+
* @generated from field: bool disable_ice_lite = 4;
|
|
2274
|
+
*/
|
|
2275
|
+
disableIceLite: boolean;
|
|
2276
|
+
|
|
2277
|
+
constructor(data?: PartialMessage<ConnectionSettings>);
|
|
2278
|
+
|
|
2279
|
+
static readonly runtime: typeof proto3;
|
|
2280
|
+
static readonly typeName = "livekit.ConnectionSettings";
|
|
2281
|
+
static readonly fields: FieldList;
|
|
2282
|
+
|
|
2283
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectionSettings;
|
|
2284
|
+
|
|
2285
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectionSettings;
|
|
2286
|
+
|
|
2287
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionSettings;
|
|
2288
|
+
|
|
2289
|
+
static equals(a: ConnectionSettings | PlainMessage<ConnectionSettings> | undefined, b: ConnectionSettings | PlainMessage<ConnectionSettings> | undefined): boolean;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
/**
|
|
2293
|
+
* @generated from message livekit.JoinRequest
|
|
2294
|
+
*/
|
|
2295
|
+
export declare class JoinRequest extends Message<JoinRequest> {
|
|
2296
|
+
/**
|
|
2297
|
+
* @generated from field: livekit.ClientInfo client_info = 1;
|
|
2298
|
+
*/
|
|
2299
|
+
clientInfo?: ClientInfo;
|
|
2300
|
+
|
|
2301
|
+
/**
|
|
2302
|
+
* @generated from field: livekit.ConnectionSettings connection_settings = 2;
|
|
2303
|
+
*/
|
|
2304
|
+
connectionSettings?: ConnectionSettings;
|
|
2305
|
+
|
|
2306
|
+
/**
|
|
2307
|
+
* if not empty, will overwrite `metadata` in token
|
|
2308
|
+
*
|
|
2309
|
+
* @generated from field: string metadata = 3;
|
|
2310
|
+
*/
|
|
2311
|
+
metadata: string;
|
|
2312
|
+
|
|
2313
|
+
/**
|
|
2314
|
+
* will set keys provided via this
|
|
2315
|
+
* will overwrite if the same key is in the token
|
|
2316
|
+
* will not delete keys from token if there is a key collision and this sets that key to empty value
|
|
2317
|
+
*
|
|
2318
|
+
* @generated from field: map<string, string> participant_attributes = 4;
|
|
2319
|
+
*/
|
|
2320
|
+
participantAttributes: { [key: string]: string };
|
|
2321
|
+
|
|
2322
|
+
/**
|
|
2323
|
+
* @generated from field: repeated livekit.AddTrackRequest add_track_requests = 5;
|
|
2324
|
+
*/
|
|
2325
|
+
addTrackRequests: AddTrackRequest[];
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* @generated from field: livekit.SessionDescription publisher_offer = 6;
|
|
2329
|
+
*/
|
|
2330
|
+
publisherOffer?: SessionDescription;
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* @generated from field: bool reconnect = 7;
|
|
2334
|
+
*/
|
|
2335
|
+
reconnect: boolean;
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* @generated from field: livekit.ReconnectReason reconnect_reason = 8;
|
|
2339
|
+
*/
|
|
2340
|
+
reconnectReason: ReconnectReason;
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* @generated from field: string participant_sid = 9;
|
|
2344
|
+
*/
|
|
2345
|
+
participantSid: string;
|
|
2346
|
+
|
|
2347
|
+
/**
|
|
2348
|
+
* @generated from field: livekit.SyncState sync_state = 10;
|
|
2349
|
+
*/
|
|
2350
|
+
syncState?: SyncState;
|
|
2351
|
+
|
|
2352
|
+
constructor(data?: PartialMessage<JoinRequest>);
|
|
2353
|
+
|
|
2354
|
+
static readonly runtime: typeof proto3;
|
|
2355
|
+
static readonly typeName = "livekit.JoinRequest";
|
|
2356
|
+
static readonly fields: FieldList;
|
|
2357
|
+
|
|
2358
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JoinRequest;
|
|
2359
|
+
|
|
2360
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JoinRequest;
|
|
2361
|
+
|
|
2362
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JoinRequest;
|
|
2363
|
+
|
|
2364
|
+
static equals(a: JoinRequest | PlainMessage<JoinRequest> | undefined, b: JoinRequest | PlainMessage<JoinRequest> | undefined): boolean;
|
|
2365
|
+
}
|
|
2366
|
+
|
|
2367
|
+
/**
|
|
2368
|
+
* @generated from message livekit.WrappedJoinRequest
|
|
2369
|
+
*/
|
|
2370
|
+
export declare class WrappedJoinRequest extends Message<WrappedJoinRequest> {
|
|
2371
|
+
/**
|
|
2372
|
+
* @generated from field: livekit.WrappedJoinRequest.Compression compression = 1;
|
|
2373
|
+
*/
|
|
2374
|
+
compression: WrappedJoinRequest_Compression;
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* marshalled JoinRequest + potentially compressed
|
|
2378
|
+
*
|
|
2379
|
+
* @generated from field: bytes join_request = 2;
|
|
2380
|
+
*/
|
|
2381
|
+
joinRequest: Uint8Array;
|
|
2382
|
+
|
|
2383
|
+
constructor(data?: PartialMessage<WrappedJoinRequest>);
|
|
2384
|
+
|
|
2385
|
+
static readonly runtime: typeof proto3;
|
|
2386
|
+
static readonly typeName = "livekit.WrappedJoinRequest";
|
|
2387
|
+
static readonly fields: FieldList;
|
|
2388
|
+
|
|
2389
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WrappedJoinRequest;
|
|
2390
|
+
|
|
2391
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WrappedJoinRequest;
|
|
2392
|
+
|
|
2393
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WrappedJoinRequest;
|
|
2394
|
+
|
|
2395
|
+
static equals(a: WrappedJoinRequest | PlainMessage<WrappedJoinRequest> | undefined, b: WrappedJoinRequest | PlainMessage<WrappedJoinRequest> | undefined): boolean;
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* @generated from enum livekit.WrappedJoinRequest.Compression
|
|
2400
|
+
*/
|
|
2401
|
+
export declare enum WrappedJoinRequest_Compression {
|
|
2402
|
+
/**
|
|
2403
|
+
* @generated from enum value: NONE = 0;
|
|
2404
|
+
*/
|
|
2405
|
+
NONE = 0,
|
|
2406
|
+
|
|
2407
|
+
/**
|
|
2408
|
+
* @generated from enum value: GZIP = 1;
|
|
2409
|
+
*/
|
|
2410
|
+
GZIP = 1,
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
/**
|
|
2414
|
+
* @generated from message livekit.MediaSectionsRequirement
|
|
2415
|
+
*/
|
|
2416
|
+
export declare class MediaSectionsRequirement extends Message<MediaSectionsRequirement> {
|
|
2417
|
+
/**
|
|
2418
|
+
* @generated from field: uint32 num_audios = 1;
|
|
2419
|
+
*/
|
|
2420
|
+
numAudios: number;
|
|
2421
|
+
|
|
2422
|
+
/**
|
|
2423
|
+
* @generated from field: uint32 num_videos = 2;
|
|
2424
|
+
*/
|
|
2425
|
+
numVideos: number;
|
|
2426
|
+
|
|
2427
|
+
constructor(data?: PartialMessage<MediaSectionsRequirement>);
|
|
2428
|
+
|
|
2429
|
+
static readonly runtime: typeof proto3;
|
|
2430
|
+
static readonly typeName = "livekit.MediaSectionsRequirement";
|
|
2431
|
+
static readonly fields: FieldList;
|
|
2432
|
+
|
|
2433
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaSectionsRequirement;
|
|
2434
|
+
|
|
2435
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
|
|
2436
|
+
|
|
2437
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
|
|
2438
|
+
|
|
2439
|
+
static equals(a: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined, b: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined): boolean;
|
|
2440
|
+
}
|
|
2441
|
+
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
21
|
import { TTCallRequest, TTCallResponse } from "./livekit_temptalk_pb.js";
|
|
22
|
-
import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
|
|
22
|
+
import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @generated from enum livekit.SignalTarget
|
|
@@ -111,6 +111,8 @@ export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
111
111
|
{ no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
|
|
112
112
|
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
113
113
|
{ no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
|
|
114
|
+
{ no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
|
|
115
|
+
{ no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" },
|
|
114
116
|
],
|
|
115
117
|
);
|
|
116
118
|
|
|
@@ -122,6 +124,8 @@ export const SimulcastCodec = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
122
124
|
() => [
|
|
123
125
|
{ no: 1, name: "codec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
124
126
|
{ no: 2, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
127
|
+
{ no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
|
|
128
|
+
{ no: 5, name: "video_layer_mode", kind: "enum", T: proto3.getEnumType(VideoLayer_Mode) },
|
|
125
129
|
],
|
|
126
130
|
);
|
|
127
131
|
|
|
@@ -242,6 +246,7 @@ export const SessionDescription = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
242
246
|
{ no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
243
247
|
{ no: 2, name: "sdp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
244
248
|
{ no: 3, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
249
|
+
{ no: 4, name: "mid_to_track_id", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
245
250
|
],
|
|
246
251
|
);
|
|
247
252
|
|
|
@@ -470,6 +475,17 @@ export const SubscribedQualityUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
470
475
|
],
|
|
471
476
|
);
|
|
472
477
|
|
|
478
|
+
/**
|
|
479
|
+
* @generated from message livekit.SubscribedAudioCodecUpdate
|
|
480
|
+
*/
|
|
481
|
+
export const SubscribedAudioCodecUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
482
|
+
"livekit.SubscribedAudioCodecUpdate",
|
|
483
|
+
() => [
|
|
484
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
485
|
+
{ no: 2, name: "subscribed_audio_codecs", kind: "message", T: SubscribedAudioCodec, repeated: true },
|
|
486
|
+
],
|
|
487
|
+
);
|
|
488
|
+
|
|
473
489
|
/**
|
|
474
490
|
* @generated from message livekit.TrackPermission
|
|
475
491
|
*/
|
|
@@ -640,6 +656,12 @@ export const RequestResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
640
656
|
{ no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
641
657
|
{ no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(RequestResponse_Reason) },
|
|
642
658
|
{ no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
659
|
+
{ no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "request" },
|
|
660
|
+
{ no: 5, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "request" },
|
|
661
|
+
{ no: 6, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "request" },
|
|
662
|
+
{ no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
|
|
663
|
+
{ no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
|
|
664
|
+
{ no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" },
|
|
643
665
|
],
|
|
644
666
|
);
|
|
645
667
|
|
|
@@ -653,6 +675,9 @@ export const RequestResponse_Reason = /*@__PURE__*/ proto3.makeEnum(
|
|
|
653
675
|
{no: 1, name: "NOT_FOUND"},
|
|
654
676
|
{no: 2, name: "NOT_ALLOWED"},
|
|
655
677
|
{no: 3, name: "LIMIT_EXCEEDED"},
|
|
678
|
+
{no: 4, name: "QUEUED"},
|
|
679
|
+
{no: 5, name: "UNSUPPORTED_TYPE"},
|
|
680
|
+
{no: 6, name: "UNCLASSIFIED_ERROR"},
|
|
656
681
|
],
|
|
657
682
|
);
|
|
658
683
|
|
|
@@ -666,3 +691,68 @@ export const TrackSubscribed = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
666
691
|
],
|
|
667
692
|
);
|
|
668
693
|
|
|
694
|
+
/**
|
|
695
|
+
* @generated from message livekit.ConnectionSettings
|
|
696
|
+
*/
|
|
697
|
+
export const ConnectionSettings = /*@__PURE__*/ proto3.makeMessageType(
|
|
698
|
+
"livekit.ConnectionSettings",
|
|
699
|
+
() => [
|
|
700
|
+
{ no: 1, name: "auto_subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
701
|
+
{ no: 2, name: "adaptive_stream", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
702
|
+
{ no: 3, name: "subscriber_allow_pause", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
703
|
+
{ no: 4, name: "disable_ice_lite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
704
|
+
],
|
|
705
|
+
);
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* @generated from message livekit.JoinRequest
|
|
709
|
+
*/
|
|
710
|
+
export const JoinRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
711
|
+
"livekit.JoinRequest",
|
|
712
|
+
() => [
|
|
713
|
+
{ no: 1, name: "client_info", kind: "message", T: ClientInfo },
|
|
714
|
+
{ no: 2, name: "connection_settings", kind: "message", T: ConnectionSettings },
|
|
715
|
+
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
716
|
+
{ no: 4, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
717
|
+
{ no: 5, name: "add_track_requests", kind: "message", T: AddTrackRequest, repeated: true },
|
|
718
|
+
{ no: 6, name: "publisher_offer", kind: "message", T: SessionDescription },
|
|
719
|
+
{ no: 7, name: "reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
720
|
+
{ no: 8, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) },
|
|
721
|
+
{ no: 9, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
722
|
+
{ no: 10, name: "sync_state", kind: "message", T: SyncState },
|
|
723
|
+
],
|
|
724
|
+
);
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* @generated from message livekit.WrappedJoinRequest
|
|
728
|
+
*/
|
|
729
|
+
export const WrappedJoinRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
730
|
+
"livekit.WrappedJoinRequest",
|
|
731
|
+
() => [
|
|
732
|
+
{ no: 1, name: "compression", kind: "enum", T: proto3.getEnumType(WrappedJoinRequest_Compression) },
|
|
733
|
+
{ no: 2, name: "join_request", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
734
|
+
],
|
|
735
|
+
);
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* @generated from enum livekit.WrappedJoinRequest.Compression
|
|
739
|
+
*/
|
|
740
|
+
export const WrappedJoinRequest_Compression = /*@__PURE__*/ proto3.makeEnum(
|
|
741
|
+
"livekit.WrappedJoinRequest.Compression",
|
|
742
|
+
[
|
|
743
|
+
{no: 0, name: "NONE"},
|
|
744
|
+
{no: 1, name: "GZIP"},
|
|
745
|
+
],
|
|
746
|
+
);
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* @generated from message livekit.MediaSectionsRequirement
|
|
750
|
+
*/
|
|
751
|
+
export const MediaSectionsRequirement = /*@__PURE__*/ proto3.makeMessageType(
|
|
752
|
+
"livekit.MediaSectionsRequirement",
|
|
753
|
+
() => [
|
|
754
|
+
{ no: 1, name: "num_audios", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
755
|
+
{ no: 2, name: "num_videos", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
756
|
+
],
|
|
757
|
+
);
|
|
758
|
+
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
|
-
import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
20
|
+
import type { Any, BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
22
|
import type { DisconnectReason, ListUpdate, Pagination } from "./livekit_models_pb.js";
|
|
23
23
|
import type { RoomConfiguration } from "./livekit_room_pb.js";
|
|
@@ -349,6 +349,30 @@ export declare enum SIPMediaEncryption {
|
|
|
349
349
|
SIP_MEDIA_ENCRYPT_REQUIRE = 2,
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
+
/**
|
|
353
|
+
* @generated from enum livekit.ProviderType
|
|
354
|
+
*/
|
|
355
|
+
export declare enum ProviderType {
|
|
356
|
+
/**
|
|
357
|
+
* @generated from enum value: PROVIDER_TYPE_UNKNOWN = 0;
|
|
358
|
+
*/
|
|
359
|
+
UNKNOWN = 0,
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Internally implemented
|
|
363
|
+
*
|
|
364
|
+
* @generated from enum value: PROVIDER_TYPE_INTERNAL = 1;
|
|
365
|
+
*/
|
|
366
|
+
INTERNAL = 1,
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Vendor provided
|
|
370
|
+
*
|
|
371
|
+
* @generated from enum value: PROVIDER_TYPE_EXTERNAL = 2;
|
|
372
|
+
*/
|
|
373
|
+
EXTERNAL = 2,
|
|
374
|
+
}
|
|
375
|
+
|
|
352
376
|
/**
|
|
353
377
|
* @generated from enum livekit.SIPCallStatus
|
|
354
378
|
*/
|
|
@@ -569,6 +593,40 @@ export declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest
|
|
|
569
593
|
static equals(a: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined, b: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined): boolean;
|
|
570
594
|
}
|
|
571
595
|
|
|
596
|
+
/**
|
|
597
|
+
* @generated from message livekit.ProviderInfo
|
|
598
|
+
*/
|
|
599
|
+
export declare class ProviderInfo extends Message<ProviderInfo> {
|
|
600
|
+
/**
|
|
601
|
+
* @generated from field: string id = 1;
|
|
602
|
+
*/
|
|
603
|
+
id: string;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: string name = 2;
|
|
607
|
+
*/
|
|
608
|
+
name: string;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* @generated from field: livekit.ProviderType type = 3;
|
|
612
|
+
*/
|
|
613
|
+
type: ProviderType;
|
|
614
|
+
|
|
615
|
+
constructor(data?: PartialMessage<ProviderInfo>);
|
|
616
|
+
|
|
617
|
+
static readonly runtime: typeof proto3;
|
|
618
|
+
static readonly typeName = "livekit.ProviderInfo";
|
|
619
|
+
static readonly fields: FieldList;
|
|
620
|
+
|
|
621
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProviderInfo;
|
|
622
|
+
|
|
623
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProviderInfo;
|
|
624
|
+
|
|
625
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProviderInfo;
|
|
626
|
+
|
|
627
|
+
static equals(a: ProviderInfo | PlainMessage<ProviderInfo> | undefined, b: ProviderInfo | PlainMessage<ProviderInfo> | undefined): boolean;
|
|
628
|
+
}
|
|
629
|
+
|
|
572
630
|
/**
|
|
573
631
|
* @generated from message livekit.SIPTrunkInfo
|
|
574
632
|
* @deprecated
|
|
@@ -2255,12 +2313,24 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2255
2313
|
/**
|
|
2256
2314
|
* Wait for the answer for the call before returning.
|
|
2257
2315
|
*
|
|
2258
|
-
* NEXT ID: 21
|
|
2259
|
-
*
|
|
2260
2316
|
* @generated from field: bool wait_until_answered = 19;
|
|
2261
2317
|
*/
|
|
2262
2318
|
waitUntilAnswered: boolean;
|
|
2263
2319
|
|
|
2320
|
+
/**
|
|
2321
|
+
* Optional display name for the 'From' SIP header.
|
|
2322
|
+
*
|
|
2323
|
+
* Cases:
|
|
2324
|
+
* 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number.
|
|
2325
|
+
* 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream.
|
|
2326
|
+
* 3) Non-empty: Use the specified value as the display name.
|
|
2327
|
+
*
|
|
2328
|
+
* NEXT ID: 22
|
|
2329
|
+
*
|
|
2330
|
+
* @generated from field: optional string display_name = 21;
|
|
2331
|
+
*/
|
|
2332
|
+
displayName?: string;
|
|
2333
|
+
|
|
2264
2334
|
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
2265
2335
|
|
|
2266
2336
|
static readonly runtime: typeof proto3;
|
|
@@ -2499,6 +2569,21 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
2499
2569
|
*/
|
|
2500
2570
|
mediaEncryption: string;
|
|
2501
2571
|
|
|
2572
|
+
/**
|
|
2573
|
+
* @generated from field: string pcap_file_link = 25;
|
|
2574
|
+
*/
|
|
2575
|
+
pcapFileLink: string;
|
|
2576
|
+
|
|
2577
|
+
/**
|
|
2578
|
+
* @generated from field: repeated google.protobuf.Any call_context = 26;
|
|
2579
|
+
*/
|
|
2580
|
+
callContext: Any[];
|
|
2581
|
+
|
|
2582
|
+
/**
|
|
2583
|
+
* @generated from field: livekit.ProviderInfo provider_info = 27;
|
|
2584
|
+
*/
|
|
2585
|
+
providerInfo?: ProviderInfo;
|
|
2586
|
+
|
|
2502
2587
|
constructor(data?: PartialMessage<SIPCallInfo>);
|
|
2503
2588
|
|
|
2504
2589
|
static readonly runtime: typeof proto3;
|