@livekit/protocol 1.35.0 → 1.36.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 +109 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +357 -17
- package/dist/index.d.mts +357 -17
- package/dist/index.d.ts +357 -17
- package/dist/index.mjs +102 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_cloud_agent_pb.d.ts +897 -0
- package/src/gen/livekit_cloud_agent_pb.js +325 -0
- package/src/gen/livekit_internal_pb.d.ts +5 -0
- package/src/gen/livekit_internal_pb.js +1 -0
- package/src/gen/livekit_models_pb.d.ts +56 -7
- package/src/gen/livekit_models_pb.js +26 -2
- package/src/gen/livekit_sip_pb.d.ts +301 -10
- package/src/gen/livekit_sip_pb.js +84 -1
- package/src/gen/version.js +1 -1
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
// Copyright 2023 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_cloud_agent.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from message livekit.AgentSecret
|
|
24
|
+
*/
|
|
25
|
+
export const AgentSecret = /*@__PURE__*/ proto3.makeMessageType(
|
|
26
|
+
"livekit.AgentSecret",
|
|
27
|
+
() => [
|
|
28
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
29
|
+
{ no: 2, name: "value", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
30
|
+
{ no: 3, name: "created_at", kind: "message", T: Timestamp },
|
|
31
|
+
{ no: 4, name: "updated_at", kind: "message", T: Timestamp },
|
|
32
|
+
],
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from message livekit.CreateAgentRequest
|
|
37
|
+
*/
|
|
38
|
+
export const CreateAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
39
|
+
"livekit.CreateAgentRequest",
|
|
40
|
+
() => [
|
|
41
|
+
{ no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
|
+
{ no: 2, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
|
|
43
|
+
{ no: 3, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
44
|
+
{ no: 4, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
45
|
+
{ no: 5, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
46
|
+
{ no: 6, name: "regions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
47
|
+
],
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from message livekit.CreateAgentResponse
|
|
52
|
+
*/
|
|
53
|
+
export const CreateAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
54
|
+
"livekit.CreateAgentResponse",
|
|
55
|
+
() => [
|
|
56
|
+
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
57
|
+
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
58
|
+
{ no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
59
|
+
{ no: 4, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
60
|
+
{ no: 5, name: "presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
61
|
+
],
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from message livekit.AgentDeployment
|
|
66
|
+
*/
|
|
67
|
+
export const AgentDeployment = /*@__PURE__*/ proto3.makeMessageType(
|
|
68
|
+
"livekit.AgentDeployment",
|
|
69
|
+
() => [
|
|
70
|
+
{ no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
71
|
+
{ no: 2, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
72
|
+
{ no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
73
|
+
{ no: 4, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
74
|
+
{ no: 5, name: "min_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
75
|
+
{ no: 6, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
76
|
+
{ no: 7, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
77
|
+
{ no: 8, name: "cur_cpu", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
78
|
+
{ no: 9, name: "cur_mem", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
79
|
+
{ no: 10, name: "mem_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
80
|
+
],
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from message livekit.AgentInfo
|
|
85
|
+
*/
|
|
86
|
+
export const AgentInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
87
|
+
"livekit.AgentInfo",
|
|
88
|
+
() => [
|
|
89
|
+
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
90
|
+
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
91
|
+
{ no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
92
|
+
{ no: 4, name: "agent_deployments", kind: "message", T: AgentDeployment, repeated: true },
|
|
93
|
+
{ no: 5, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
|
|
94
|
+
{ no: 6, name: "deployed_at", kind: "message", T: Timestamp },
|
|
95
|
+
],
|
|
96
|
+
);
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @generated from message livekit.ListAgentsRequest
|
|
100
|
+
*/
|
|
101
|
+
export const ListAgentsRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
102
|
+
"livekit.ListAgentsRequest",
|
|
103
|
+
() => [
|
|
104
|
+
{ no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
105
|
+
{ no: 2, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
106
|
+
],
|
|
107
|
+
);
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from message livekit.ListAgentsResponse
|
|
111
|
+
*/
|
|
112
|
+
export const ListAgentsResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
113
|
+
"livekit.ListAgentsResponse",
|
|
114
|
+
() => [
|
|
115
|
+
{ no: 1, name: "agents", kind: "message", T: AgentInfo, repeated: true },
|
|
116
|
+
],
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from message livekit.AgentVersion
|
|
121
|
+
*/
|
|
122
|
+
export const AgentVersion = /*@__PURE__*/ proto3.makeMessageType(
|
|
123
|
+
"livekit.AgentVersion",
|
|
124
|
+
() => [
|
|
125
|
+
{ no: 1, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
126
|
+
{ no: 2, name: "current", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
127
|
+
{ no: 3, name: "created_at", kind: "message", T: Timestamp },
|
|
128
|
+
],
|
|
129
|
+
);
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @generated from message livekit.ListAgentVersionsRequest
|
|
133
|
+
*/
|
|
134
|
+
export const ListAgentVersionsRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
135
|
+
"livekit.ListAgentVersionsRequest",
|
|
136
|
+
() => [
|
|
137
|
+
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
138
|
+
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
139
|
+
],
|
|
140
|
+
);
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from message livekit.ListAgentVersionsResponse
|
|
144
|
+
*/
|
|
145
|
+
export const ListAgentVersionsResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
146
|
+
"livekit.ListAgentVersionsResponse",
|
|
147
|
+
() => [
|
|
148
|
+
{ no: 1, name: "versions", kind: "message", T: AgentVersion, repeated: true },
|
|
149
|
+
],
|
|
150
|
+
);
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from message livekit.UpdateAgentRequest
|
|
154
|
+
*/
|
|
155
|
+
export const UpdateAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
156
|
+
"livekit.UpdateAgentRequest",
|
|
157
|
+
() => [
|
|
158
|
+
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
159
|
+
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
160
|
+
{ no: 3, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
161
|
+
{ no: 4, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
162
|
+
{ no: 5, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
163
|
+
{ no: 6, name: "regions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
164
|
+
{ no: 7, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
|
|
165
|
+
],
|
|
166
|
+
);
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @generated from message livekit.UpdateAgentResponse
|
|
170
|
+
*/
|
|
171
|
+
export const UpdateAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
172
|
+
"livekit.UpdateAgentResponse",
|
|
173
|
+
() => [
|
|
174
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
175
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
176
|
+
],
|
|
177
|
+
);
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @generated from message livekit.DeployAgentRequest
|
|
181
|
+
*/
|
|
182
|
+
export const DeployAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
183
|
+
"livekit.DeployAgentRequest",
|
|
184
|
+
() => [
|
|
185
|
+
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
186
|
+
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
187
|
+
{ no: 3, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
|
|
188
|
+
{ no: 4, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
189
|
+
{ no: 5, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
190
|
+
{ no: 6, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
191
|
+
],
|
|
192
|
+
);
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @generated from message livekit.DeployAgentResponse
|
|
196
|
+
*/
|
|
197
|
+
export const DeployAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
198
|
+
"livekit.DeployAgentResponse",
|
|
199
|
+
() => [
|
|
200
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
201
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
202
|
+
{ no: 3, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
203
|
+
{ no: 4, name: "presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
204
|
+
],
|
|
205
|
+
);
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @generated from message livekit.UpdateAgentSecretsRequest
|
|
209
|
+
*/
|
|
210
|
+
export const UpdateAgentSecretsRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
211
|
+
"livekit.UpdateAgentSecretsRequest",
|
|
212
|
+
() => [
|
|
213
|
+
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
214
|
+
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
215
|
+
{ no: 3, name: "overwrite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
216
|
+
{ no: 4, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
|
|
217
|
+
],
|
|
218
|
+
);
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @generated from message livekit.UpdateAgentSecretsResponse
|
|
222
|
+
*/
|
|
223
|
+
export const UpdateAgentSecretsResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
224
|
+
"livekit.UpdateAgentSecretsResponse",
|
|
225
|
+
() => [
|
|
226
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
227
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
228
|
+
],
|
|
229
|
+
);
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @generated from message livekit.RollbackAgentRequest
|
|
233
|
+
*/
|
|
234
|
+
export const RollbackAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
235
|
+
"livekit.RollbackAgentRequest",
|
|
236
|
+
() => [
|
|
237
|
+
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
238
|
+
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
239
|
+
{ no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
240
|
+
],
|
|
241
|
+
);
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* @generated from message livekit.RollbackAgentResponse
|
|
245
|
+
*/
|
|
246
|
+
export const RollbackAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
247
|
+
"livekit.RollbackAgentResponse",
|
|
248
|
+
() => [
|
|
249
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
250
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
251
|
+
],
|
|
252
|
+
);
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @generated from message livekit.DeleteAgentRequest
|
|
256
|
+
*/
|
|
257
|
+
export const DeleteAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
258
|
+
"livekit.DeleteAgentRequest",
|
|
259
|
+
() => [
|
|
260
|
+
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
261
|
+
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
262
|
+
],
|
|
263
|
+
);
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @generated from message livekit.DeleteAgentResponse
|
|
267
|
+
*/
|
|
268
|
+
export const DeleteAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
269
|
+
"livekit.DeleteAgentResponse",
|
|
270
|
+
() => [
|
|
271
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
272
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
273
|
+
],
|
|
274
|
+
);
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* @generated from message livekit.ListAgentSecretsRequest
|
|
278
|
+
*/
|
|
279
|
+
export const ListAgentSecretsRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
280
|
+
"livekit.ListAgentSecretsRequest",
|
|
281
|
+
() => [
|
|
282
|
+
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
283
|
+
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
284
|
+
],
|
|
285
|
+
);
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @generated from message livekit.ListAgentSecretsResponse
|
|
289
|
+
*/
|
|
290
|
+
export const ListAgentSecretsResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
291
|
+
"livekit.ListAgentSecretsResponse",
|
|
292
|
+
() => [
|
|
293
|
+
{ no: 1, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
|
|
294
|
+
],
|
|
295
|
+
);
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @generated from message livekit.SettingsParam
|
|
299
|
+
*/
|
|
300
|
+
export const SettingsParam = /*@__PURE__*/ proto3.makeMessageType(
|
|
301
|
+
"livekit.SettingsParam",
|
|
302
|
+
() => [
|
|
303
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
304
|
+
{ no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
305
|
+
],
|
|
306
|
+
);
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @generated from message livekit.ClientSettingsResponse
|
|
310
|
+
*/
|
|
311
|
+
export const ClientSettingsResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
312
|
+
"livekit.ClientSettingsResponse",
|
|
313
|
+
() => [
|
|
314
|
+
{ no: 1, name: "params", kind: "message", T: SettingsParam, repeated: true },
|
|
315
|
+
],
|
|
316
|
+
);
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* @generated from message livekit.ClientSettingsRequest
|
|
320
|
+
*/
|
|
321
|
+
export const ClientSettingsRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
322
|
+
"livekit.ClientSettingsRequest",
|
|
323
|
+
[],
|
|
324
|
+
);
|
|
325
|
+
|
|
@@ -93,11 +93,12 @@ export declare enum ImageCodec {
|
|
|
93
93
|
*/
|
|
94
94
|
export declare enum BackupCodecPolicy {
|
|
95
95
|
/**
|
|
96
|
-
* default behavior, regress to backup codec and all subscribers will receive the backup codec
|
|
96
|
+
* default behavior, the track prefer to regress to backup codec and all subscribers will receive the backup codec,
|
|
97
|
+
* the sfu will try to regress codec if possible but not assured.
|
|
97
98
|
*
|
|
98
|
-
* @generated from enum value:
|
|
99
|
+
* @generated from enum value: PREFER_REGRESSION = 0;
|
|
99
100
|
*/
|
|
100
|
-
|
|
101
|
+
PREFER_REGRESSION = 0,
|
|
101
102
|
|
|
102
103
|
/**
|
|
103
104
|
* encoding/send the primary and backup codec simultaneously
|
|
@@ -105,6 +106,13 @@ export declare enum BackupCodecPolicy {
|
|
|
105
106
|
* @generated from enum value: SIMULCAST = 1;
|
|
106
107
|
*/
|
|
107
108
|
SIMULCAST = 1,
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* force the track to regress to backup codec, this option can be used in video conference or the publisher has limited bandwidth/encoding power
|
|
112
|
+
*
|
|
113
|
+
* @generated from enum value: REGRESSION = 2;
|
|
114
|
+
*/
|
|
115
|
+
REGRESSION = 2,
|
|
108
116
|
}
|
|
109
117
|
|
|
110
118
|
/**
|
|
@@ -444,6 +452,34 @@ export declare class Pagination extends Message<Pagination> {
|
|
|
444
452
|
static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
|
|
445
453
|
}
|
|
446
454
|
|
|
455
|
+
/**
|
|
456
|
+
* ListUpdate is used for updated APIs where 'repeated string' field is modified.
|
|
457
|
+
*
|
|
458
|
+
* @generated from message livekit.ListUpdate
|
|
459
|
+
*/
|
|
460
|
+
export declare class ListUpdate extends Message<ListUpdate> {
|
|
461
|
+
/**
|
|
462
|
+
* set the field to a new list
|
|
463
|
+
*
|
|
464
|
+
* @generated from field: repeated string set = 1;
|
|
465
|
+
*/
|
|
466
|
+
set: string[];
|
|
467
|
+
|
|
468
|
+
constructor(data?: PartialMessage<ListUpdate>);
|
|
469
|
+
|
|
470
|
+
static readonly runtime: typeof proto3;
|
|
471
|
+
static readonly typeName = "livekit.ListUpdate";
|
|
472
|
+
static readonly fields: FieldList;
|
|
473
|
+
|
|
474
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListUpdate;
|
|
475
|
+
|
|
476
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListUpdate;
|
|
477
|
+
|
|
478
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListUpdate;
|
|
479
|
+
|
|
480
|
+
static equals(a: ListUpdate | PlainMessage<ListUpdate> | undefined, b: ListUpdate | PlainMessage<ListUpdate> | undefined): boolean;
|
|
481
|
+
}
|
|
482
|
+
|
|
447
483
|
/**
|
|
448
484
|
* @generated from message livekit.Room
|
|
449
485
|
*/
|
|
@@ -768,6 +804,11 @@ export declare class ParticipantInfo extends Message<ParticipantInfo> {
|
|
|
768
804
|
*/
|
|
769
805
|
disconnectReason: DisconnectReason;
|
|
770
806
|
|
|
807
|
+
/**
|
|
808
|
+
* @generated from field: repeated livekit.ParticipantInfo.KindDetail kind_details = 18;
|
|
809
|
+
*/
|
|
810
|
+
kindDetails: ParticipantInfo_KindDetail[];
|
|
811
|
+
|
|
771
812
|
constructor(data?: PartialMessage<ParticipantInfo>);
|
|
772
813
|
|
|
773
814
|
static readonly runtime: typeof proto3;
|
|
@@ -854,13 +895,21 @@ export declare enum ParticipantInfo_Kind {
|
|
|
854
895
|
* @generated from enum value: AGENT = 4;
|
|
855
896
|
*/
|
|
856
897
|
AGENT = 4,
|
|
898
|
+
}
|
|
857
899
|
|
|
900
|
+
/**
|
|
901
|
+
* @generated from enum livekit.ParticipantInfo.KindDetail
|
|
902
|
+
*/
|
|
903
|
+
export declare enum ParticipantInfo_KindDetail {
|
|
858
904
|
/**
|
|
859
|
-
*
|
|
860
|
-
|
|
861
|
-
|
|
905
|
+
* @generated from enum value: CLOUD_AGENT = 0;
|
|
906
|
+
*/
|
|
907
|
+
CLOUD_AGENT = 0,
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* @generated from enum value: FORWARDED = 1;
|
|
862
911
|
*/
|
|
863
|
-
FORWARDED =
|
|
912
|
+
FORWARDED = 1,
|
|
864
913
|
}
|
|
865
914
|
|
|
866
915
|
/**
|
|
@@ -65,8 +65,9 @@ export const ImageCodec = /*@__PURE__*/ proto3.makeEnum(
|
|
|
65
65
|
export const BackupCodecPolicy = /*@__PURE__*/ proto3.makeEnum(
|
|
66
66
|
"livekit.BackupCodecPolicy",
|
|
67
67
|
[
|
|
68
|
-
{no: 0, name: "
|
|
68
|
+
{no: 0, name: "PREFER_REGRESSION"},
|
|
69
69
|
{no: 1, name: "SIMULCAST"},
|
|
70
|
+
{no: 2, name: "REGRESSION"},
|
|
70
71
|
],
|
|
71
72
|
);
|
|
72
73
|
|
|
@@ -209,6 +210,18 @@ export const Pagination = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
209
210
|
],
|
|
210
211
|
);
|
|
211
212
|
|
|
213
|
+
/**
|
|
214
|
+
* ListUpdate is used for updated APIs where 'repeated string' field is modified.
|
|
215
|
+
*
|
|
216
|
+
* @generated from message livekit.ListUpdate
|
|
217
|
+
*/
|
|
218
|
+
export const ListUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
219
|
+
"livekit.ListUpdate",
|
|
220
|
+
() => [
|
|
221
|
+
{ no: 1, name: "set", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
222
|
+
],
|
|
223
|
+
);
|
|
224
|
+
|
|
212
225
|
/**
|
|
213
226
|
* @generated from message livekit.Room
|
|
214
227
|
*/
|
|
@@ -294,6 +307,7 @@ export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
294
307
|
{ no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(ParticipantInfo_Kind) },
|
|
295
308
|
{ no: 15, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
296
309
|
{ no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
|
|
310
|
+
{ no: 18, name: "kind_details", kind: "enum", T: proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true },
|
|
297
311
|
],
|
|
298
312
|
);
|
|
299
313
|
|
|
@@ -321,7 +335,17 @@ export const ParticipantInfo_Kind = /*@__PURE__*/ proto3.makeEnum(
|
|
|
321
335
|
{no: 2, name: "EGRESS"},
|
|
322
336
|
{no: 3, name: "SIP"},
|
|
323
337
|
{no: 4, name: "AGENT"},
|
|
324
|
-
|
|
338
|
+
],
|
|
339
|
+
);
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @generated from enum livekit.ParticipantInfo.KindDetail
|
|
343
|
+
*/
|
|
344
|
+
export const ParticipantInfo_KindDetail = /*@__PURE__*/ proto3.makeEnum(
|
|
345
|
+
"livekit.ParticipantInfo.KindDetail",
|
|
346
|
+
[
|
|
347
|
+
{no: 0, name: "CLOUD_AGENT"},
|
|
348
|
+
{no: 1, name: "FORWARDED"},
|
|
325
349
|
],
|
|
326
350
|
);
|
|
327
351
|
|