@livekit/protocol 1.40.0 → 1.42.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 +248 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +564 -14
- package/dist/index.d.mts +564 -14
- package/dist/index.d.ts +564 -14
- package/dist/index.mjs +239 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_analytics_pb.d.ts +5 -0
- package/src/gen/livekit_analytics_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +35 -0
- package/src/gen/livekit_cloud_agent_pb.js +15 -0
- package/src/gen/livekit_egress_pb.d.ts +5 -0
- package/src/gen/livekit_egress_pb.js +1 -0
- package/src/gen/livekit_internal_pb.d.ts +5 -0
- package/src/gen/livekit_internal_pb.js +1 -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 +191 -7
- package/src/gen/livekit_models_pb.js +55 -1
- 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 +68 -0
- package/src/gen/livekit_room_pb.js +24 -0
- package/src/gen/livekit_rtc_pb.d.ts +137 -3
- package/src/gen/livekit_rtc_pb.js +34 -1
- package/src/gen/livekit_sip_pb.d.ts +25 -3
- package/src/gen/livekit_sip_pb.js +4 -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/version.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
2
|
+
// @generated from file livekit_phone_number.proto (package livekit, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
7
|
+
import { TokenPagination } from "./livekit_models_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Phone number status enumeration
|
|
11
|
+
*
|
|
12
|
+
* @generated from enum livekit.PhoneNumberStatus
|
|
13
|
+
*/
|
|
14
|
+
export const PhoneNumberStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
15
|
+
"livekit.PhoneNumberStatus",
|
|
16
|
+
[
|
|
17
|
+
{no: 0, name: "PHONE_NUMBER_STATUS_UNSPECIFIED", localName: "UNSPECIFIED"},
|
|
18
|
+
{no: 1, name: "PHONE_NUMBER_STATUS_ACTIVE", localName: "ACTIVE"},
|
|
19
|
+
{no: 2, name: "PHONE_NUMBER_STATUS_PENDING", localName: "PENDING"},
|
|
20
|
+
{no: 3, name: "PHONE_NUMBER_STATUS_RELEASED", localName: "RELEASED"},
|
|
21
|
+
],
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Phone number type enumeration
|
|
26
|
+
*
|
|
27
|
+
* @generated from enum livekit.PhoneNumberType
|
|
28
|
+
*/
|
|
29
|
+
export const PhoneNumberType = /*@__PURE__*/ proto3.makeEnum(
|
|
30
|
+
"livekit.PhoneNumberType",
|
|
31
|
+
[
|
|
32
|
+
{no: 0, name: "PHONE_NUMBER_TYPE_UNKNOWN", localName: "UNKNOWN"},
|
|
33
|
+
{no: 1, name: "PHONE_NUMBER_TYPE_MOBILE", localName: "MOBILE"},
|
|
34
|
+
{no: 2, name: "PHONE_NUMBER_TYPE_LOCAL", localName: "LOCAL"},
|
|
35
|
+
{no: 3, name: "PHONE_NUMBER_TYPE_TOLL_FREE", localName: "TOLL_FREE"},
|
|
36
|
+
],
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* SearchPhoneNumbersRequest - Request to search available phone numbers
|
|
41
|
+
*
|
|
42
|
+
* @generated from message livekit.SearchPhoneNumbersRequest
|
|
43
|
+
*/
|
|
44
|
+
export const SearchPhoneNumbersRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
45
|
+
"livekit.SearchPhoneNumbersRequest",
|
|
46
|
+
() => [
|
|
47
|
+
{ no: 1, name: "country_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
48
|
+
{ no: 2, name: "area_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
49
|
+
{ no: 3, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
50
|
+
{ no: 4, name: "page_token", kind: "message", T: TokenPagination },
|
|
51
|
+
],
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* SearchPhoneNumbersResponse - Response containing available phone numbers
|
|
56
|
+
*
|
|
57
|
+
* @generated from message livekit.SearchPhoneNumbersResponse
|
|
58
|
+
*/
|
|
59
|
+
export const SearchPhoneNumbersResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
60
|
+
"livekit.SearchPhoneNumbersResponse",
|
|
61
|
+
() => [
|
|
62
|
+
{ no: 1, name: "items", kind: "message", T: PhoneNumber, repeated: true },
|
|
63
|
+
{ no: 2, name: "next_page_token", kind: "message", T: TokenPagination },
|
|
64
|
+
],
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* PurchasePhoneNumberRequest - Request to purchase phone numbers
|
|
69
|
+
*
|
|
70
|
+
* @generated from message livekit.PurchasePhoneNumberRequest
|
|
71
|
+
*/
|
|
72
|
+
export const PurchasePhoneNumberRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
73
|
+
"livekit.PurchasePhoneNumberRequest",
|
|
74
|
+
() => [
|
|
75
|
+
{ no: 1, name: "phone_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
76
|
+
{ no: 2, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
77
|
+
],
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* PurchasePhoneNumberResponse - Response containing the purchased phone numbers
|
|
82
|
+
*
|
|
83
|
+
* @generated from message livekit.PurchasePhoneNumberResponse
|
|
84
|
+
*/
|
|
85
|
+
export const PurchasePhoneNumberResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
86
|
+
"livekit.PurchasePhoneNumberResponse",
|
|
87
|
+
() => [
|
|
88
|
+
{ no: 1, name: "phone_numbers", kind: "message", T: PhoneNumber, repeated: true },
|
|
89
|
+
],
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* ListPhoneNumbersRequest - Request to list phone numbers
|
|
94
|
+
*
|
|
95
|
+
* @generated from message livekit.ListPhoneNumbersRequest
|
|
96
|
+
*/
|
|
97
|
+
export const ListPhoneNumbersRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
98
|
+
"livekit.ListPhoneNumbersRequest",
|
|
99
|
+
() => [
|
|
100
|
+
{ no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
101
|
+
{ no: 2, name: "status", kind: "enum", T: proto3.getEnumType(PhoneNumberStatus) },
|
|
102
|
+
{ no: 3, name: "page_token", kind: "message", T: TokenPagination },
|
|
103
|
+
{ no: 4, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
104
|
+
],
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* ListPhoneNumbersResponse - Response containing phone numbers
|
|
109
|
+
*
|
|
110
|
+
* @generated from message livekit.ListPhoneNumbersResponse
|
|
111
|
+
*/
|
|
112
|
+
export const ListPhoneNumbersResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
113
|
+
"livekit.ListPhoneNumbersResponse",
|
|
114
|
+
() => [
|
|
115
|
+
{ no: 1, name: "items", kind: "message", T: PhoneNumber, repeated: true },
|
|
116
|
+
{ no: 2, name: "next_page_token", kind: "message", T: TokenPagination },
|
|
117
|
+
{ no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
118
|
+
],
|
|
119
|
+
);
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* GetPhoneNumberRequest - Request to get a phone number
|
|
123
|
+
*
|
|
124
|
+
* @generated from message livekit.GetPhoneNumberRequest
|
|
125
|
+
*/
|
|
126
|
+
export const GetPhoneNumberRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
127
|
+
"livekit.GetPhoneNumberRequest",
|
|
128
|
+
() => [
|
|
129
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
130
|
+
{ no: 2, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
131
|
+
],
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* GetPhoneNumberResponse - Response containing the phone number
|
|
136
|
+
*
|
|
137
|
+
* @generated from message livekit.GetPhoneNumberResponse
|
|
138
|
+
*/
|
|
139
|
+
export const GetPhoneNumberResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
140
|
+
"livekit.GetPhoneNumberResponse",
|
|
141
|
+
() => [
|
|
142
|
+
{ no: 1, name: "phone_number", kind: "message", T: PhoneNumber },
|
|
143
|
+
],
|
|
144
|
+
);
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* UpdatePhoneNumberRequest - Request to update a phone number
|
|
148
|
+
*
|
|
149
|
+
* @generated from message livekit.UpdatePhoneNumberRequest
|
|
150
|
+
*/
|
|
151
|
+
export const UpdatePhoneNumberRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
152
|
+
"livekit.UpdatePhoneNumberRequest",
|
|
153
|
+
() => [
|
|
154
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
155
|
+
{ no: 2, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
156
|
+
{ no: 3, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
157
|
+
],
|
|
158
|
+
);
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* UpdatePhoneNumberResponse - Response containing the updated phone number
|
|
162
|
+
*
|
|
163
|
+
* @generated from message livekit.UpdatePhoneNumberResponse
|
|
164
|
+
*/
|
|
165
|
+
export const UpdatePhoneNumberResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
166
|
+
"livekit.UpdatePhoneNumberResponse",
|
|
167
|
+
() => [
|
|
168
|
+
{ no: 1, name: "phone_number", kind: "message", T: PhoneNumber },
|
|
169
|
+
],
|
|
170
|
+
);
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* ReleasePhoneNumbersRequest - Request to release phone numbers
|
|
174
|
+
*
|
|
175
|
+
* @generated from message livekit.ReleasePhoneNumbersRequest
|
|
176
|
+
*/
|
|
177
|
+
export const ReleasePhoneNumbersRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
178
|
+
"livekit.ReleasePhoneNumbersRequest",
|
|
179
|
+
() => [
|
|
180
|
+
{ no: 1, name: "ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
181
|
+
{ no: 2, name: "phone_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
182
|
+
],
|
|
183
|
+
);
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* ReleasePhoneNumbersResponse - Response for releasing phone numbers
|
|
187
|
+
*
|
|
188
|
+
* Empty response - operation completed successfully
|
|
189
|
+
*
|
|
190
|
+
* @generated from message livekit.ReleasePhoneNumbersResponse
|
|
191
|
+
*/
|
|
192
|
+
export const ReleasePhoneNumbersResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
193
|
+
"livekit.ReleasePhoneNumbersResponse",
|
|
194
|
+
[],
|
|
195
|
+
);
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* PhoneNumber - Unified phone number type for inventory and purchased numbers
|
|
199
|
+
*
|
|
200
|
+
* @generated from message livekit.PhoneNumber
|
|
201
|
+
*/
|
|
202
|
+
export const PhoneNumber = /*@__PURE__*/ proto3.makeMessageType(
|
|
203
|
+
"livekit.PhoneNumber",
|
|
204
|
+
() => [
|
|
205
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
206
|
+
{ no: 2, name: "e164_format", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
207
|
+
{ no: 3, name: "country_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
208
|
+
{ no: 4, name: "area_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
209
|
+
{ no: 5, name: "number_type", kind: "enum", T: proto3.getEnumType(PhoneNumberType) },
|
|
210
|
+
{ no: 6, name: "locality", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
211
|
+
{ no: 7, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
212
|
+
{ no: 8, name: "spam_score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
213
|
+
{ no: 9, name: "created_at", kind: "message", T: Timestamp },
|
|
214
|
+
{ no: 10, name: "updated_at", kind: "message", T: Timestamp },
|
|
215
|
+
{ no: 11, name: "capabilities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
216
|
+
{ no: 12, name: "status", kind: "enum", T: proto3.getEnumType(PhoneNumberStatus) },
|
|
217
|
+
{ no: 13, name: "assigned_at", kind: "message", T: Timestamp },
|
|
218
|
+
{ no: 14, name: "released_at", kind: "message", T: Timestamp },
|
|
219
|
+
{ no: 15, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
220
|
+
],
|
|
221
|
+
);
|
|
222
|
+
|
|
@@ -904,3 +904,71 @@ export declare class MoveParticipantResponse extends Message<MoveParticipantResp
|
|
|
904
904
|
static equals(a: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined, b: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined): boolean;
|
|
905
905
|
}
|
|
906
906
|
|
|
907
|
+
/**
|
|
908
|
+
* @generated from message livekit.PerformRpcRequest
|
|
909
|
+
*/
|
|
910
|
+
export declare class PerformRpcRequest extends Message<PerformRpcRequest> {
|
|
911
|
+
/**
|
|
912
|
+
* @generated from field: string room = 1;
|
|
913
|
+
*/
|
|
914
|
+
room: string;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* @generated from field: string destination_identity = 2;
|
|
918
|
+
*/
|
|
919
|
+
destinationIdentity: string;
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* @generated from field: string method = 3;
|
|
923
|
+
*/
|
|
924
|
+
method: string;
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* @generated from field: string payload = 4;
|
|
928
|
+
*/
|
|
929
|
+
payload: string;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* @generated from field: uint32 response_timeout_ms = 5;
|
|
933
|
+
*/
|
|
934
|
+
responseTimeoutMs: number;
|
|
935
|
+
|
|
936
|
+
constructor(data?: PartialMessage<PerformRpcRequest>);
|
|
937
|
+
|
|
938
|
+
static readonly runtime: typeof proto3;
|
|
939
|
+
static readonly typeName = "livekit.PerformRpcRequest";
|
|
940
|
+
static readonly fields: FieldList;
|
|
941
|
+
|
|
942
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcRequest;
|
|
943
|
+
|
|
944
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcRequest;
|
|
945
|
+
|
|
946
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcRequest;
|
|
947
|
+
|
|
948
|
+
static equals(a: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined, b: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined): boolean;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* @generated from message livekit.PerformRpcResponse
|
|
953
|
+
*/
|
|
954
|
+
export declare class PerformRpcResponse extends Message<PerformRpcResponse> {
|
|
955
|
+
/**
|
|
956
|
+
* @generated from field: string payload = 1;
|
|
957
|
+
*/
|
|
958
|
+
payload: string;
|
|
959
|
+
|
|
960
|
+
constructor(data?: PartialMessage<PerformRpcResponse>);
|
|
961
|
+
|
|
962
|
+
static readonly runtime: typeof proto3;
|
|
963
|
+
static readonly typeName = "livekit.PerformRpcResponse";
|
|
964
|
+
static readonly fields: FieldList;
|
|
965
|
+
|
|
966
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcResponse;
|
|
967
|
+
|
|
968
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcResponse;
|
|
969
|
+
|
|
970
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcResponse;
|
|
971
|
+
|
|
972
|
+
static equals(a: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined, b: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined): boolean;
|
|
973
|
+
}
|
|
974
|
+
|
|
@@ -299,3 +299,27 @@ export const MoveParticipantResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
299
299
|
[],
|
|
300
300
|
);
|
|
301
301
|
|
|
302
|
+
/**
|
|
303
|
+
* @generated from message livekit.PerformRpcRequest
|
|
304
|
+
*/
|
|
305
|
+
export const PerformRpcRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
306
|
+
"livekit.PerformRpcRequest",
|
|
307
|
+
() => [
|
|
308
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
309
|
+
{ no: 2, name: "destination_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
310
|
+
{ no: 3, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
311
|
+
{ no: 4, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
312
|
+
{ no: 5, name: "response_timeout_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
313
|
+
],
|
|
314
|
+
);
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* @generated from message livekit.PerformRpcResponse
|
|
318
|
+
*/
|
|
319
|
+
export const PerformRpcResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
320
|
+
"livekit.PerformRpcResponse",
|
|
321
|
+
() => [
|
|
322
|
+
{ no: 1, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
323
|
+
],
|
|
324
|
+
);
|
|
325
|
+
|
|
@@ -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 { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
|
|
22
|
+
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";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @generated from enum livekit.SignalTarget
|
|
@@ -423,6 +423,22 @@ export declare class SignalResponse extends Message<SignalResponse> {
|
|
|
423
423
|
*/
|
|
424
424
|
value: RoomMovedResponse;
|
|
425
425
|
case: "roomMoved";
|
|
426
|
+
} | {
|
|
427
|
+
/**
|
|
428
|
+
* notify number of required media sections to satisfy subscribed tracks
|
|
429
|
+
*
|
|
430
|
+
* @generated from field: livekit.MediaSectionsRequirement media_sections_requirement = 25;
|
|
431
|
+
*/
|
|
432
|
+
value: MediaSectionsRequirement;
|
|
433
|
+
case: "mediaSectionsRequirement";
|
|
434
|
+
} | {
|
|
435
|
+
/**
|
|
436
|
+
* when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
|
|
437
|
+
*
|
|
438
|
+
* @generated from field: livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
|
|
439
|
+
*/
|
|
440
|
+
value: SubscribedAudioCodecUpdate;
|
|
441
|
+
case: "subscribedAudioCodecUpdate";
|
|
426
442
|
} | { case: undefined; value?: undefined };
|
|
427
443
|
|
|
428
444
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -1529,6 +1545,35 @@ export declare class SubscribedQualityUpdate extends Message<SubscribedQualityUp
|
|
|
1529
1545
|
static equals(a: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined, b: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined): boolean;
|
|
1530
1546
|
}
|
|
1531
1547
|
|
|
1548
|
+
/**
|
|
1549
|
+
* @generated from message livekit.SubscribedAudioCodecUpdate
|
|
1550
|
+
*/
|
|
1551
|
+
export declare class SubscribedAudioCodecUpdate extends Message<SubscribedAudioCodecUpdate> {
|
|
1552
|
+
/**
|
|
1553
|
+
* @generated from field: string track_sid = 1;
|
|
1554
|
+
*/
|
|
1555
|
+
trackSid: string;
|
|
1556
|
+
|
|
1557
|
+
/**
|
|
1558
|
+
* @generated from field: repeated livekit.SubscribedAudioCodec subscribed_audio_codecs = 2;
|
|
1559
|
+
*/
|
|
1560
|
+
subscribedAudioCodecs: SubscribedAudioCodec[];
|
|
1561
|
+
|
|
1562
|
+
constructor(data?: PartialMessage<SubscribedAudioCodecUpdate>);
|
|
1563
|
+
|
|
1564
|
+
static readonly runtime: typeof proto3;
|
|
1565
|
+
static readonly typeName = "livekit.SubscribedAudioCodecUpdate";
|
|
1566
|
+
static readonly fields: FieldList;
|
|
1567
|
+
|
|
1568
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodecUpdate;
|
|
1569
|
+
|
|
1570
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
1571
|
+
|
|
1572
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
1573
|
+
|
|
1574
|
+
static equals(a: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined, b: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined): boolean;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1532
1577
|
/**
|
|
1533
1578
|
* @generated from message livekit.TrackPermission
|
|
1534
1579
|
*/
|
|
@@ -1681,7 +1726,9 @@ export declare class RoomMovedResponse extends Message<RoomMovedResponse> {
|
|
|
1681
1726
|
*/
|
|
1682
1727
|
export declare class SyncState extends Message<SyncState> {
|
|
1683
1728
|
/**
|
|
1684
|
-
* last subscribe answer before reconnecting
|
|
1729
|
+
* last subscribe/publish answer before reconnecting
|
|
1730
|
+
* subscribe answer if using dual peer connection
|
|
1731
|
+
* publish answer if using single peer connection
|
|
1685
1732
|
*
|
|
1686
1733
|
* @generated from field: livekit.SessionDescription answer = 1;
|
|
1687
1734
|
*/
|
|
@@ -1703,7 +1750,9 @@ export declare class SyncState extends Message<SyncState> {
|
|
|
1703
1750
|
dataChannels: DataChannelInfo[];
|
|
1704
1751
|
|
|
1705
1752
|
/**
|
|
1706
|
-
* last received server side offer before reconnecting
|
|
1753
|
+
* last received server side offer/sent client side offer before reconnecting
|
|
1754
|
+
* received server side offer if using dual peer connection
|
|
1755
|
+
* sent client side offer if using single peer connection
|
|
1707
1756
|
*
|
|
1708
1757
|
* @generated from field: livekit.SessionDescription offer = 5;
|
|
1709
1758
|
*/
|
|
@@ -2062,6 +2111,47 @@ export declare class RequestResponse extends Message<RequestResponse> {
|
|
|
2062
2111
|
*/
|
|
2063
2112
|
message: string;
|
|
2064
2113
|
|
|
2114
|
+
/**
|
|
2115
|
+
* @generated from oneof livekit.RequestResponse.request
|
|
2116
|
+
*/
|
|
2117
|
+
request: {
|
|
2118
|
+
/**
|
|
2119
|
+
* @generated from field: livekit.TrickleRequest trickle = 4;
|
|
2120
|
+
*/
|
|
2121
|
+
value: TrickleRequest;
|
|
2122
|
+
case: "trickle";
|
|
2123
|
+
} | {
|
|
2124
|
+
/**
|
|
2125
|
+
* @generated from field: livekit.AddTrackRequest add_track = 5;
|
|
2126
|
+
*/
|
|
2127
|
+
value: AddTrackRequest;
|
|
2128
|
+
case: "addTrack";
|
|
2129
|
+
} | {
|
|
2130
|
+
/**
|
|
2131
|
+
* @generated from field: livekit.MuteTrackRequest mute = 6;
|
|
2132
|
+
*/
|
|
2133
|
+
value: MuteTrackRequest;
|
|
2134
|
+
case: "mute";
|
|
2135
|
+
} | {
|
|
2136
|
+
/**
|
|
2137
|
+
* @generated from field: livekit.UpdateParticipantMetadata update_metadata = 7;
|
|
2138
|
+
*/
|
|
2139
|
+
value: UpdateParticipantMetadata;
|
|
2140
|
+
case: "updateMetadata";
|
|
2141
|
+
} | {
|
|
2142
|
+
/**
|
|
2143
|
+
* @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 8;
|
|
2144
|
+
*/
|
|
2145
|
+
value: UpdateLocalAudioTrack;
|
|
2146
|
+
case: "updateAudioTrack";
|
|
2147
|
+
} | {
|
|
2148
|
+
/**
|
|
2149
|
+
* @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 9;
|
|
2150
|
+
*/
|
|
2151
|
+
value: UpdateLocalVideoTrack;
|
|
2152
|
+
case: "updateVideoTrack";
|
|
2153
|
+
} | { case: undefined; value?: undefined };
|
|
2154
|
+
|
|
2065
2155
|
constructor(data?: PartialMessage<RequestResponse>);
|
|
2066
2156
|
|
|
2067
2157
|
static readonly runtime: typeof proto3;
|
|
@@ -2100,6 +2190,21 @@ export declare enum RequestResponse_Reason {
|
|
|
2100
2190
|
* @generated from enum value: LIMIT_EXCEEDED = 3;
|
|
2101
2191
|
*/
|
|
2102
2192
|
LIMIT_EXCEEDED = 3,
|
|
2193
|
+
|
|
2194
|
+
/**
|
|
2195
|
+
* @generated from enum value: QUEUED = 4;
|
|
2196
|
+
*/
|
|
2197
|
+
QUEUED = 4,
|
|
2198
|
+
|
|
2199
|
+
/**
|
|
2200
|
+
* @generated from enum value: UNSUPPORTED_TYPE = 5;
|
|
2201
|
+
*/
|
|
2202
|
+
UNSUPPORTED_TYPE = 5,
|
|
2203
|
+
|
|
2204
|
+
/**
|
|
2205
|
+
* @generated from enum value: UNCLASSIFIED_ERROR = 6;
|
|
2206
|
+
*/
|
|
2207
|
+
UNCLASSIFIED_ERROR = 6,
|
|
2103
2208
|
}
|
|
2104
2209
|
|
|
2105
2210
|
/**
|
|
@@ -2286,3 +2391,32 @@ export declare enum WrappedJoinRequest_Compression {
|
|
|
2286
2391
|
GZIP = 1,
|
|
2287
2392
|
}
|
|
2288
2393
|
|
|
2394
|
+
/**
|
|
2395
|
+
* @generated from message livekit.MediaSectionsRequirement
|
|
2396
|
+
*/
|
|
2397
|
+
export declare class MediaSectionsRequirement extends Message<MediaSectionsRequirement> {
|
|
2398
|
+
/**
|
|
2399
|
+
* @generated from field: uint32 num_audios = 1;
|
|
2400
|
+
*/
|
|
2401
|
+
numAudios: number;
|
|
2402
|
+
|
|
2403
|
+
/**
|
|
2404
|
+
* @generated from field: uint32 num_videos = 2;
|
|
2405
|
+
*/
|
|
2406
|
+
numVideos: number;
|
|
2407
|
+
|
|
2408
|
+
constructor(data?: PartialMessage<MediaSectionsRequirement>);
|
|
2409
|
+
|
|
2410
|
+
static readonly runtime: typeof proto3;
|
|
2411
|
+
static readonly typeName = "livekit.MediaSectionsRequirement";
|
|
2412
|
+
static readonly fields: FieldList;
|
|
2413
|
+
|
|
2414
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaSectionsRequirement;
|
|
2415
|
+
|
|
2416
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
|
|
2417
|
+
|
|
2418
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
|
|
2419
|
+
|
|
2420
|
+
static equals(a: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined, b: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined): boolean;
|
|
2421
|
+
}
|
|
2422
|
+
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
-
import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
|
|
21
|
+
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";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @generated from enum livekit.SignalTarget
|
|
@@ -109,6 +109,8 @@ export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
109
109
|
{ no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
|
|
110
110
|
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
111
111
|
{ no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
|
|
112
|
+
{ no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
|
|
113
|
+
{ no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" },
|
|
112
114
|
],
|
|
113
115
|
);
|
|
114
116
|
|
|
@@ -469,6 +471,17 @@ export const SubscribedQualityUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
469
471
|
],
|
|
470
472
|
);
|
|
471
473
|
|
|
474
|
+
/**
|
|
475
|
+
* @generated from message livekit.SubscribedAudioCodecUpdate
|
|
476
|
+
*/
|
|
477
|
+
export const SubscribedAudioCodecUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
478
|
+
"livekit.SubscribedAudioCodecUpdate",
|
|
479
|
+
() => [
|
|
480
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
481
|
+
{ no: 2, name: "subscribed_audio_codecs", kind: "message", T: SubscribedAudioCodec, repeated: true },
|
|
482
|
+
],
|
|
483
|
+
);
|
|
484
|
+
|
|
472
485
|
/**
|
|
473
486
|
* @generated from message livekit.TrackPermission
|
|
474
487
|
*/
|
|
@@ -639,6 +652,12 @@ export const RequestResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
639
652
|
{ no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
640
653
|
{ no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(RequestResponse_Reason) },
|
|
641
654
|
{ no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
655
|
+
{ no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "request" },
|
|
656
|
+
{ no: 5, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "request" },
|
|
657
|
+
{ no: 6, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "request" },
|
|
658
|
+
{ no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
|
|
659
|
+
{ no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
|
|
660
|
+
{ no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" },
|
|
642
661
|
],
|
|
643
662
|
);
|
|
644
663
|
|
|
@@ -652,6 +671,9 @@ export const RequestResponse_Reason = /*@__PURE__*/ proto3.makeEnum(
|
|
|
652
671
|
{no: 1, name: "NOT_FOUND"},
|
|
653
672
|
{no: 2, name: "NOT_ALLOWED"},
|
|
654
673
|
{no: 3, name: "LIMIT_EXCEEDED"},
|
|
674
|
+
{no: 4, name: "QUEUED"},
|
|
675
|
+
{no: 5, name: "UNSUPPORTED_TYPE"},
|
|
676
|
+
{no: 6, name: "UNCLASSIFIED_ERROR"},
|
|
655
677
|
],
|
|
656
678
|
);
|
|
657
679
|
|
|
@@ -719,3 +741,14 @@ export const WrappedJoinRequest_Compression = /*@__PURE__*/ proto3.makeEnum(
|
|
|
719
741
|
],
|
|
720
742
|
);
|
|
721
743
|
|
|
744
|
+
/**
|
|
745
|
+
* @generated from message livekit.MediaSectionsRequirement
|
|
746
|
+
*/
|
|
747
|
+
export const MediaSectionsRequirement = /*@__PURE__*/ proto3.makeMessageType(
|
|
748
|
+
"livekit.MediaSectionsRequirement",
|
|
749
|
+
() => [
|
|
750
|
+
{ no: 1, name: "num_audios", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
751
|
+
{ no: 2, name: "num_videos", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
752
|
+
],
|
|
753
|
+
);
|
|
754
|
+
|
|
@@ -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";
|
|
@@ -2255,12 +2255,24 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2255
2255
|
/**
|
|
2256
2256
|
* Wait for the answer for the call before returning.
|
|
2257
2257
|
*
|
|
2258
|
-
* NEXT ID: 21
|
|
2259
|
-
*
|
|
2260
2258
|
* @generated from field: bool wait_until_answered = 19;
|
|
2261
2259
|
*/
|
|
2262
2260
|
waitUntilAnswered: boolean;
|
|
2263
2261
|
|
|
2262
|
+
/**
|
|
2263
|
+
* Optional display name for the 'From' SIP header.
|
|
2264
|
+
*
|
|
2265
|
+
* Cases:
|
|
2266
|
+
* 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number.
|
|
2267
|
+
* 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream.
|
|
2268
|
+
* 3) Non-empty: Use the specified value as the display name.
|
|
2269
|
+
*
|
|
2270
|
+
* NEXT ID: 22
|
|
2271
|
+
*
|
|
2272
|
+
* @generated from field: optional string display_name = 21;
|
|
2273
|
+
*/
|
|
2274
|
+
displayName?: string;
|
|
2275
|
+
|
|
2264
2276
|
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
2265
2277
|
|
|
2266
2278
|
static readonly runtime: typeof proto3;
|
|
@@ -2499,6 +2511,16 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
2499
2511
|
*/
|
|
2500
2512
|
mediaEncryption: string;
|
|
2501
2513
|
|
|
2514
|
+
/**
|
|
2515
|
+
* @generated from field: string pcap_file_link = 25;
|
|
2516
|
+
*/
|
|
2517
|
+
pcapFileLink: string;
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* @generated from field: repeated google.protobuf.Any call_context = 26;
|
|
2521
|
+
*/
|
|
2522
|
+
callContext: Any[];
|
|
2523
|
+
|
|
2502
2524
|
constructor(data?: PartialMessage<SIPCallInfo>);
|
|
2503
2525
|
|
|
2504
2526
|
static readonly runtime: typeof proto3;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
|
-
import { Duration, proto3 } from "@bufbuild/protobuf";
|
|
20
|
+
import { Any, Duration, proto3 } from "@bufbuild/protobuf";
|
|
21
21
|
import { DisconnectReason, ListUpdate, Pagination } from "./livekit_models_pb.js";
|
|
22
22
|
import { RoomConfiguration } from "./livekit_room_pb.js";
|
|
23
23
|
|
|
@@ -674,6 +674,7 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
674
674
|
{ no: 14, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
675
675
|
{ no: 18, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
676
676
|
{ no: 19, name: "wait_until_answered", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
677
|
+
{ no: 21, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
677
678
|
],
|
|
678
679
|
);
|
|
679
680
|
|
|
@@ -735,6 +736,8 @@ export const SIPCallInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
735
736
|
{ no: 19, name: "call_status_code", kind: "message", T: SIPStatus },
|
|
736
737
|
{ no: 20, name: "audio_codec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
737
738
|
{ no: 21, name: "media_encryption", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
739
|
+
{ no: 25, name: "pcap_file_link", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
740
|
+
{ no: 26, name: "call_context", kind: "message", T: Any, repeated: true },
|
|
738
741
|
],
|
|
739
742
|
);
|
|
740
743
|
|