@livekit/protocol 1.10.2 → 1.10.3
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 +36 -3
- package/src/gen/livekit_egress_pb.d.ts +5 -0
- package/src/gen/livekit_egress_pb.js +1 -0
- package/src/gen/livekit_room_pb.d.ts +637 -0
- package/src/gen/livekit_room_pb.js +226 -0
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livekit/protocol",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -8,11 +8,44 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
"src"
|
|
10
10
|
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./src/index.d.ts",
|
|
14
|
+
"default": "./src/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./models": {
|
|
17
|
+
"types": "./src/gen/livekit_models.pb.d.ts",
|
|
18
|
+
"default": "./src/gen/livekit_models.pb.js"
|
|
19
|
+
},
|
|
20
|
+
"./room": {
|
|
21
|
+
"types": "./src/gen/livekit_room.pb.d.ts",
|
|
22
|
+
"default": "./src/gen/livekit_room.pb.js"
|
|
23
|
+
},
|
|
24
|
+
"./sip": {
|
|
25
|
+
"types": "./src/gen/livekit_sip.pb.d.ts",
|
|
26
|
+
"default": "./src/gen/livekit_sip.pb.js"
|
|
27
|
+
},
|
|
28
|
+
"./egress": {
|
|
29
|
+
"types": "./src/gen/livekit_egress.pb.d.ts",
|
|
30
|
+
"default": "./src/gen/livekit_egress.pb.js"
|
|
31
|
+
},
|
|
32
|
+
"./ingress": {
|
|
33
|
+
"types": "./src/gen/livekit_ingress.pb.d.ts",
|
|
34
|
+
"default": "./src/gen/livekit_ingress.pb.js"
|
|
35
|
+
},
|
|
36
|
+
"./agent": {
|
|
37
|
+
"types": "./src/gen/livekit_agent.pb.d.ts",
|
|
38
|
+
"default": "./src/gen/livekit_agent.pb.js"
|
|
39
|
+
},
|
|
40
|
+
"./webhook": {
|
|
41
|
+
"types": "./src/gen/livekit_webhook.pb.d.ts",
|
|
42
|
+
"default": "./src/gen/livekit_webhook.pb.js"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
11
45
|
"keywords": [],
|
|
12
46
|
"author": "LiveKit",
|
|
13
47
|
"license": "Apache-2.0",
|
|
14
48
|
"devDependencies": {
|
|
15
|
-
"@bufbuild/buf": "^1.29.0",
|
|
16
49
|
"@bufbuild/protoc-gen-es": "^1.7.2",
|
|
17
50
|
"genversion": "^3.2.0"
|
|
18
51
|
},
|
|
@@ -21,7 +54,7 @@
|
|
|
21
54
|
},
|
|
22
55
|
"scripts": {
|
|
23
56
|
"generate:version": "genversion --esm --semi src/gen/version.js",
|
|
24
|
-
"generate:proto": "protoc --es_out src/gen --es_opt target=js+dts -I=../../protobufs ../../protobufs/livekit_rtc.proto ../../protobufs/livekit_models.proto ../../protobufs/livekit_agent.proto ../../protobufs/livekit_webhook.proto ../../protobufs/livekit_egress.proto ../../protobufs/livekit_ingress.proto ../../protobufs/livekit_sip.proto",
|
|
57
|
+
"generate:proto": "protoc --es_out src/gen --es_opt target=js+dts -I=../../protobufs ../../protobufs/livekit_room.proto ../../protobufs/livekit_rtc.proto ../../protobufs/livekit_models.proto ../../protobufs/livekit_agent.proto ../../protobufs/livekit_webhook.proto ../../protobufs/livekit_egress.proto ../../protobufs/livekit_ingress.proto ../../protobufs/livekit_sip.proto",
|
|
25
58
|
"build": "pnpm generate:version && pnpm generate:proto"
|
|
26
59
|
}
|
|
27
60
|
}
|
|
@@ -1098,6 +1098,11 @@ export declare class GCPUpload extends Message<GCPUpload> {
|
|
|
1098
1098
|
*/
|
|
1099
1099
|
bucket: string;
|
|
1100
1100
|
|
|
1101
|
+
/**
|
|
1102
|
+
* @generated from field: string endpoint = 3;
|
|
1103
|
+
*/
|
|
1104
|
+
endpoint: string;
|
|
1105
|
+
|
|
1101
1106
|
constructor(data?: PartialMessage<GCPUpload>);
|
|
1102
1107
|
|
|
1103
1108
|
static readonly runtime: typeof proto3;
|
|
@@ -315,6 +315,7 @@ export const GCPUpload = proto3.makeMessageType(
|
|
|
315
315
|
() => [
|
|
316
316
|
{ no: 1, name: "credentials", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
317
317
|
{ no: 2, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
318
|
+
{ no: 3, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
318
319
|
],
|
|
319
320
|
);
|
|
320
321
|
|
|
@@ -0,0 +1,637 @@
|
|
|
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.7.2 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file livekit_room.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
import type { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js";
|
|
23
|
+
import type { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @generated from message livekit.CreateRoomRequest
|
|
27
|
+
*/
|
|
28
|
+
export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
|
|
29
|
+
/**
|
|
30
|
+
* name of the room
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: string name = 1;
|
|
33
|
+
*/
|
|
34
|
+
name: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* number of seconds to keep the room open if no one joins
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: uint32 empty_timeout = 2;
|
|
40
|
+
*/
|
|
41
|
+
emptyTimeout: number;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* number of seconds to keep the room open after everyone leaves
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: uint32 departure_timeout = 10;
|
|
47
|
+
*/
|
|
48
|
+
departureTimeout: number;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* limit number of participants that can be in a room
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: uint32 max_participants = 3;
|
|
54
|
+
*/
|
|
55
|
+
maxParticipants: number;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* override the node room is allocated to, for debugging
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: string node_id = 4;
|
|
61
|
+
*/
|
|
62
|
+
nodeId: string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* metadata of room
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: string metadata = 5;
|
|
68
|
+
*/
|
|
69
|
+
metadata: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* egress
|
|
73
|
+
*
|
|
74
|
+
* @generated from field: livekit.RoomEgress egress = 6;
|
|
75
|
+
*/
|
|
76
|
+
egress?: RoomEgress;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* playout delay of subscriber
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: uint32 min_playout_delay = 7;
|
|
82
|
+
*/
|
|
83
|
+
minPlayoutDelay: number;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: uint32 max_playout_delay = 8;
|
|
87
|
+
*/
|
|
88
|
+
maxPlayoutDelay: number;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use
|
|
92
|
+
* so not recommended for rooms with frequent subscription changes
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: bool sync_streams = 9;
|
|
95
|
+
*/
|
|
96
|
+
syncStreams: boolean;
|
|
97
|
+
|
|
98
|
+
constructor(data?: PartialMessage<CreateRoomRequest>);
|
|
99
|
+
|
|
100
|
+
static readonly runtime: typeof proto3;
|
|
101
|
+
static readonly typeName = "livekit.CreateRoomRequest";
|
|
102
|
+
static readonly fields: FieldList;
|
|
103
|
+
|
|
104
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateRoomRequest;
|
|
105
|
+
|
|
106
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateRoomRequest;
|
|
107
|
+
|
|
108
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateRoomRequest;
|
|
109
|
+
|
|
110
|
+
static equals(a: CreateRoomRequest | PlainMessage<CreateRoomRequest> | undefined, b: CreateRoomRequest | PlainMessage<CreateRoomRequest> | undefined): boolean;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from message livekit.RoomEgress
|
|
115
|
+
*/
|
|
116
|
+
export declare class RoomEgress extends Message<RoomEgress> {
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: livekit.RoomCompositeEgressRequest room = 1;
|
|
119
|
+
*/
|
|
120
|
+
room?: RoomCompositeEgressRequest;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: livekit.AutoParticipantEgress participant = 3;
|
|
124
|
+
*/
|
|
125
|
+
participant?: AutoParticipantEgress;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: livekit.AutoTrackEgress tracks = 2;
|
|
129
|
+
*/
|
|
130
|
+
tracks?: AutoTrackEgress;
|
|
131
|
+
|
|
132
|
+
constructor(data?: PartialMessage<RoomEgress>);
|
|
133
|
+
|
|
134
|
+
static readonly runtime: typeof proto3;
|
|
135
|
+
static readonly typeName = "livekit.RoomEgress";
|
|
136
|
+
static readonly fields: FieldList;
|
|
137
|
+
|
|
138
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomEgress;
|
|
139
|
+
|
|
140
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomEgress;
|
|
141
|
+
|
|
142
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomEgress;
|
|
143
|
+
|
|
144
|
+
static equals(a: RoomEgress | PlainMessage<RoomEgress> | undefined, b: RoomEgress | PlainMessage<RoomEgress> | undefined): boolean;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @generated from message livekit.ListRoomsRequest
|
|
149
|
+
*/
|
|
150
|
+
export declare class ListRoomsRequest extends Message<ListRoomsRequest> {
|
|
151
|
+
/**
|
|
152
|
+
* when set, will only return rooms with name match
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: repeated string names = 1;
|
|
155
|
+
*/
|
|
156
|
+
names: string[];
|
|
157
|
+
|
|
158
|
+
constructor(data?: PartialMessage<ListRoomsRequest>);
|
|
159
|
+
|
|
160
|
+
static readonly runtime: typeof proto3;
|
|
161
|
+
static readonly typeName = "livekit.ListRoomsRequest";
|
|
162
|
+
static readonly fields: FieldList;
|
|
163
|
+
|
|
164
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRoomsRequest;
|
|
165
|
+
|
|
166
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRoomsRequest;
|
|
167
|
+
|
|
168
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRoomsRequest;
|
|
169
|
+
|
|
170
|
+
static equals(a: ListRoomsRequest | PlainMessage<ListRoomsRequest> | undefined, b: ListRoomsRequest | PlainMessage<ListRoomsRequest> | undefined): boolean;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @generated from message livekit.ListRoomsResponse
|
|
175
|
+
*/
|
|
176
|
+
export declare class ListRoomsResponse extends Message<ListRoomsResponse> {
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: repeated livekit.Room rooms = 1;
|
|
179
|
+
*/
|
|
180
|
+
rooms: Room[];
|
|
181
|
+
|
|
182
|
+
constructor(data?: PartialMessage<ListRoomsResponse>);
|
|
183
|
+
|
|
184
|
+
static readonly runtime: typeof proto3;
|
|
185
|
+
static readonly typeName = "livekit.ListRoomsResponse";
|
|
186
|
+
static readonly fields: FieldList;
|
|
187
|
+
|
|
188
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRoomsResponse;
|
|
189
|
+
|
|
190
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRoomsResponse;
|
|
191
|
+
|
|
192
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRoomsResponse;
|
|
193
|
+
|
|
194
|
+
static equals(a: ListRoomsResponse | PlainMessage<ListRoomsResponse> | undefined, b: ListRoomsResponse | PlainMessage<ListRoomsResponse> | undefined): boolean;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @generated from message livekit.DeleteRoomRequest
|
|
199
|
+
*/
|
|
200
|
+
export declare class DeleteRoomRequest extends Message<DeleteRoomRequest> {
|
|
201
|
+
/**
|
|
202
|
+
* name of the room
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: string room = 1;
|
|
205
|
+
*/
|
|
206
|
+
room: string;
|
|
207
|
+
|
|
208
|
+
constructor(data?: PartialMessage<DeleteRoomRequest>);
|
|
209
|
+
|
|
210
|
+
static readonly runtime: typeof proto3;
|
|
211
|
+
static readonly typeName = "livekit.DeleteRoomRequest";
|
|
212
|
+
static readonly fields: FieldList;
|
|
213
|
+
|
|
214
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteRoomRequest;
|
|
215
|
+
|
|
216
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteRoomRequest;
|
|
217
|
+
|
|
218
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteRoomRequest;
|
|
219
|
+
|
|
220
|
+
static equals(a: DeleteRoomRequest | PlainMessage<DeleteRoomRequest> | undefined, b: DeleteRoomRequest | PlainMessage<DeleteRoomRequest> | undefined): boolean;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @generated from message livekit.DeleteRoomResponse
|
|
225
|
+
*/
|
|
226
|
+
export declare class DeleteRoomResponse extends Message<DeleteRoomResponse> {
|
|
227
|
+
constructor(data?: PartialMessage<DeleteRoomResponse>);
|
|
228
|
+
|
|
229
|
+
static readonly runtime: typeof proto3;
|
|
230
|
+
static readonly typeName = "livekit.DeleteRoomResponse";
|
|
231
|
+
static readonly fields: FieldList;
|
|
232
|
+
|
|
233
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteRoomResponse;
|
|
234
|
+
|
|
235
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteRoomResponse;
|
|
236
|
+
|
|
237
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteRoomResponse;
|
|
238
|
+
|
|
239
|
+
static equals(a: DeleteRoomResponse | PlainMessage<DeleteRoomResponse> | undefined, b: DeleteRoomResponse | PlainMessage<DeleteRoomResponse> | undefined): boolean;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from message livekit.ListParticipantsRequest
|
|
244
|
+
*/
|
|
245
|
+
export declare class ListParticipantsRequest extends Message<ListParticipantsRequest> {
|
|
246
|
+
/**
|
|
247
|
+
* name of the room
|
|
248
|
+
*
|
|
249
|
+
* @generated from field: string room = 1;
|
|
250
|
+
*/
|
|
251
|
+
room: string;
|
|
252
|
+
|
|
253
|
+
constructor(data?: PartialMessage<ListParticipantsRequest>);
|
|
254
|
+
|
|
255
|
+
static readonly runtime: typeof proto3;
|
|
256
|
+
static readonly typeName = "livekit.ListParticipantsRequest";
|
|
257
|
+
static readonly fields: FieldList;
|
|
258
|
+
|
|
259
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListParticipantsRequest;
|
|
260
|
+
|
|
261
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListParticipantsRequest;
|
|
262
|
+
|
|
263
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListParticipantsRequest;
|
|
264
|
+
|
|
265
|
+
static equals(a: ListParticipantsRequest | PlainMessage<ListParticipantsRequest> | undefined, b: ListParticipantsRequest | PlainMessage<ListParticipantsRequest> | undefined): boolean;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* @generated from message livekit.ListParticipantsResponse
|
|
270
|
+
*/
|
|
271
|
+
export declare class ListParticipantsResponse extends Message<ListParticipantsResponse> {
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: repeated livekit.ParticipantInfo participants = 1;
|
|
274
|
+
*/
|
|
275
|
+
participants: ParticipantInfo[];
|
|
276
|
+
|
|
277
|
+
constructor(data?: PartialMessage<ListParticipantsResponse>);
|
|
278
|
+
|
|
279
|
+
static readonly runtime: typeof proto3;
|
|
280
|
+
static readonly typeName = "livekit.ListParticipantsResponse";
|
|
281
|
+
static readonly fields: FieldList;
|
|
282
|
+
|
|
283
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListParticipantsResponse;
|
|
284
|
+
|
|
285
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListParticipantsResponse;
|
|
286
|
+
|
|
287
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListParticipantsResponse;
|
|
288
|
+
|
|
289
|
+
static equals(a: ListParticipantsResponse | PlainMessage<ListParticipantsResponse> | undefined, b: ListParticipantsResponse | PlainMessage<ListParticipantsResponse> | undefined): boolean;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @generated from message livekit.RoomParticipantIdentity
|
|
294
|
+
*/
|
|
295
|
+
export declare class RoomParticipantIdentity extends Message<RoomParticipantIdentity> {
|
|
296
|
+
/**
|
|
297
|
+
* name of the room
|
|
298
|
+
*
|
|
299
|
+
* @generated from field: string room = 1;
|
|
300
|
+
*/
|
|
301
|
+
room: string;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* identity of the participant
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: string identity = 2;
|
|
307
|
+
*/
|
|
308
|
+
identity: string;
|
|
309
|
+
|
|
310
|
+
constructor(data?: PartialMessage<RoomParticipantIdentity>);
|
|
311
|
+
|
|
312
|
+
static readonly runtime: typeof proto3;
|
|
313
|
+
static readonly typeName = "livekit.RoomParticipantIdentity";
|
|
314
|
+
static readonly fields: FieldList;
|
|
315
|
+
|
|
316
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomParticipantIdentity;
|
|
317
|
+
|
|
318
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomParticipantIdentity;
|
|
319
|
+
|
|
320
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomParticipantIdentity;
|
|
321
|
+
|
|
322
|
+
static equals(a: RoomParticipantIdentity | PlainMessage<RoomParticipantIdentity> | undefined, b: RoomParticipantIdentity | PlainMessage<RoomParticipantIdentity> | undefined): boolean;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* @generated from message livekit.RemoveParticipantResponse
|
|
327
|
+
*/
|
|
328
|
+
export declare class RemoveParticipantResponse extends Message<RemoveParticipantResponse> {
|
|
329
|
+
constructor(data?: PartialMessage<RemoveParticipantResponse>);
|
|
330
|
+
|
|
331
|
+
static readonly runtime: typeof proto3;
|
|
332
|
+
static readonly typeName = "livekit.RemoveParticipantResponse";
|
|
333
|
+
static readonly fields: FieldList;
|
|
334
|
+
|
|
335
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoveParticipantResponse;
|
|
336
|
+
|
|
337
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoveParticipantResponse;
|
|
338
|
+
|
|
339
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoveParticipantResponse;
|
|
340
|
+
|
|
341
|
+
static equals(a: RemoveParticipantResponse | PlainMessage<RemoveParticipantResponse> | undefined, b: RemoveParticipantResponse | PlainMessage<RemoveParticipantResponse> | undefined): boolean;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @generated from message livekit.MuteRoomTrackRequest
|
|
346
|
+
*/
|
|
347
|
+
export declare class MuteRoomTrackRequest extends Message<MuteRoomTrackRequest> {
|
|
348
|
+
/**
|
|
349
|
+
* name of the room
|
|
350
|
+
*
|
|
351
|
+
* @generated from field: string room = 1;
|
|
352
|
+
*/
|
|
353
|
+
room: string;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* @generated from field: string identity = 2;
|
|
357
|
+
*/
|
|
358
|
+
identity: string;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* sid of the track to mute
|
|
362
|
+
*
|
|
363
|
+
* @generated from field: string track_sid = 3;
|
|
364
|
+
*/
|
|
365
|
+
trackSid: string;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* set to true to mute, false to unmute
|
|
369
|
+
*
|
|
370
|
+
* @generated from field: bool muted = 4;
|
|
371
|
+
*/
|
|
372
|
+
muted: boolean;
|
|
373
|
+
|
|
374
|
+
constructor(data?: PartialMessage<MuteRoomTrackRequest>);
|
|
375
|
+
|
|
376
|
+
static readonly runtime: typeof proto3;
|
|
377
|
+
static readonly typeName = "livekit.MuteRoomTrackRequest";
|
|
378
|
+
static readonly fields: FieldList;
|
|
379
|
+
|
|
380
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MuteRoomTrackRequest;
|
|
381
|
+
|
|
382
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MuteRoomTrackRequest;
|
|
383
|
+
|
|
384
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MuteRoomTrackRequest;
|
|
385
|
+
|
|
386
|
+
static equals(a: MuteRoomTrackRequest | PlainMessage<MuteRoomTrackRequest> | undefined, b: MuteRoomTrackRequest | PlainMessage<MuteRoomTrackRequest> | undefined): boolean;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* @generated from message livekit.MuteRoomTrackResponse
|
|
391
|
+
*/
|
|
392
|
+
export declare class MuteRoomTrackResponse extends Message<MuteRoomTrackResponse> {
|
|
393
|
+
/**
|
|
394
|
+
* @generated from field: livekit.TrackInfo track = 1;
|
|
395
|
+
*/
|
|
396
|
+
track?: TrackInfo;
|
|
397
|
+
|
|
398
|
+
constructor(data?: PartialMessage<MuteRoomTrackResponse>);
|
|
399
|
+
|
|
400
|
+
static readonly runtime: typeof proto3;
|
|
401
|
+
static readonly typeName = "livekit.MuteRoomTrackResponse";
|
|
402
|
+
static readonly fields: FieldList;
|
|
403
|
+
|
|
404
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MuteRoomTrackResponse;
|
|
405
|
+
|
|
406
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MuteRoomTrackResponse;
|
|
407
|
+
|
|
408
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MuteRoomTrackResponse;
|
|
409
|
+
|
|
410
|
+
static equals(a: MuteRoomTrackResponse | PlainMessage<MuteRoomTrackResponse> | undefined, b: MuteRoomTrackResponse | PlainMessage<MuteRoomTrackResponse> | undefined): boolean;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* @generated from message livekit.UpdateParticipantRequest
|
|
415
|
+
*/
|
|
416
|
+
export declare class UpdateParticipantRequest extends Message<UpdateParticipantRequest> {
|
|
417
|
+
/**
|
|
418
|
+
* @generated from field: string room = 1;
|
|
419
|
+
*/
|
|
420
|
+
room: string;
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* @generated from field: string identity = 2;
|
|
424
|
+
*/
|
|
425
|
+
identity: string;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* metadata to update. skipping updates if left empty
|
|
429
|
+
*
|
|
430
|
+
* @generated from field: string metadata = 3;
|
|
431
|
+
*/
|
|
432
|
+
metadata: string;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* set to update the participant's permissions
|
|
436
|
+
*
|
|
437
|
+
* @generated from field: livekit.ParticipantPermission permission = 4;
|
|
438
|
+
*/
|
|
439
|
+
permission?: ParticipantPermission;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* display name to update
|
|
443
|
+
*
|
|
444
|
+
* @generated from field: string name = 5;
|
|
445
|
+
*/
|
|
446
|
+
name: string;
|
|
447
|
+
|
|
448
|
+
constructor(data?: PartialMessage<UpdateParticipantRequest>);
|
|
449
|
+
|
|
450
|
+
static readonly runtime: typeof proto3;
|
|
451
|
+
static readonly typeName = "livekit.UpdateParticipantRequest";
|
|
452
|
+
static readonly fields: FieldList;
|
|
453
|
+
|
|
454
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateParticipantRequest;
|
|
455
|
+
|
|
456
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateParticipantRequest;
|
|
457
|
+
|
|
458
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateParticipantRequest;
|
|
459
|
+
|
|
460
|
+
static equals(a: UpdateParticipantRequest | PlainMessage<UpdateParticipantRequest> | undefined, b: UpdateParticipantRequest | PlainMessage<UpdateParticipantRequest> | undefined): boolean;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* @generated from message livekit.UpdateSubscriptionsRequest
|
|
465
|
+
*/
|
|
466
|
+
export declare class UpdateSubscriptionsRequest extends Message<UpdateSubscriptionsRequest> {
|
|
467
|
+
/**
|
|
468
|
+
* @generated from field: string room = 1;
|
|
469
|
+
*/
|
|
470
|
+
room: string;
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* @generated from field: string identity = 2;
|
|
474
|
+
*/
|
|
475
|
+
identity: string;
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* list of sids of tracks
|
|
479
|
+
*
|
|
480
|
+
* @generated from field: repeated string track_sids = 3;
|
|
481
|
+
*/
|
|
482
|
+
trackSids: string[];
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* set to true to subscribe, false to unsubscribe from tracks
|
|
486
|
+
*
|
|
487
|
+
* @generated from field: bool subscribe = 4;
|
|
488
|
+
*/
|
|
489
|
+
subscribe: boolean;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* list of participants and their tracks
|
|
493
|
+
*
|
|
494
|
+
* @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5;
|
|
495
|
+
*/
|
|
496
|
+
participantTracks: ParticipantTracks[];
|
|
497
|
+
|
|
498
|
+
constructor(data?: PartialMessage<UpdateSubscriptionsRequest>);
|
|
499
|
+
|
|
500
|
+
static readonly runtime: typeof proto3;
|
|
501
|
+
static readonly typeName = "livekit.UpdateSubscriptionsRequest";
|
|
502
|
+
static readonly fields: FieldList;
|
|
503
|
+
|
|
504
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSubscriptionsRequest;
|
|
505
|
+
|
|
506
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSubscriptionsRequest;
|
|
507
|
+
|
|
508
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSubscriptionsRequest;
|
|
509
|
+
|
|
510
|
+
static equals(a: UpdateSubscriptionsRequest | PlainMessage<UpdateSubscriptionsRequest> | undefined, b: UpdateSubscriptionsRequest | PlainMessage<UpdateSubscriptionsRequest> | undefined): boolean;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* empty for now
|
|
515
|
+
*
|
|
516
|
+
* @generated from message livekit.UpdateSubscriptionsResponse
|
|
517
|
+
*/
|
|
518
|
+
export declare class UpdateSubscriptionsResponse extends Message<UpdateSubscriptionsResponse> {
|
|
519
|
+
constructor(data?: PartialMessage<UpdateSubscriptionsResponse>);
|
|
520
|
+
|
|
521
|
+
static readonly runtime: typeof proto3;
|
|
522
|
+
static readonly typeName = "livekit.UpdateSubscriptionsResponse";
|
|
523
|
+
static readonly fields: FieldList;
|
|
524
|
+
|
|
525
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSubscriptionsResponse;
|
|
526
|
+
|
|
527
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSubscriptionsResponse;
|
|
528
|
+
|
|
529
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSubscriptionsResponse;
|
|
530
|
+
|
|
531
|
+
static equals(a: UpdateSubscriptionsResponse | PlainMessage<UpdateSubscriptionsResponse> | undefined, b: UpdateSubscriptionsResponse | PlainMessage<UpdateSubscriptionsResponse> | undefined): boolean;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* @generated from message livekit.SendDataRequest
|
|
536
|
+
*/
|
|
537
|
+
export declare class SendDataRequest extends Message<SendDataRequest> {
|
|
538
|
+
/**
|
|
539
|
+
* @generated from field: string room = 1;
|
|
540
|
+
*/
|
|
541
|
+
room: string;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* @generated from field: bytes data = 2;
|
|
545
|
+
*/
|
|
546
|
+
data: Uint8Array;
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* @generated from field: livekit.DataPacket.Kind kind = 3;
|
|
550
|
+
*/
|
|
551
|
+
kind: DataPacket_Kind;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* mark deprecated
|
|
555
|
+
*
|
|
556
|
+
* @generated from field: repeated string destination_sids = 4 [deprecated = true];
|
|
557
|
+
* @deprecated
|
|
558
|
+
*/
|
|
559
|
+
destinationSids: string[];
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* when set, only forward to these identities
|
|
563
|
+
*
|
|
564
|
+
* @generated from field: repeated string destination_identities = 6;
|
|
565
|
+
*/
|
|
566
|
+
destinationIdentities: string[];
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* @generated from field: optional string topic = 5;
|
|
570
|
+
*/
|
|
571
|
+
topic?: string;
|
|
572
|
+
|
|
573
|
+
constructor(data?: PartialMessage<SendDataRequest>);
|
|
574
|
+
|
|
575
|
+
static readonly runtime: typeof proto3;
|
|
576
|
+
static readonly typeName = "livekit.SendDataRequest";
|
|
577
|
+
static readonly fields: FieldList;
|
|
578
|
+
|
|
579
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendDataRequest;
|
|
580
|
+
|
|
581
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendDataRequest;
|
|
582
|
+
|
|
583
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendDataRequest;
|
|
584
|
+
|
|
585
|
+
static equals(a: SendDataRequest | PlainMessage<SendDataRequest> | undefined, b: SendDataRequest | PlainMessage<SendDataRequest> | undefined): boolean;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* @generated from message livekit.SendDataResponse
|
|
590
|
+
*/
|
|
591
|
+
export declare class SendDataResponse extends Message<SendDataResponse> {
|
|
592
|
+
constructor(data?: PartialMessage<SendDataResponse>);
|
|
593
|
+
|
|
594
|
+
static readonly runtime: typeof proto3;
|
|
595
|
+
static readonly typeName = "livekit.SendDataResponse";
|
|
596
|
+
static readonly fields: FieldList;
|
|
597
|
+
|
|
598
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendDataResponse;
|
|
599
|
+
|
|
600
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendDataResponse;
|
|
601
|
+
|
|
602
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendDataResponse;
|
|
603
|
+
|
|
604
|
+
static equals(a: SendDataResponse | PlainMessage<SendDataResponse> | undefined, b: SendDataResponse | PlainMessage<SendDataResponse> | undefined): boolean;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* @generated from message livekit.UpdateRoomMetadataRequest
|
|
609
|
+
*/
|
|
610
|
+
export declare class UpdateRoomMetadataRequest extends Message<UpdateRoomMetadataRequest> {
|
|
611
|
+
/**
|
|
612
|
+
* @generated from field: string room = 1;
|
|
613
|
+
*/
|
|
614
|
+
room: string;
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* metadata to update. skipping updates if left empty
|
|
618
|
+
*
|
|
619
|
+
* @generated from field: string metadata = 2;
|
|
620
|
+
*/
|
|
621
|
+
metadata: string;
|
|
622
|
+
|
|
623
|
+
constructor(data?: PartialMessage<UpdateRoomMetadataRequest>);
|
|
624
|
+
|
|
625
|
+
static readonly runtime: typeof proto3;
|
|
626
|
+
static readonly typeName = "livekit.UpdateRoomMetadataRequest";
|
|
627
|
+
static readonly fields: FieldList;
|
|
628
|
+
|
|
629
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateRoomMetadataRequest;
|
|
630
|
+
|
|
631
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateRoomMetadataRequest;
|
|
632
|
+
|
|
633
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateRoomMetadataRequest;
|
|
634
|
+
|
|
635
|
+
static equals(a: UpdateRoomMetadataRequest | PlainMessage<UpdateRoomMetadataRequest> | undefined, b: UpdateRoomMetadataRequest | PlainMessage<UpdateRoomMetadataRequest> | undefined): boolean;
|
|
636
|
+
}
|
|
637
|
+
|
|
@@ -0,0 +1,226 @@
|
|
|
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.7.2 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file livekit_room.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
import { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js";
|
|
22
|
+
import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from message livekit.CreateRoomRequest
|
|
26
|
+
*/
|
|
27
|
+
export const CreateRoomRequest = proto3.makeMessageType(
|
|
28
|
+
"livekit.CreateRoomRequest",
|
|
29
|
+
() => [
|
|
30
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
31
|
+
{ no: 2, name: "empty_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
32
|
+
{ no: 10, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
33
|
+
{ no: 3, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
34
|
+
{ no: 4, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
35
|
+
{ no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
36
|
+
{ no: 6, name: "egress", kind: "message", T: RoomEgress },
|
|
37
|
+
{ no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
38
|
+
{ no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
39
|
+
{ no: 9, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
40
|
+
],
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from message livekit.RoomEgress
|
|
45
|
+
*/
|
|
46
|
+
export const RoomEgress = proto3.makeMessageType(
|
|
47
|
+
"livekit.RoomEgress",
|
|
48
|
+
() => [
|
|
49
|
+
{ no: 1, name: "room", kind: "message", T: RoomCompositeEgressRequest },
|
|
50
|
+
{ no: 3, name: "participant", kind: "message", T: AutoParticipantEgress },
|
|
51
|
+
{ no: 2, name: "tracks", kind: "message", T: AutoTrackEgress },
|
|
52
|
+
],
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from message livekit.ListRoomsRequest
|
|
57
|
+
*/
|
|
58
|
+
export const ListRoomsRequest = proto3.makeMessageType(
|
|
59
|
+
"livekit.ListRoomsRequest",
|
|
60
|
+
() => [
|
|
61
|
+
{ no: 1, name: "names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
62
|
+
],
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from message livekit.ListRoomsResponse
|
|
67
|
+
*/
|
|
68
|
+
export const ListRoomsResponse = proto3.makeMessageType(
|
|
69
|
+
"livekit.ListRoomsResponse",
|
|
70
|
+
() => [
|
|
71
|
+
{ no: 1, name: "rooms", kind: "message", T: Room, repeated: true },
|
|
72
|
+
],
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from message livekit.DeleteRoomRequest
|
|
77
|
+
*/
|
|
78
|
+
export const DeleteRoomRequest = proto3.makeMessageType(
|
|
79
|
+
"livekit.DeleteRoomRequest",
|
|
80
|
+
() => [
|
|
81
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
82
|
+
],
|
|
83
|
+
);
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @generated from message livekit.DeleteRoomResponse
|
|
87
|
+
*/
|
|
88
|
+
export const DeleteRoomResponse = proto3.makeMessageType(
|
|
89
|
+
"livekit.DeleteRoomResponse",
|
|
90
|
+
[],
|
|
91
|
+
);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from message livekit.ListParticipantsRequest
|
|
95
|
+
*/
|
|
96
|
+
export const ListParticipantsRequest = proto3.makeMessageType(
|
|
97
|
+
"livekit.ListParticipantsRequest",
|
|
98
|
+
() => [
|
|
99
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
100
|
+
],
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from message livekit.ListParticipantsResponse
|
|
105
|
+
*/
|
|
106
|
+
export const ListParticipantsResponse = proto3.makeMessageType(
|
|
107
|
+
"livekit.ListParticipantsResponse",
|
|
108
|
+
() => [
|
|
109
|
+
{ no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true },
|
|
110
|
+
],
|
|
111
|
+
);
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from message livekit.RoomParticipantIdentity
|
|
115
|
+
*/
|
|
116
|
+
export const RoomParticipantIdentity = proto3.makeMessageType(
|
|
117
|
+
"livekit.RoomParticipantIdentity",
|
|
118
|
+
() => [
|
|
119
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
120
|
+
{ no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
121
|
+
],
|
|
122
|
+
);
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from message livekit.RemoveParticipantResponse
|
|
126
|
+
*/
|
|
127
|
+
export const RemoveParticipantResponse = proto3.makeMessageType(
|
|
128
|
+
"livekit.RemoveParticipantResponse",
|
|
129
|
+
[],
|
|
130
|
+
);
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @generated from message livekit.MuteRoomTrackRequest
|
|
134
|
+
*/
|
|
135
|
+
export const MuteRoomTrackRequest = proto3.makeMessageType(
|
|
136
|
+
"livekit.MuteRoomTrackRequest",
|
|
137
|
+
() => [
|
|
138
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
139
|
+
{ no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
140
|
+
{ no: 3, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
141
|
+
{ no: 4, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
142
|
+
],
|
|
143
|
+
);
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @generated from message livekit.MuteRoomTrackResponse
|
|
147
|
+
*/
|
|
148
|
+
export const MuteRoomTrackResponse = proto3.makeMessageType(
|
|
149
|
+
"livekit.MuteRoomTrackResponse",
|
|
150
|
+
() => [
|
|
151
|
+
{ no: 1, name: "track", kind: "message", T: TrackInfo },
|
|
152
|
+
],
|
|
153
|
+
);
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @generated from message livekit.UpdateParticipantRequest
|
|
157
|
+
*/
|
|
158
|
+
export const UpdateParticipantRequest = proto3.makeMessageType(
|
|
159
|
+
"livekit.UpdateParticipantRequest",
|
|
160
|
+
() => [
|
|
161
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
162
|
+
{ no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
163
|
+
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
164
|
+
{ no: 4, name: "permission", kind: "message", T: ParticipantPermission },
|
|
165
|
+
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
166
|
+
],
|
|
167
|
+
);
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @generated from message livekit.UpdateSubscriptionsRequest
|
|
171
|
+
*/
|
|
172
|
+
export const UpdateSubscriptionsRequest = proto3.makeMessageType(
|
|
173
|
+
"livekit.UpdateSubscriptionsRequest",
|
|
174
|
+
() => [
|
|
175
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
176
|
+
{ no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
177
|
+
{ no: 3, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
178
|
+
{ no: 4, name: "subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
179
|
+
{ no: 5, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true },
|
|
180
|
+
],
|
|
181
|
+
);
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* empty for now
|
|
185
|
+
*
|
|
186
|
+
* @generated from message livekit.UpdateSubscriptionsResponse
|
|
187
|
+
*/
|
|
188
|
+
export const UpdateSubscriptionsResponse = proto3.makeMessageType(
|
|
189
|
+
"livekit.UpdateSubscriptionsResponse",
|
|
190
|
+
[],
|
|
191
|
+
);
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @generated from message livekit.SendDataRequest
|
|
195
|
+
*/
|
|
196
|
+
export const SendDataRequest = proto3.makeMessageType(
|
|
197
|
+
"livekit.SendDataRequest",
|
|
198
|
+
() => [
|
|
199
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
200
|
+
{ no: 2, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
201
|
+
{ no: 3, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacket_Kind) },
|
|
202
|
+
{ no: 4, name: "destination_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
203
|
+
{ no: 6, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
204
|
+
{ no: 5, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
205
|
+
],
|
|
206
|
+
);
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @generated from message livekit.SendDataResponse
|
|
210
|
+
*/
|
|
211
|
+
export const SendDataResponse = proto3.makeMessageType(
|
|
212
|
+
"livekit.SendDataResponse",
|
|
213
|
+
[],
|
|
214
|
+
);
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @generated from message livekit.UpdateRoomMetadataRequest
|
|
218
|
+
*/
|
|
219
|
+
export const UpdateRoomMetadataRequest = proto3.makeMessageType(
|
|
220
|
+
"livekit.UpdateRoomMetadataRequest",
|
|
221
|
+
() => [
|
|
222
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
223
|
+
{ no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
224
|
+
],
|
|
225
|
+
);
|
|
226
|
+
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.10.
|
|
2
|
+
export const version = '1.10.3';
|
package/src/index.d.ts
CHANGED