livekit-client 2.0.5 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/livekit-client.esm.mjs +10343 -9885
- package/dist/livekit-client.esm.mjs.map +1 -1
- package/dist/livekit-client.umd.js +1 -1
- package/dist/livekit-client.umd.js.map +1 -1
- package/dist/src/api/SignalClient.d.ts +1 -2
- package/dist/src/api/SignalClient.d.ts.map +1 -1
- package/dist/src/e2ee/E2eeManager.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/room/PCTransportManager.d.ts +1 -1
- package/dist/src/room/PCTransportManager.d.ts.map +1 -1
- package/dist/src/room/RTCEngine.d.ts +1 -2
- package/dist/src/room/RTCEngine.d.ts.map +1 -1
- package/dist/src/room/RegionUrlProvider.d.ts +1 -1
- package/dist/src/room/RegionUrlProvider.d.ts.map +1 -1
- package/dist/src/room/Room.d.ts +1 -1
- package/dist/src/room/Room.d.ts.map +1 -1
- package/dist/src/room/participant/LocalParticipant.d.ts +1 -1
- package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
- package/dist/src/room/participant/Participant.d.ts +1 -1
- package/dist/src/room/participant/Participant.d.ts.map +1 -1
- package/dist/src/room/participant/ParticipantTrackPermission.d.ts +1 -1
- package/dist/src/room/participant/ParticipantTrackPermission.d.ts.map +1 -1
- package/dist/src/room/participant/RemoteParticipant.d.ts +1 -1
- package/dist/src/room/participant/RemoteParticipant.d.ts.map +1 -1
- package/dist/src/room/track/LocalAudioTrack.d.ts.map +1 -1
- package/dist/src/room/track/LocalTrackPublication.d.ts +1 -1
- package/dist/src/room/track/LocalTrackPublication.d.ts.map +1 -1
- package/dist/src/room/track/LocalVideoTrack.d.ts +1 -2
- package/dist/src/room/track/LocalVideoTrack.d.ts.map +1 -1
- package/dist/src/room/track/RemoteAudioTrack.d.ts.map +1 -1
- package/dist/src/room/track/RemoteTrackPublication.d.ts +1 -1
- package/dist/src/room/track/RemoteTrackPublication.d.ts.map +1 -1
- package/dist/src/room/track/Track.d.ts +1 -2
- package/dist/src/room/track/Track.d.ts.map +1 -1
- package/dist/src/room/track/TrackPublication.d.ts +2 -3
- package/dist/src/room/track/TrackPublication.d.ts.map +1 -1
- package/dist/src/room/track/options.d.ts +6 -0
- package/dist/src/room/track/options.d.ts.map +1 -1
- package/dist/src/room/track/utils.d.ts +1 -1
- package/dist/src/room/track/utils.d.ts.map +1 -1
- package/dist/src/room/utils.d.ts +1 -1
- package/dist/src/room/utils.d.ts.map +1 -1
- package/dist/ts4.2/src/api/SignalClient.d.ts +1 -2
- package/dist/ts4.2/src/index.d.ts +1 -1
- package/dist/ts4.2/src/room/PCTransportManager.d.ts +1 -1
- package/dist/ts4.2/src/room/RTCEngine.d.ts +2 -3
- package/dist/ts4.2/src/room/RegionUrlProvider.d.ts +1 -1
- package/dist/ts4.2/src/room/Room.d.ts +1 -1
- package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +1 -1
- package/dist/ts4.2/src/room/participant/Participant.d.ts +1 -1
- package/dist/ts4.2/src/room/participant/ParticipantTrackPermission.d.ts +1 -1
- package/dist/ts4.2/src/room/participant/RemoteParticipant.d.ts +1 -1
- package/dist/ts4.2/src/room/track/LocalTrackPublication.d.ts +1 -1
- package/dist/ts4.2/src/room/track/LocalVideoTrack.d.ts +1 -2
- package/dist/ts4.2/src/room/track/RemoteTrackPublication.d.ts +1 -1
- package/dist/ts4.2/src/room/track/Track.d.ts +1 -2
- package/dist/ts4.2/src/room/track/TrackPublication.d.ts +2 -3
- package/dist/ts4.2/src/room/track/options.d.ts +6 -0
- package/dist/ts4.2/src/room/track/utils.d.ts +1 -1
- package/dist/ts4.2/src/room/utils.d.ts +1 -1
- package/package.json +2 -2
- package/src/api/SignalClient.ts +10 -12
- package/src/connectionHelper/checks/websocket.ts +1 -1
- package/src/e2ee/E2eeManager.ts +1 -1
- package/src/index.ts +1 -1
- package/src/room/PCTransportManager.ts +1 -1
- package/src/room/RTCEngine.ts +21 -23
- package/src/room/RegionUrlProvider.ts +1 -1
- package/src/room/Room.ts +22 -23
- package/src/room/participant/LocalParticipant.ts +18 -7
- package/src/room/participant/Participant.ts +4 -4
- package/src/room/participant/ParticipantTrackPermission.ts +1 -1
- package/src/room/participant/RemoteParticipant.ts +6 -2
- package/src/room/track/LocalAudioTrack.ts +5 -2
- package/src/room/track/LocalTrackPublication.ts +1 -1
- package/src/room/track/LocalVideoTrack.ts +6 -2
- package/src/room/track/RemoteAudioTrack.ts +1 -1
- package/src/room/track/RemoteTrackPublication.ts +7 -2
- package/src/room/track/Track.ts +6 -6
- package/src/room/track/TrackPublication.ts +7 -3
- package/src/room/track/facingMode.ts +2 -2
- package/src/room/track/options.ts +7 -0
- package/src/room/track/utils.ts +2 -1
- package/src/room/utils.ts +1 -1
- package/dist/src/proto/livekit_models_pb.d.ts +0 -1405
- package/dist/src/proto/livekit_models_pb.d.ts.map +0 -1
- package/dist/src/proto/livekit_rtc_pb.d.ts +0 -1423
- package/dist/src/proto/livekit_rtc_pb.d.ts.map +0 -1
- package/dist/ts4.2/src/proto/livekit_models_pb.d.ts +0 -1405
- package/dist/ts4.2/src/proto/livekit_rtc_pb.d.ts +0 -1423
- package/src/proto/livekit_models_pb.ts +0 -2327
- package/src/proto/livekit_rtc_pb.ts +0 -2411
@@ -1,1405 +0,0 @@
|
|
1
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
2
|
-
import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
3
|
-
/**
|
4
|
-
* @generated from enum livekit.AudioCodec
|
5
|
-
*/
|
6
|
-
export declare enum AudioCodec {
|
7
|
-
/**
|
8
|
-
* @generated from enum value: DEFAULT_AC = 0;
|
9
|
-
*/
|
10
|
-
DEFAULT_AC = 0,
|
11
|
-
/**
|
12
|
-
* @generated from enum value: OPUS = 1;
|
13
|
-
*/
|
14
|
-
OPUS = 1,
|
15
|
-
/**
|
16
|
-
* @generated from enum value: AAC = 2;
|
17
|
-
*/
|
18
|
-
AAC = 2
|
19
|
-
}
|
20
|
-
/**
|
21
|
-
* @generated from enum livekit.VideoCodec
|
22
|
-
*/
|
23
|
-
export declare enum VideoCodec {
|
24
|
-
/**
|
25
|
-
* @generated from enum value: DEFAULT_VC = 0;
|
26
|
-
*/
|
27
|
-
DEFAULT_VC = 0,
|
28
|
-
/**
|
29
|
-
* @generated from enum value: H264_BASELINE = 1;
|
30
|
-
*/
|
31
|
-
H264_BASELINE = 1,
|
32
|
-
/**
|
33
|
-
* @generated from enum value: H264_MAIN = 2;
|
34
|
-
*/
|
35
|
-
H264_MAIN = 2,
|
36
|
-
/**
|
37
|
-
* @generated from enum value: H264_HIGH = 3;
|
38
|
-
*/
|
39
|
-
H264_HIGH = 3,
|
40
|
-
/**
|
41
|
-
* @generated from enum value: VP8 = 4;
|
42
|
-
*/
|
43
|
-
VP8 = 4
|
44
|
-
}
|
45
|
-
/**
|
46
|
-
* @generated from enum livekit.ImageCodec
|
47
|
-
*/
|
48
|
-
export declare enum ImageCodec {
|
49
|
-
/**
|
50
|
-
* @generated from enum value: IC_DEFAULT = 0;
|
51
|
-
*/
|
52
|
-
IC_DEFAULT = 0,
|
53
|
-
/**
|
54
|
-
* @generated from enum value: IC_JPEG = 1;
|
55
|
-
*/
|
56
|
-
IC_JPEG = 1
|
57
|
-
}
|
58
|
-
/**
|
59
|
-
* @generated from enum livekit.TrackType
|
60
|
-
*/
|
61
|
-
export declare enum TrackType {
|
62
|
-
/**
|
63
|
-
* @generated from enum value: AUDIO = 0;
|
64
|
-
*/
|
65
|
-
AUDIO = 0,
|
66
|
-
/**
|
67
|
-
* @generated from enum value: VIDEO = 1;
|
68
|
-
*/
|
69
|
-
VIDEO = 1,
|
70
|
-
/**
|
71
|
-
* @generated from enum value: DATA = 2;
|
72
|
-
*/
|
73
|
-
DATA = 2
|
74
|
-
}
|
75
|
-
/**
|
76
|
-
* @generated from enum livekit.TrackSource
|
77
|
-
*/
|
78
|
-
export declare enum TrackSource {
|
79
|
-
/**
|
80
|
-
* @generated from enum value: UNKNOWN = 0;
|
81
|
-
*/
|
82
|
-
UNKNOWN = 0,
|
83
|
-
/**
|
84
|
-
* @generated from enum value: CAMERA = 1;
|
85
|
-
*/
|
86
|
-
CAMERA = 1,
|
87
|
-
/**
|
88
|
-
* @generated from enum value: MICROPHONE = 2;
|
89
|
-
*/
|
90
|
-
MICROPHONE = 2,
|
91
|
-
/**
|
92
|
-
* @generated from enum value: SCREEN_SHARE = 3;
|
93
|
-
*/
|
94
|
-
SCREEN_SHARE = 3,
|
95
|
-
/**
|
96
|
-
* @generated from enum value: SCREEN_SHARE_AUDIO = 4;
|
97
|
-
*/
|
98
|
-
SCREEN_SHARE_AUDIO = 4
|
99
|
-
}
|
100
|
-
/**
|
101
|
-
* @generated from enum livekit.VideoQuality
|
102
|
-
*/
|
103
|
-
export declare enum VideoQuality {
|
104
|
-
/**
|
105
|
-
* @generated from enum value: LOW = 0;
|
106
|
-
*/
|
107
|
-
LOW = 0,
|
108
|
-
/**
|
109
|
-
* @generated from enum value: MEDIUM = 1;
|
110
|
-
*/
|
111
|
-
MEDIUM = 1,
|
112
|
-
/**
|
113
|
-
* @generated from enum value: HIGH = 2;
|
114
|
-
*/
|
115
|
-
HIGH = 2,
|
116
|
-
/**
|
117
|
-
* @generated from enum value: OFF = 3;
|
118
|
-
*/
|
119
|
-
OFF = 3
|
120
|
-
}
|
121
|
-
/**
|
122
|
-
* @generated from enum livekit.ConnectionQuality
|
123
|
-
*/
|
124
|
-
export declare enum ConnectionQuality {
|
125
|
-
/**
|
126
|
-
* @generated from enum value: POOR = 0;
|
127
|
-
*/
|
128
|
-
POOR = 0,
|
129
|
-
/**
|
130
|
-
* @generated from enum value: GOOD = 1;
|
131
|
-
*/
|
132
|
-
GOOD = 1,
|
133
|
-
/**
|
134
|
-
* @generated from enum value: EXCELLENT = 2;
|
135
|
-
*/
|
136
|
-
EXCELLENT = 2,
|
137
|
-
/**
|
138
|
-
* @generated from enum value: LOST = 3;
|
139
|
-
*/
|
140
|
-
LOST = 3
|
141
|
-
}
|
142
|
-
/**
|
143
|
-
* @generated from enum livekit.ClientConfigSetting
|
144
|
-
*/
|
145
|
-
export declare enum ClientConfigSetting {
|
146
|
-
/**
|
147
|
-
* @generated from enum value: UNSET = 0;
|
148
|
-
*/
|
149
|
-
UNSET = 0,
|
150
|
-
/**
|
151
|
-
* @generated from enum value: DISABLED = 1;
|
152
|
-
*/
|
153
|
-
DISABLED = 1,
|
154
|
-
/**
|
155
|
-
* @generated from enum value: ENABLED = 2;
|
156
|
-
*/
|
157
|
-
ENABLED = 2
|
158
|
-
}
|
159
|
-
/**
|
160
|
-
* @generated from enum livekit.DisconnectReason
|
161
|
-
*/
|
162
|
-
export declare enum DisconnectReason {
|
163
|
-
/**
|
164
|
-
* @generated from enum value: UNKNOWN_REASON = 0;
|
165
|
-
*/
|
166
|
-
UNKNOWN_REASON = 0,
|
167
|
-
/**
|
168
|
-
* @generated from enum value: CLIENT_INITIATED = 1;
|
169
|
-
*/
|
170
|
-
CLIENT_INITIATED = 1,
|
171
|
-
/**
|
172
|
-
* @generated from enum value: DUPLICATE_IDENTITY = 2;
|
173
|
-
*/
|
174
|
-
DUPLICATE_IDENTITY = 2,
|
175
|
-
/**
|
176
|
-
* @generated from enum value: SERVER_SHUTDOWN = 3;
|
177
|
-
*/
|
178
|
-
SERVER_SHUTDOWN = 3,
|
179
|
-
/**
|
180
|
-
* @generated from enum value: PARTICIPANT_REMOVED = 4;
|
181
|
-
*/
|
182
|
-
PARTICIPANT_REMOVED = 4,
|
183
|
-
/**
|
184
|
-
* @generated from enum value: ROOM_DELETED = 5;
|
185
|
-
*/
|
186
|
-
ROOM_DELETED = 5,
|
187
|
-
/**
|
188
|
-
* @generated from enum value: STATE_MISMATCH = 6;
|
189
|
-
*/
|
190
|
-
STATE_MISMATCH = 6,
|
191
|
-
/**
|
192
|
-
* @generated from enum value: JOIN_FAILURE = 7;
|
193
|
-
*/
|
194
|
-
JOIN_FAILURE = 7,
|
195
|
-
/**
|
196
|
-
* @generated from enum value: MIGRATION = 8;
|
197
|
-
*/
|
198
|
-
MIGRATION = 8,
|
199
|
-
/**
|
200
|
-
* @generated from enum value: SIGNAL_CLOSE = 9;
|
201
|
-
*/
|
202
|
-
SIGNAL_CLOSE = 9
|
203
|
-
}
|
204
|
-
/**
|
205
|
-
* @generated from enum livekit.ReconnectReason
|
206
|
-
*/
|
207
|
-
export declare enum ReconnectReason {
|
208
|
-
/**
|
209
|
-
* @generated from enum value: RR_UNKNOWN = 0;
|
210
|
-
*/
|
211
|
-
RR_UNKNOWN = 0,
|
212
|
-
/**
|
213
|
-
* @generated from enum value: RR_SIGNAL_DISCONNECTED = 1;
|
214
|
-
*/
|
215
|
-
RR_SIGNAL_DISCONNECTED = 1,
|
216
|
-
/**
|
217
|
-
* @generated from enum value: RR_PUBLISHER_FAILED = 2;
|
218
|
-
*/
|
219
|
-
RR_PUBLISHER_FAILED = 2,
|
220
|
-
/**
|
221
|
-
* @generated from enum value: RR_SUBSCRIBER_FAILED = 3;
|
222
|
-
*/
|
223
|
-
RR_SUBSCRIBER_FAILED = 3,
|
224
|
-
/**
|
225
|
-
* @generated from enum value: RR_SWITCH_CANDIDATE = 4;
|
226
|
-
*/
|
227
|
-
RR_SWITCH_CANDIDATE = 4
|
228
|
-
}
|
229
|
-
/**
|
230
|
-
* @generated from enum livekit.SubscriptionError
|
231
|
-
*/
|
232
|
-
export declare enum SubscriptionError {
|
233
|
-
/**
|
234
|
-
* @generated from enum value: SE_UNKNOWN = 0;
|
235
|
-
*/
|
236
|
-
SE_UNKNOWN = 0,
|
237
|
-
/**
|
238
|
-
* @generated from enum value: SE_CODEC_UNSUPPORTED = 1;
|
239
|
-
*/
|
240
|
-
SE_CODEC_UNSUPPORTED = 1,
|
241
|
-
/**
|
242
|
-
* @generated from enum value: SE_TRACK_NOTFOUND = 2;
|
243
|
-
*/
|
244
|
-
SE_TRACK_NOTFOUND = 2
|
245
|
-
}
|
246
|
-
/**
|
247
|
-
* @generated from message livekit.Room
|
248
|
-
*/
|
249
|
-
export declare class Room extends Message<Room> {
|
250
|
-
/**
|
251
|
-
* @generated from field: string sid = 1;
|
252
|
-
*/
|
253
|
-
sid: string;
|
254
|
-
/**
|
255
|
-
* @generated from field: string name = 2;
|
256
|
-
*/
|
257
|
-
name: string;
|
258
|
-
/**
|
259
|
-
* @generated from field: uint32 empty_timeout = 3;
|
260
|
-
*/
|
261
|
-
emptyTimeout: number;
|
262
|
-
/**
|
263
|
-
* @generated from field: uint32 max_participants = 4;
|
264
|
-
*/
|
265
|
-
maxParticipants: number;
|
266
|
-
/**
|
267
|
-
* @generated from field: int64 creation_time = 5;
|
268
|
-
*/
|
269
|
-
creationTime: bigint;
|
270
|
-
/**
|
271
|
-
* @generated from field: string turn_password = 6;
|
272
|
-
*/
|
273
|
-
turnPassword: string;
|
274
|
-
/**
|
275
|
-
* @generated from field: repeated livekit.Codec enabled_codecs = 7;
|
276
|
-
*/
|
277
|
-
enabledCodecs: Codec[];
|
278
|
-
/**
|
279
|
-
* @generated from field: string metadata = 8;
|
280
|
-
*/
|
281
|
-
metadata: string;
|
282
|
-
/**
|
283
|
-
* @generated from field: uint32 num_participants = 9;
|
284
|
-
*/
|
285
|
-
numParticipants: number;
|
286
|
-
/**
|
287
|
-
* @generated from field: uint32 num_publishers = 11;
|
288
|
-
*/
|
289
|
-
numPublishers: number;
|
290
|
-
/**
|
291
|
-
* @generated from field: bool active_recording = 10;
|
292
|
-
*/
|
293
|
-
activeRecording: boolean;
|
294
|
-
/**
|
295
|
-
* @generated from field: livekit.TimedVersion version = 13;
|
296
|
-
*/
|
297
|
-
version?: TimedVersion;
|
298
|
-
constructor(data?: PartialMessage<Room>);
|
299
|
-
static readonly runtime: typeof proto3;
|
300
|
-
static readonly typeName = "livekit.Room";
|
301
|
-
static readonly fields: FieldList;
|
302
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Room;
|
303
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Room;
|
304
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Room;
|
305
|
-
static equals(a: Room | PlainMessage<Room> | undefined, b: Room | PlainMessage<Room> | undefined): boolean;
|
306
|
-
}
|
307
|
-
/**
|
308
|
-
* @generated from message livekit.Codec
|
309
|
-
*/
|
310
|
-
export declare class Codec extends Message<Codec> {
|
311
|
-
/**
|
312
|
-
* @generated from field: string mime = 1;
|
313
|
-
*/
|
314
|
-
mime: string;
|
315
|
-
/**
|
316
|
-
* @generated from field: string fmtp_line = 2;
|
317
|
-
*/
|
318
|
-
fmtpLine: string;
|
319
|
-
constructor(data?: PartialMessage<Codec>);
|
320
|
-
static readonly runtime: typeof proto3;
|
321
|
-
static readonly typeName = "livekit.Codec";
|
322
|
-
static readonly fields: FieldList;
|
323
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Codec;
|
324
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Codec;
|
325
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Codec;
|
326
|
-
static equals(a: Codec | PlainMessage<Codec> | undefined, b: Codec | PlainMessage<Codec> | undefined): boolean;
|
327
|
-
}
|
328
|
-
/**
|
329
|
-
* @generated from message livekit.PlayoutDelay
|
330
|
-
*/
|
331
|
-
export declare class PlayoutDelay extends Message<PlayoutDelay> {
|
332
|
-
/**
|
333
|
-
* @generated from field: bool enabled = 1;
|
334
|
-
*/
|
335
|
-
enabled: boolean;
|
336
|
-
/**
|
337
|
-
* @generated from field: uint32 min = 2;
|
338
|
-
*/
|
339
|
-
min: number;
|
340
|
-
/**
|
341
|
-
* @generated from field: uint32 max = 3;
|
342
|
-
*/
|
343
|
-
max: number;
|
344
|
-
constructor(data?: PartialMessage<PlayoutDelay>);
|
345
|
-
static readonly runtime: typeof proto3;
|
346
|
-
static readonly typeName = "livekit.PlayoutDelay";
|
347
|
-
static readonly fields: FieldList;
|
348
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlayoutDelay;
|
349
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlayoutDelay;
|
350
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlayoutDelay;
|
351
|
-
static equals(a: PlayoutDelay | PlainMessage<PlayoutDelay> | undefined, b: PlayoutDelay | PlainMessage<PlayoutDelay> | undefined): boolean;
|
352
|
-
}
|
353
|
-
/**
|
354
|
-
* @generated from message livekit.ParticipantPermission
|
355
|
-
*/
|
356
|
-
export declare class ParticipantPermission extends Message<ParticipantPermission> {
|
357
|
-
/**
|
358
|
-
* allow participant to subscribe to other tracks in the room
|
359
|
-
*
|
360
|
-
* @generated from field: bool can_subscribe = 1;
|
361
|
-
*/
|
362
|
-
canSubscribe: boolean;
|
363
|
-
/**
|
364
|
-
* allow participant to publish new tracks to room
|
365
|
-
*
|
366
|
-
* @generated from field: bool can_publish = 2;
|
367
|
-
*/
|
368
|
-
canPublish: boolean;
|
369
|
-
/**
|
370
|
-
* allow participant to publish data
|
371
|
-
*
|
372
|
-
* @generated from field: bool can_publish_data = 3;
|
373
|
-
*/
|
374
|
-
canPublishData: boolean;
|
375
|
-
/**
|
376
|
-
* sources that are allowed to be published
|
377
|
-
*
|
378
|
-
* @generated from field: repeated livekit.TrackSource can_publish_sources = 9;
|
379
|
-
*/
|
380
|
-
canPublishSources: TrackSource[];
|
381
|
-
/**
|
382
|
-
* indicates that it's hidden to others
|
383
|
-
*
|
384
|
-
* @generated from field: bool hidden = 7;
|
385
|
-
*/
|
386
|
-
hidden: boolean;
|
387
|
-
/**
|
388
|
-
* indicates it's a recorder instance
|
389
|
-
*
|
390
|
-
* @generated from field: bool recorder = 8;
|
391
|
-
*/
|
392
|
-
recorder: boolean;
|
393
|
-
/**
|
394
|
-
* indicates that participant can update own metadata
|
395
|
-
*
|
396
|
-
* @generated from field: bool can_update_metadata = 10;
|
397
|
-
*/
|
398
|
-
canUpdateMetadata: boolean;
|
399
|
-
/**
|
400
|
-
* indicates that participant is an agent
|
401
|
-
*
|
402
|
-
* @generated from field: bool agent = 11;
|
403
|
-
*/
|
404
|
-
agent: boolean;
|
405
|
-
constructor(data?: PartialMessage<ParticipantPermission>);
|
406
|
-
static readonly runtime: typeof proto3;
|
407
|
-
static readonly typeName = "livekit.ParticipantPermission";
|
408
|
-
static readonly fields: FieldList;
|
409
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantPermission;
|
410
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantPermission;
|
411
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantPermission;
|
412
|
-
static equals(a: ParticipantPermission | PlainMessage<ParticipantPermission> | undefined, b: ParticipantPermission | PlainMessage<ParticipantPermission> | undefined): boolean;
|
413
|
-
}
|
414
|
-
/**
|
415
|
-
* @generated from message livekit.ParticipantInfo
|
416
|
-
*/
|
417
|
-
export declare class ParticipantInfo extends Message<ParticipantInfo> {
|
418
|
-
/**
|
419
|
-
* @generated from field: string sid = 1;
|
420
|
-
*/
|
421
|
-
sid: string;
|
422
|
-
/**
|
423
|
-
* @generated from field: string identity = 2;
|
424
|
-
*/
|
425
|
-
identity: string;
|
426
|
-
/**
|
427
|
-
* @generated from field: livekit.ParticipantInfo.State state = 3;
|
428
|
-
*/
|
429
|
-
state: ParticipantInfo_State;
|
430
|
-
/**
|
431
|
-
* @generated from field: repeated livekit.TrackInfo tracks = 4;
|
432
|
-
*/
|
433
|
-
tracks: TrackInfo[];
|
434
|
-
/**
|
435
|
-
* @generated from field: string metadata = 5;
|
436
|
-
*/
|
437
|
-
metadata: string;
|
438
|
-
/**
|
439
|
-
* timestamp when participant joined room, in seconds
|
440
|
-
*
|
441
|
-
* @generated from field: int64 joined_at = 6;
|
442
|
-
*/
|
443
|
-
joinedAt: bigint;
|
444
|
-
/**
|
445
|
-
* @generated from field: string name = 9;
|
446
|
-
*/
|
447
|
-
name: string;
|
448
|
-
/**
|
449
|
-
* @generated from field: uint32 version = 10;
|
450
|
-
*/
|
451
|
-
version: number;
|
452
|
-
/**
|
453
|
-
* @generated from field: livekit.ParticipantPermission permission = 11;
|
454
|
-
*/
|
455
|
-
permission?: ParticipantPermission;
|
456
|
-
/**
|
457
|
-
* @generated from field: string region = 12;
|
458
|
-
*/
|
459
|
-
region: string;
|
460
|
-
/**
|
461
|
-
* indicates the participant has an active publisher connection
|
462
|
-
* and can publish to the server
|
463
|
-
*
|
464
|
-
* @generated from field: bool is_publisher = 13;
|
465
|
-
*/
|
466
|
-
isPublisher: boolean;
|
467
|
-
/**
|
468
|
-
* @generated from field: livekit.ParticipantInfo.Kind kind = 14;
|
469
|
-
*/
|
470
|
-
kind: ParticipantInfo_Kind;
|
471
|
-
constructor(data?: PartialMessage<ParticipantInfo>);
|
472
|
-
static readonly runtime: typeof proto3;
|
473
|
-
static readonly typeName = "livekit.ParticipantInfo";
|
474
|
-
static readonly fields: FieldList;
|
475
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantInfo;
|
476
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantInfo;
|
477
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantInfo;
|
478
|
-
static equals(a: ParticipantInfo | PlainMessage<ParticipantInfo> | undefined, b: ParticipantInfo | PlainMessage<ParticipantInfo> | undefined): boolean;
|
479
|
-
}
|
480
|
-
/**
|
481
|
-
* @generated from enum livekit.ParticipantInfo.State
|
482
|
-
*/
|
483
|
-
export declare enum ParticipantInfo_State {
|
484
|
-
/**
|
485
|
-
* websocket' connected, but not offered yet
|
486
|
-
*
|
487
|
-
* @generated from enum value: JOINING = 0;
|
488
|
-
*/
|
489
|
-
JOINING = 0,
|
490
|
-
/**
|
491
|
-
* server received client offer
|
492
|
-
*
|
493
|
-
* @generated from enum value: JOINED = 1;
|
494
|
-
*/
|
495
|
-
JOINED = 1,
|
496
|
-
/**
|
497
|
-
* ICE connectivity established
|
498
|
-
*
|
499
|
-
* @generated from enum value: ACTIVE = 2;
|
500
|
-
*/
|
501
|
-
ACTIVE = 2,
|
502
|
-
/**
|
503
|
-
* WS disconnected
|
504
|
-
*
|
505
|
-
* @generated from enum value: DISCONNECTED = 3;
|
506
|
-
*/
|
507
|
-
DISCONNECTED = 3
|
508
|
-
}
|
509
|
-
/**
|
510
|
-
* @generated from enum livekit.ParticipantInfo.Kind
|
511
|
-
*/
|
512
|
-
export declare enum ParticipantInfo_Kind {
|
513
|
-
/**
|
514
|
-
* standard participants, e.g. web clients
|
515
|
-
*
|
516
|
-
* @generated from enum value: STANDARD = 0;
|
517
|
-
*/
|
518
|
-
STANDARD = 0,
|
519
|
-
/**
|
520
|
-
* only ingests streams
|
521
|
-
*
|
522
|
-
* @generated from enum value: INGRESS = 1;
|
523
|
-
*/
|
524
|
-
INGRESS = 1,
|
525
|
-
/**
|
526
|
-
* only consumes streams
|
527
|
-
*
|
528
|
-
* @generated from enum value: EGRESS = 2;
|
529
|
-
*/
|
530
|
-
EGRESS = 2,
|
531
|
-
/**
|
532
|
-
* SIP participants
|
533
|
-
*
|
534
|
-
* @generated from enum value: SIP = 3;
|
535
|
-
*/
|
536
|
-
SIP = 3,
|
537
|
-
/**
|
538
|
-
* LiveKit agents
|
539
|
-
*
|
540
|
-
* @generated from enum value: AGENT = 4;
|
541
|
-
*/
|
542
|
-
AGENT = 4
|
543
|
-
}
|
544
|
-
/**
|
545
|
-
* @generated from message livekit.Encryption
|
546
|
-
*/
|
547
|
-
export declare class Encryption extends Message<Encryption> {
|
548
|
-
constructor(data?: PartialMessage<Encryption>);
|
549
|
-
static readonly runtime: typeof proto3;
|
550
|
-
static readonly typeName = "livekit.Encryption";
|
551
|
-
static readonly fields: FieldList;
|
552
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Encryption;
|
553
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Encryption;
|
554
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Encryption;
|
555
|
-
static equals(a: Encryption | PlainMessage<Encryption> | undefined, b: Encryption | PlainMessage<Encryption> | undefined): boolean;
|
556
|
-
}
|
557
|
-
/**
|
558
|
-
* @generated from enum livekit.Encryption.Type
|
559
|
-
*/
|
560
|
-
export declare enum Encryption_Type {
|
561
|
-
/**
|
562
|
-
* @generated from enum value: NONE = 0;
|
563
|
-
*/
|
564
|
-
NONE = 0,
|
565
|
-
/**
|
566
|
-
* @generated from enum value: GCM = 1;
|
567
|
-
*/
|
568
|
-
GCM = 1,
|
569
|
-
/**
|
570
|
-
* @generated from enum value: CUSTOM = 2;
|
571
|
-
*/
|
572
|
-
CUSTOM = 2
|
573
|
-
}
|
574
|
-
/**
|
575
|
-
* @generated from message livekit.SimulcastCodecInfo
|
576
|
-
*/
|
577
|
-
export declare class SimulcastCodecInfo extends Message<SimulcastCodecInfo> {
|
578
|
-
/**
|
579
|
-
* @generated from field: string mime_type = 1;
|
580
|
-
*/
|
581
|
-
mimeType: string;
|
582
|
-
/**
|
583
|
-
* @generated from field: string mid = 2;
|
584
|
-
*/
|
585
|
-
mid: string;
|
586
|
-
/**
|
587
|
-
* @generated from field: string cid = 3;
|
588
|
-
*/
|
589
|
-
cid: string;
|
590
|
-
/**
|
591
|
-
* @generated from field: repeated livekit.VideoLayer layers = 4;
|
592
|
-
*/
|
593
|
-
layers: VideoLayer[];
|
594
|
-
constructor(data?: PartialMessage<SimulcastCodecInfo>);
|
595
|
-
static readonly runtime: typeof proto3;
|
596
|
-
static readonly typeName = "livekit.SimulcastCodecInfo";
|
597
|
-
static readonly fields: FieldList;
|
598
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulcastCodecInfo;
|
599
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulcastCodecInfo;
|
600
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulcastCodecInfo;
|
601
|
-
static equals(a: SimulcastCodecInfo | PlainMessage<SimulcastCodecInfo> | undefined, b: SimulcastCodecInfo | PlainMessage<SimulcastCodecInfo> | undefined): boolean;
|
602
|
-
}
|
603
|
-
/**
|
604
|
-
* @generated from message livekit.TrackInfo
|
605
|
-
*/
|
606
|
-
export declare class TrackInfo extends Message<TrackInfo> {
|
607
|
-
/**
|
608
|
-
* @generated from field: string sid = 1;
|
609
|
-
*/
|
610
|
-
sid: string;
|
611
|
-
/**
|
612
|
-
* @generated from field: livekit.TrackType type = 2;
|
613
|
-
*/
|
614
|
-
type: TrackType;
|
615
|
-
/**
|
616
|
-
* @generated from field: string name = 3;
|
617
|
-
*/
|
618
|
-
name: string;
|
619
|
-
/**
|
620
|
-
* @generated from field: bool muted = 4;
|
621
|
-
*/
|
622
|
-
muted: boolean;
|
623
|
-
/**
|
624
|
-
* original width of video (unset for audio)
|
625
|
-
* clients may receive a lower resolution version with simulcast
|
626
|
-
*
|
627
|
-
* @generated from field: uint32 width = 5;
|
628
|
-
*/
|
629
|
-
width: number;
|
630
|
-
/**
|
631
|
-
* original height of video (unset for audio)
|
632
|
-
*
|
633
|
-
* @generated from field: uint32 height = 6;
|
634
|
-
*/
|
635
|
-
height: number;
|
636
|
-
/**
|
637
|
-
* true if track is simulcasted
|
638
|
-
*
|
639
|
-
* @generated from field: bool simulcast = 7;
|
640
|
-
*/
|
641
|
-
simulcast: boolean;
|
642
|
-
/**
|
643
|
-
* true if DTX (Discontinuous Transmission) is disabled for audio
|
644
|
-
*
|
645
|
-
* @generated from field: bool disable_dtx = 8;
|
646
|
-
*/
|
647
|
-
disableDtx: boolean;
|
648
|
-
/**
|
649
|
-
* source of media
|
650
|
-
*
|
651
|
-
* @generated from field: livekit.TrackSource source = 9;
|
652
|
-
*/
|
653
|
-
source: TrackSource;
|
654
|
-
/**
|
655
|
-
* @generated from field: repeated livekit.VideoLayer layers = 10;
|
656
|
-
*/
|
657
|
-
layers: VideoLayer[];
|
658
|
-
/**
|
659
|
-
* mime type of codec
|
660
|
-
*
|
661
|
-
* @generated from field: string mime_type = 11;
|
662
|
-
*/
|
663
|
-
mimeType: string;
|
664
|
-
/**
|
665
|
-
* @generated from field: string mid = 12;
|
666
|
-
*/
|
667
|
-
mid: string;
|
668
|
-
/**
|
669
|
-
* @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13;
|
670
|
-
*/
|
671
|
-
codecs: SimulcastCodecInfo[];
|
672
|
-
/**
|
673
|
-
* @generated from field: bool stereo = 14;
|
674
|
-
*/
|
675
|
-
stereo: boolean;
|
676
|
-
/**
|
677
|
-
* true if RED (Redundant Encoding) is disabled for audio
|
678
|
-
*
|
679
|
-
* @generated from field: bool disable_red = 15;
|
680
|
-
*/
|
681
|
-
disableRed: boolean;
|
682
|
-
/**
|
683
|
-
* @generated from field: livekit.Encryption.Type encryption = 16;
|
684
|
-
*/
|
685
|
-
encryption: Encryption_Type;
|
686
|
-
/**
|
687
|
-
* @generated from field: string stream = 17;
|
688
|
-
*/
|
689
|
-
stream: string;
|
690
|
-
/**
|
691
|
-
* @generated from field: livekit.TimedVersion version = 18;
|
692
|
-
*/
|
693
|
-
version?: TimedVersion;
|
694
|
-
constructor(data?: PartialMessage<TrackInfo>);
|
695
|
-
static readonly runtime: typeof proto3;
|
696
|
-
static readonly typeName = "livekit.TrackInfo";
|
697
|
-
static readonly fields: FieldList;
|
698
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackInfo;
|
699
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackInfo;
|
700
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackInfo;
|
701
|
-
static equals(a: TrackInfo | PlainMessage<TrackInfo> | undefined, b: TrackInfo | PlainMessage<TrackInfo> | undefined): boolean;
|
702
|
-
}
|
703
|
-
/**
|
704
|
-
* provide information about available spatial layers
|
705
|
-
*
|
706
|
-
* @generated from message livekit.VideoLayer
|
707
|
-
*/
|
708
|
-
export declare class VideoLayer extends Message<VideoLayer> {
|
709
|
-
/**
|
710
|
-
* for tracks with a single layer, this should be HIGH
|
711
|
-
*
|
712
|
-
* @generated from field: livekit.VideoQuality quality = 1;
|
713
|
-
*/
|
714
|
-
quality: VideoQuality;
|
715
|
-
/**
|
716
|
-
* @generated from field: uint32 width = 2;
|
717
|
-
*/
|
718
|
-
width: number;
|
719
|
-
/**
|
720
|
-
* @generated from field: uint32 height = 3;
|
721
|
-
*/
|
722
|
-
height: number;
|
723
|
-
/**
|
724
|
-
* target bitrate in bit per second (bps), server will measure actual
|
725
|
-
*
|
726
|
-
* @generated from field: uint32 bitrate = 4;
|
727
|
-
*/
|
728
|
-
bitrate: number;
|
729
|
-
/**
|
730
|
-
* @generated from field: uint32 ssrc = 5;
|
731
|
-
*/
|
732
|
-
ssrc: number;
|
733
|
-
constructor(data?: PartialMessage<VideoLayer>);
|
734
|
-
static readonly runtime: typeof proto3;
|
735
|
-
static readonly typeName = "livekit.VideoLayer";
|
736
|
-
static readonly fields: FieldList;
|
737
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoLayer;
|
738
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoLayer;
|
739
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoLayer;
|
740
|
-
static equals(a: VideoLayer | PlainMessage<VideoLayer> | undefined, b: VideoLayer | PlainMessage<VideoLayer> | undefined): boolean;
|
741
|
-
}
|
742
|
-
/**
|
743
|
-
* new DataPacket API
|
744
|
-
*
|
745
|
-
* @generated from message livekit.DataPacket
|
746
|
-
*/
|
747
|
-
export declare class DataPacket extends Message<DataPacket> {
|
748
|
-
/**
|
749
|
-
* @generated from field: livekit.DataPacket.Kind kind = 1;
|
750
|
-
*/
|
751
|
-
kind: DataPacket_Kind;
|
752
|
-
/**
|
753
|
-
* @generated from oneof livekit.DataPacket.value
|
754
|
-
*/
|
755
|
-
value: {
|
756
|
-
/**
|
757
|
-
* @generated from field: livekit.UserPacket user = 2;
|
758
|
-
*/
|
759
|
-
value: UserPacket;
|
760
|
-
case: "user";
|
761
|
-
} | {
|
762
|
-
/**
|
763
|
-
* @generated from field: livekit.ActiveSpeakerUpdate speaker = 3;
|
764
|
-
*/
|
765
|
-
value: ActiveSpeakerUpdate;
|
766
|
-
case: "speaker";
|
767
|
-
} | {
|
768
|
-
case: undefined;
|
769
|
-
value?: undefined;
|
770
|
-
};
|
771
|
-
constructor(data?: PartialMessage<DataPacket>);
|
772
|
-
static readonly runtime: typeof proto3;
|
773
|
-
static readonly typeName = "livekit.DataPacket";
|
774
|
-
static readonly fields: FieldList;
|
775
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataPacket;
|
776
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataPacket;
|
777
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataPacket;
|
778
|
-
static equals(a: DataPacket | PlainMessage<DataPacket> | undefined, b: DataPacket | PlainMessage<DataPacket> | undefined): boolean;
|
779
|
-
}
|
780
|
-
/**
|
781
|
-
* @generated from enum livekit.DataPacket.Kind
|
782
|
-
*/
|
783
|
-
export declare enum DataPacket_Kind {
|
784
|
-
/**
|
785
|
-
* @generated from enum value: RELIABLE = 0;
|
786
|
-
*/
|
787
|
-
RELIABLE = 0,
|
788
|
-
/**
|
789
|
-
* @generated from enum value: LOSSY = 1;
|
790
|
-
*/
|
791
|
-
LOSSY = 1
|
792
|
-
}
|
793
|
-
/**
|
794
|
-
* @generated from message livekit.ActiveSpeakerUpdate
|
795
|
-
*/
|
796
|
-
export declare class ActiveSpeakerUpdate extends Message<ActiveSpeakerUpdate> {
|
797
|
-
/**
|
798
|
-
* @generated from field: repeated livekit.SpeakerInfo speakers = 1;
|
799
|
-
*/
|
800
|
-
speakers: SpeakerInfo[];
|
801
|
-
constructor(data?: PartialMessage<ActiveSpeakerUpdate>);
|
802
|
-
static readonly runtime: typeof proto3;
|
803
|
-
static readonly typeName = "livekit.ActiveSpeakerUpdate";
|
804
|
-
static readonly fields: FieldList;
|
805
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ActiveSpeakerUpdate;
|
806
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ActiveSpeakerUpdate;
|
807
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ActiveSpeakerUpdate;
|
808
|
-
static equals(a: ActiveSpeakerUpdate | PlainMessage<ActiveSpeakerUpdate> | undefined, b: ActiveSpeakerUpdate | PlainMessage<ActiveSpeakerUpdate> | undefined): boolean;
|
809
|
-
}
|
810
|
-
/**
|
811
|
-
* @generated from message livekit.SpeakerInfo
|
812
|
-
*/
|
813
|
-
export declare class SpeakerInfo extends Message<SpeakerInfo> {
|
814
|
-
/**
|
815
|
-
* @generated from field: string sid = 1;
|
816
|
-
*/
|
817
|
-
sid: string;
|
818
|
-
/**
|
819
|
-
* audio level, 0-1.0, 1 is loudest
|
820
|
-
*
|
821
|
-
* @generated from field: float level = 2;
|
822
|
-
*/
|
823
|
-
level: number;
|
824
|
-
/**
|
825
|
-
* true if speaker is currently active
|
826
|
-
*
|
827
|
-
* @generated from field: bool active = 3;
|
828
|
-
*/
|
829
|
-
active: boolean;
|
830
|
-
constructor(data?: PartialMessage<SpeakerInfo>);
|
831
|
-
static readonly runtime: typeof proto3;
|
832
|
-
static readonly typeName = "livekit.SpeakerInfo";
|
833
|
-
static readonly fields: FieldList;
|
834
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SpeakerInfo;
|
835
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SpeakerInfo;
|
836
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SpeakerInfo;
|
837
|
-
static equals(a: SpeakerInfo | PlainMessage<SpeakerInfo> | undefined, b: SpeakerInfo | PlainMessage<SpeakerInfo> | undefined): boolean;
|
838
|
-
}
|
839
|
-
/**
|
840
|
-
* @generated from message livekit.UserPacket
|
841
|
-
*/
|
842
|
-
export declare class UserPacket extends Message<UserPacket> {
|
843
|
-
/**
|
844
|
-
* participant ID of user that sent the message
|
845
|
-
*
|
846
|
-
* @generated from field: string participant_sid = 1;
|
847
|
-
*/
|
848
|
-
participantSid: string;
|
849
|
-
/**
|
850
|
-
* @generated from field: string participant_identity = 5;
|
851
|
-
*/
|
852
|
-
participantIdentity: string;
|
853
|
-
/**
|
854
|
-
* user defined payload
|
855
|
-
*
|
856
|
-
* @generated from field: bytes payload = 2;
|
857
|
-
*/
|
858
|
-
payload: Uint8Array;
|
859
|
-
/**
|
860
|
-
* the ID of the participants who will receive the message (sent to all by default)
|
861
|
-
*
|
862
|
-
* @generated from field: repeated string destination_sids = 3;
|
863
|
-
*/
|
864
|
-
destinationSids: string[];
|
865
|
-
/**
|
866
|
-
* identities of participants who will receive the message (sent to all by default)
|
867
|
-
*
|
868
|
-
* @generated from field: repeated string destination_identities = 6;
|
869
|
-
*/
|
870
|
-
destinationIdentities: string[];
|
871
|
-
/**
|
872
|
-
* topic under which the message was published
|
873
|
-
*
|
874
|
-
* @generated from field: optional string topic = 4;
|
875
|
-
*/
|
876
|
-
topic?: string;
|
877
|
-
constructor(data?: PartialMessage<UserPacket>);
|
878
|
-
static readonly runtime: typeof proto3;
|
879
|
-
static readonly typeName = "livekit.UserPacket";
|
880
|
-
static readonly fields: FieldList;
|
881
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserPacket;
|
882
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserPacket;
|
883
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserPacket;
|
884
|
-
static equals(a: UserPacket | PlainMessage<UserPacket> | undefined, b: UserPacket | PlainMessage<UserPacket> | undefined): boolean;
|
885
|
-
}
|
886
|
-
/**
|
887
|
-
* @generated from message livekit.ParticipantTracks
|
888
|
-
*/
|
889
|
-
export declare class ParticipantTracks extends Message<ParticipantTracks> {
|
890
|
-
/**
|
891
|
-
* participant ID of participant to whom the tracks belong
|
892
|
-
*
|
893
|
-
* @generated from field: string participant_sid = 1;
|
894
|
-
*/
|
895
|
-
participantSid: string;
|
896
|
-
/**
|
897
|
-
* @generated from field: repeated string track_sids = 2;
|
898
|
-
*/
|
899
|
-
trackSids: string[];
|
900
|
-
constructor(data?: PartialMessage<ParticipantTracks>);
|
901
|
-
static readonly runtime: typeof proto3;
|
902
|
-
static readonly typeName = "livekit.ParticipantTracks";
|
903
|
-
static readonly fields: FieldList;
|
904
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantTracks;
|
905
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantTracks;
|
906
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantTracks;
|
907
|
-
static equals(a: ParticipantTracks | PlainMessage<ParticipantTracks> | undefined, b: ParticipantTracks | PlainMessage<ParticipantTracks> | undefined): boolean;
|
908
|
-
}
|
909
|
-
/**
|
910
|
-
* details about the server
|
911
|
-
*
|
912
|
-
* @generated from message livekit.ServerInfo
|
913
|
-
*/
|
914
|
-
export declare class ServerInfo extends Message<ServerInfo> {
|
915
|
-
/**
|
916
|
-
* @generated from field: livekit.ServerInfo.Edition edition = 1;
|
917
|
-
*/
|
918
|
-
edition: ServerInfo_Edition;
|
919
|
-
/**
|
920
|
-
* @generated from field: string version = 2;
|
921
|
-
*/
|
922
|
-
version: string;
|
923
|
-
/**
|
924
|
-
* @generated from field: int32 protocol = 3;
|
925
|
-
*/
|
926
|
-
protocol: number;
|
927
|
-
/**
|
928
|
-
* @generated from field: string region = 4;
|
929
|
-
*/
|
930
|
-
region: string;
|
931
|
-
/**
|
932
|
-
* @generated from field: string node_id = 5;
|
933
|
-
*/
|
934
|
-
nodeId: string;
|
935
|
-
/**
|
936
|
-
* additional debugging information. sent only if server is in development mode
|
937
|
-
*
|
938
|
-
* @generated from field: string debug_info = 6;
|
939
|
-
*/
|
940
|
-
debugInfo: string;
|
941
|
-
constructor(data?: PartialMessage<ServerInfo>);
|
942
|
-
static readonly runtime: typeof proto3;
|
943
|
-
static readonly typeName = "livekit.ServerInfo";
|
944
|
-
static readonly fields: FieldList;
|
945
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerInfo;
|
946
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServerInfo;
|
947
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServerInfo;
|
948
|
-
static equals(a: ServerInfo | PlainMessage<ServerInfo> | undefined, b: ServerInfo | PlainMessage<ServerInfo> | undefined): boolean;
|
949
|
-
}
|
950
|
-
/**
|
951
|
-
* @generated from enum livekit.ServerInfo.Edition
|
952
|
-
*/
|
953
|
-
export declare enum ServerInfo_Edition {
|
954
|
-
/**
|
955
|
-
* @generated from enum value: Standard = 0;
|
956
|
-
*/
|
957
|
-
Standard = 0,
|
958
|
-
/**
|
959
|
-
* @generated from enum value: Cloud = 1;
|
960
|
-
*/
|
961
|
-
Cloud = 1
|
962
|
-
}
|
963
|
-
/**
|
964
|
-
* details about the client
|
965
|
-
*
|
966
|
-
* @generated from message livekit.ClientInfo
|
967
|
-
*/
|
968
|
-
export declare class ClientInfo extends Message<ClientInfo> {
|
969
|
-
/**
|
970
|
-
* @generated from field: livekit.ClientInfo.SDK sdk = 1;
|
971
|
-
*/
|
972
|
-
sdk: ClientInfo_SDK;
|
973
|
-
/**
|
974
|
-
* @generated from field: string version = 2;
|
975
|
-
*/
|
976
|
-
version: string;
|
977
|
-
/**
|
978
|
-
* @generated from field: int32 protocol = 3;
|
979
|
-
*/
|
980
|
-
protocol: number;
|
981
|
-
/**
|
982
|
-
* @generated from field: string os = 4;
|
983
|
-
*/
|
984
|
-
os: string;
|
985
|
-
/**
|
986
|
-
* @generated from field: string os_version = 5;
|
987
|
-
*/
|
988
|
-
osVersion: string;
|
989
|
-
/**
|
990
|
-
* @generated from field: string device_model = 6;
|
991
|
-
*/
|
992
|
-
deviceModel: string;
|
993
|
-
/**
|
994
|
-
* @generated from field: string browser = 7;
|
995
|
-
*/
|
996
|
-
browser: string;
|
997
|
-
/**
|
998
|
-
* @generated from field: string browser_version = 8;
|
999
|
-
*/
|
1000
|
-
browserVersion: string;
|
1001
|
-
/**
|
1002
|
-
* @generated from field: string address = 9;
|
1003
|
-
*/
|
1004
|
-
address: string;
|
1005
|
-
/**
|
1006
|
-
* wifi, wired, cellular, vpn, empty if not known
|
1007
|
-
*
|
1008
|
-
* @generated from field: string network = 10;
|
1009
|
-
*/
|
1010
|
-
network: string;
|
1011
|
-
constructor(data?: PartialMessage<ClientInfo>);
|
1012
|
-
static readonly runtime: typeof proto3;
|
1013
|
-
static readonly typeName = "livekit.ClientInfo";
|
1014
|
-
static readonly fields: FieldList;
|
1015
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientInfo;
|
1016
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientInfo;
|
1017
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientInfo;
|
1018
|
-
static equals(a: ClientInfo | PlainMessage<ClientInfo> | undefined, b: ClientInfo | PlainMessage<ClientInfo> | undefined): boolean;
|
1019
|
-
}
|
1020
|
-
/**
|
1021
|
-
* @generated from enum livekit.ClientInfo.SDK
|
1022
|
-
*/
|
1023
|
-
export declare enum ClientInfo_SDK {
|
1024
|
-
/**
|
1025
|
-
* @generated from enum value: UNKNOWN = 0;
|
1026
|
-
*/
|
1027
|
-
UNKNOWN = 0,
|
1028
|
-
/**
|
1029
|
-
* @generated from enum value: JS = 1;
|
1030
|
-
*/
|
1031
|
-
JS = 1,
|
1032
|
-
/**
|
1033
|
-
* @generated from enum value: SWIFT = 2;
|
1034
|
-
*/
|
1035
|
-
SWIFT = 2,
|
1036
|
-
/**
|
1037
|
-
* @generated from enum value: ANDROID = 3;
|
1038
|
-
*/
|
1039
|
-
ANDROID = 3,
|
1040
|
-
/**
|
1041
|
-
* @generated from enum value: FLUTTER = 4;
|
1042
|
-
*/
|
1043
|
-
FLUTTER = 4,
|
1044
|
-
/**
|
1045
|
-
* @generated from enum value: GO = 5;
|
1046
|
-
*/
|
1047
|
-
GO = 5,
|
1048
|
-
/**
|
1049
|
-
* @generated from enum value: UNITY = 6;
|
1050
|
-
*/
|
1051
|
-
UNITY = 6,
|
1052
|
-
/**
|
1053
|
-
* @generated from enum value: REACT_NATIVE = 7;
|
1054
|
-
*/
|
1055
|
-
REACT_NATIVE = 7,
|
1056
|
-
/**
|
1057
|
-
* @generated from enum value: RUST = 8;
|
1058
|
-
*/
|
1059
|
-
RUST = 8,
|
1060
|
-
/**
|
1061
|
-
* @generated from enum value: PYTHON = 9;
|
1062
|
-
*/
|
1063
|
-
PYTHON = 9,
|
1064
|
-
/**
|
1065
|
-
* @generated from enum value: CPP = 10;
|
1066
|
-
*/
|
1067
|
-
CPP = 10
|
1068
|
-
}
|
1069
|
-
/**
|
1070
|
-
* server provided client configuration
|
1071
|
-
*
|
1072
|
-
* @generated from message livekit.ClientConfiguration
|
1073
|
-
*/
|
1074
|
-
export declare class ClientConfiguration extends Message<ClientConfiguration> {
|
1075
|
-
/**
|
1076
|
-
* @generated from field: livekit.VideoConfiguration video = 1;
|
1077
|
-
*/
|
1078
|
-
video?: VideoConfiguration;
|
1079
|
-
/**
|
1080
|
-
* @generated from field: livekit.VideoConfiguration screen = 2;
|
1081
|
-
*/
|
1082
|
-
screen?: VideoConfiguration;
|
1083
|
-
/**
|
1084
|
-
* @generated from field: livekit.ClientConfigSetting resume_connection = 3;
|
1085
|
-
*/
|
1086
|
-
resumeConnection: ClientConfigSetting;
|
1087
|
-
/**
|
1088
|
-
* @generated from field: livekit.DisabledCodecs disabled_codecs = 4;
|
1089
|
-
*/
|
1090
|
-
disabledCodecs?: DisabledCodecs;
|
1091
|
-
/**
|
1092
|
-
* @generated from field: livekit.ClientConfigSetting force_relay = 5;
|
1093
|
-
*/
|
1094
|
-
forceRelay: ClientConfigSetting;
|
1095
|
-
constructor(data?: PartialMessage<ClientConfiguration>);
|
1096
|
-
static readonly runtime: typeof proto3;
|
1097
|
-
static readonly typeName = "livekit.ClientConfiguration";
|
1098
|
-
static readonly fields: FieldList;
|
1099
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientConfiguration;
|
1100
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientConfiguration;
|
1101
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientConfiguration;
|
1102
|
-
static equals(a: ClientConfiguration | PlainMessage<ClientConfiguration> | undefined, b: ClientConfiguration | PlainMessage<ClientConfiguration> | undefined): boolean;
|
1103
|
-
}
|
1104
|
-
/**
|
1105
|
-
* @generated from message livekit.VideoConfiguration
|
1106
|
-
*/
|
1107
|
-
export declare class VideoConfiguration extends Message<VideoConfiguration> {
|
1108
|
-
/**
|
1109
|
-
* @generated from field: livekit.ClientConfigSetting hardware_encoder = 1;
|
1110
|
-
*/
|
1111
|
-
hardwareEncoder: ClientConfigSetting;
|
1112
|
-
constructor(data?: PartialMessage<VideoConfiguration>);
|
1113
|
-
static readonly runtime: typeof proto3;
|
1114
|
-
static readonly typeName = "livekit.VideoConfiguration";
|
1115
|
-
static readonly fields: FieldList;
|
1116
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoConfiguration;
|
1117
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoConfiguration;
|
1118
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoConfiguration;
|
1119
|
-
static equals(a: VideoConfiguration | PlainMessage<VideoConfiguration> | undefined, b: VideoConfiguration | PlainMessage<VideoConfiguration> | undefined): boolean;
|
1120
|
-
}
|
1121
|
-
/**
|
1122
|
-
* @generated from message livekit.DisabledCodecs
|
1123
|
-
*/
|
1124
|
-
export declare class DisabledCodecs extends Message<DisabledCodecs> {
|
1125
|
-
/**
|
1126
|
-
* disabled for both publish and subscribe
|
1127
|
-
*
|
1128
|
-
* @generated from field: repeated livekit.Codec codecs = 1;
|
1129
|
-
*/
|
1130
|
-
codecs: Codec[];
|
1131
|
-
/**
|
1132
|
-
* only disable for publish
|
1133
|
-
*
|
1134
|
-
* @generated from field: repeated livekit.Codec publish = 2;
|
1135
|
-
*/
|
1136
|
-
publish: Codec[];
|
1137
|
-
constructor(data?: PartialMessage<DisabledCodecs>);
|
1138
|
-
static readonly runtime: typeof proto3;
|
1139
|
-
static readonly typeName = "livekit.DisabledCodecs";
|
1140
|
-
static readonly fields: FieldList;
|
1141
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisabledCodecs;
|
1142
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisabledCodecs;
|
1143
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisabledCodecs;
|
1144
|
-
static equals(a: DisabledCodecs | PlainMessage<DisabledCodecs> | undefined, b: DisabledCodecs | PlainMessage<DisabledCodecs> | undefined): boolean;
|
1145
|
-
}
|
1146
|
-
/**
|
1147
|
-
* @generated from message livekit.RTPDrift
|
1148
|
-
*/
|
1149
|
-
export declare class RTPDrift extends Message<RTPDrift> {
|
1150
|
-
/**
|
1151
|
-
* @generated from field: google.protobuf.Timestamp start_time = 1;
|
1152
|
-
*/
|
1153
|
-
startTime?: Timestamp;
|
1154
|
-
/**
|
1155
|
-
* @generated from field: google.protobuf.Timestamp end_time = 2;
|
1156
|
-
*/
|
1157
|
-
endTime?: Timestamp;
|
1158
|
-
/**
|
1159
|
-
* @generated from field: double duration = 3;
|
1160
|
-
*/
|
1161
|
-
duration: number;
|
1162
|
-
/**
|
1163
|
-
* @generated from field: uint64 start_timestamp = 4;
|
1164
|
-
*/
|
1165
|
-
startTimestamp: bigint;
|
1166
|
-
/**
|
1167
|
-
* @generated from field: uint64 end_timestamp = 5;
|
1168
|
-
*/
|
1169
|
-
endTimestamp: bigint;
|
1170
|
-
/**
|
1171
|
-
* @generated from field: uint64 rtp_clock_ticks = 6;
|
1172
|
-
*/
|
1173
|
-
rtpClockTicks: bigint;
|
1174
|
-
/**
|
1175
|
-
* @generated from field: int64 drift_samples = 7;
|
1176
|
-
*/
|
1177
|
-
driftSamples: bigint;
|
1178
|
-
/**
|
1179
|
-
* @generated from field: double drift_ms = 8;
|
1180
|
-
*/
|
1181
|
-
driftMs: number;
|
1182
|
-
/**
|
1183
|
-
* @generated from field: double clock_rate = 9;
|
1184
|
-
*/
|
1185
|
-
clockRate: number;
|
1186
|
-
constructor(data?: PartialMessage<RTPDrift>);
|
1187
|
-
static readonly runtime: typeof proto3;
|
1188
|
-
static readonly typeName = "livekit.RTPDrift";
|
1189
|
-
static readonly fields: FieldList;
|
1190
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPDrift;
|
1191
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPDrift;
|
1192
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPDrift;
|
1193
|
-
static equals(a: RTPDrift | PlainMessage<RTPDrift> | undefined, b: RTPDrift | PlainMessage<RTPDrift> | undefined): boolean;
|
1194
|
-
}
|
1195
|
-
/**
|
1196
|
-
* @generated from message livekit.RTPStats
|
1197
|
-
*/
|
1198
|
-
export declare class RTPStats extends Message<RTPStats> {
|
1199
|
-
/**
|
1200
|
-
* @generated from field: google.protobuf.Timestamp start_time = 1;
|
1201
|
-
*/
|
1202
|
-
startTime?: Timestamp;
|
1203
|
-
/**
|
1204
|
-
* @generated from field: google.protobuf.Timestamp end_time = 2;
|
1205
|
-
*/
|
1206
|
-
endTime?: Timestamp;
|
1207
|
-
/**
|
1208
|
-
* @generated from field: double duration = 3;
|
1209
|
-
*/
|
1210
|
-
duration: number;
|
1211
|
-
/**
|
1212
|
-
* @generated from field: uint32 packets = 4;
|
1213
|
-
*/
|
1214
|
-
packets: number;
|
1215
|
-
/**
|
1216
|
-
* @generated from field: double packet_rate = 5;
|
1217
|
-
*/
|
1218
|
-
packetRate: number;
|
1219
|
-
/**
|
1220
|
-
* @generated from field: uint64 bytes = 6;
|
1221
|
-
*/
|
1222
|
-
bytes: bigint;
|
1223
|
-
/**
|
1224
|
-
* @generated from field: uint64 header_bytes = 39;
|
1225
|
-
*/
|
1226
|
-
headerBytes: bigint;
|
1227
|
-
/**
|
1228
|
-
* @generated from field: double bitrate = 7;
|
1229
|
-
*/
|
1230
|
-
bitrate: number;
|
1231
|
-
/**
|
1232
|
-
* @generated from field: uint32 packets_lost = 8;
|
1233
|
-
*/
|
1234
|
-
packetsLost: number;
|
1235
|
-
/**
|
1236
|
-
* @generated from field: double packet_loss_rate = 9;
|
1237
|
-
*/
|
1238
|
-
packetLossRate: number;
|
1239
|
-
/**
|
1240
|
-
* @generated from field: float packet_loss_percentage = 10;
|
1241
|
-
*/
|
1242
|
-
packetLossPercentage: number;
|
1243
|
-
/**
|
1244
|
-
* @generated from field: uint32 packets_duplicate = 11;
|
1245
|
-
*/
|
1246
|
-
packetsDuplicate: number;
|
1247
|
-
/**
|
1248
|
-
* @generated from field: double packet_duplicate_rate = 12;
|
1249
|
-
*/
|
1250
|
-
packetDuplicateRate: number;
|
1251
|
-
/**
|
1252
|
-
* @generated from field: uint64 bytes_duplicate = 13;
|
1253
|
-
*/
|
1254
|
-
bytesDuplicate: bigint;
|
1255
|
-
/**
|
1256
|
-
* @generated from field: uint64 header_bytes_duplicate = 40;
|
1257
|
-
*/
|
1258
|
-
headerBytesDuplicate: bigint;
|
1259
|
-
/**
|
1260
|
-
* @generated from field: double bitrate_duplicate = 14;
|
1261
|
-
*/
|
1262
|
-
bitrateDuplicate: number;
|
1263
|
-
/**
|
1264
|
-
* @generated from field: uint32 packets_padding = 15;
|
1265
|
-
*/
|
1266
|
-
packetsPadding: number;
|
1267
|
-
/**
|
1268
|
-
* @generated from field: double packet_padding_rate = 16;
|
1269
|
-
*/
|
1270
|
-
packetPaddingRate: number;
|
1271
|
-
/**
|
1272
|
-
* @generated from field: uint64 bytes_padding = 17;
|
1273
|
-
*/
|
1274
|
-
bytesPadding: bigint;
|
1275
|
-
/**
|
1276
|
-
* @generated from field: uint64 header_bytes_padding = 41;
|
1277
|
-
*/
|
1278
|
-
headerBytesPadding: bigint;
|
1279
|
-
/**
|
1280
|
-
* @generated from field: double bitrate_padding = 18;
|
1281
|
-
*/
|
1282
|
-
bitratePadding: number;
|
1283
|
-
/**
|
1284
|
-
* @generated from field: uint32 packets_out_of_order = 19;
|
1285
|
-
*/
|
1286
|
-
packetsOutOfOrder: number;
|
1287
|
-
/**
|
1288
|
-
* @generated from field: uint32 frames = 20;
|
1289
|
-
*/
|
1290
|
-
frames: number;
|
1291
|
-
/**
|
1292
|
-
* @generated from field: double frame_rate = 21;
|
1293
|
-
*/
|
1294
|
-
frameRate: number;
|
1295
|
-
/**
|
1296
|
-
* @generated from field: double jitter_current = 22;
|
1297
|
-
*/
|
1298
|
-
jitterCurrent: number;
|
1299
|
-
/**
|
1300
|
-
* @generated from field: double jitter_max = 23;
|
1301
|
-
*/
|
1302
|
-
jitterMax: number;
|
1303
|
-
/**
|
1304
|
-
* @generated from field: map<int32, uint32> gap_histogram = 24;
|
1305
|
-
*/
|
1306
|
-
gapHistogram: {
|
1307
|
-
[key: number]: number;
|
1308
|
-
};
|
1309
|
-
/**
|
1310
|
-
* @generated from field: uint32 nacks = 25;
|
1311
|
-
*/
|
1312
|
-
nacks: number;
|
1313
|
-
/**
|
1314
|
-
* @generated from field: uint32 nack_acks = 37;
|
1315
|
-
*/
|
1316
|
-
nackAcks: number;
|
1317
|
-
/**
|
1318
|
-
* @generated from field: uint32 nack_misses = 26;
|
1319
|
-
*/
|
1320
|
-
nackMisses: number;
|
1321
|
-
/**
|
1322
|
-
* @generated from field: uint32 nack_repeated = 38;
|
1323
|
-
*/
|
1324
|
-
nackRepeated: number;
|
1325
|
-
/**
|
1326
|
-
* @generated from field: uint32 plis = 27;
|
1327
|
-
*/
|
1328
|
-
plis: number;
|
1329
|
-
/**
|
1330
|
-
* @generated from field: google.protobuf.Timestamp last_pli = 28;
|
1331
|
-
*/
|
1332
|
-
lastPli?: Timestamp;
|
1333
|
-
/**
|
1334
|
-
* @generated from field: uint32 firs = 29;
|
1335
|
-
*/
|
1336
|
-
firs: number;
|
1337
|
-
/**
|
1338
|
-
* @generated from field: google.protobuf.Timestamp last_fir = 30;
|
1339
|
-
*/
|
1340
|
-
lastFir?: Timestamp;
|
1341
|
-
/**
|
1342
|
-
* @generated from field: uint32 rtt_current = 31;
|
1343
|
-
*/
|
1344
|
-
rttCurrent: number;
|
1345
|
-
/**
|
1346
|
-
* @generated from field: uint32 rtt_max = 32;
|
1347
|
-
*/
|
1348
|
-
rttMax: number;
|
1349
|
-
/**
|
1350
|
-
* @generated from field: uint32 key_frames = 33;
|
1351
|
-
*/
|
1352
|
-
keyFrames: number;
|
1353
|
-
/**
|
1354
|
-
* @generated from field: google.protobuf.Timestamp last_key_frame = 34;
|
1355
|
-
*/
|
1356
|
-
lastKeyFrame?: Timestamp;
|
1357
|
-
/**
|
1358
|
-
* @generated from field: uint32 layer_lock_plis = 35;
|
1359
|
-
*/
|
1360
|
-
layerLockPlis: number;
|
1361
|
-
/**
|
1362
|
-
* @generated from field: google.protobuf.Timestamp last_layer_lock_pli = 36;
|
1363
|
-
*/
|
1364
|
-
lastLayerLockPli?: Timestamp;
|
1365
|
-
/**
|
1366
|
-
* @generated from field: livekit.RTPDrift packet_drift = 44;
|
1367
|
-
*/
|
1368
|
-
packetDrift?: RTPDrift;
|
1369
|
-
/**
|
1370
|
-
* NEXT_ID: 46
|
1371
|
-
*
|
1372
|
-
* @generated from field: livekit.RTPDrift report_drift = 45;
|
1373
|
-
*/
|
1374
|
-
reportDrift?: RTPDrift;
|
1375
|
-
constructor(data?: PartialMessage<RTPStats>);
|
1376
|
-
static readonly runtime: typeof proto3;
|
1377
|
-
static readonly typeName = "livekit.RTPStats";
|
1378
|
-
static readonly fields: FieldList;
|
1379
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPStats;
|
1380
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPStats;
|
1381
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPStats;
|
1382
|
-
static equals(a: RTPStats | PlainMessage<RTPStats> | undefined, b: RTPStats | PlainMessage<RTPStats> | undefined): boolean;
|
1383
|
-
}
|
1384
|
-
/**
|
1385
|
-
* @generated from message livekit.TimedVersion
|
1386
|
-
*/
|
1387
|
-
export declare class TimedVersion extends Message<TimedVersion> {
|
1388
|
-
/**
|
1389
|
-
* @generated from field: int64 unix_micro = 1;
|
1390
|
-
*/
|
1391
|
-
unixMicro: bigint;
|
1392
|
-
/**
|
1393
|
-
* @generated from field: int32 ticks = 2;
|
1394
|
-
*/
|
1395
|
-
ticks: number;
|
1396
|
-
constructor(data?: PartialMessage<TimedVersion>);
|
1397
|
-
static readonly runtime: typeof proto3;
|
1398
|
-
static readonly typeName = "livekit.TimedVersion";
|
1399
|
-
static readonly fields: FieldList;
|
1400
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimedVersion;
|
1401
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimedVersion;
|
1402
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimedVersion;
|
1403
|
-
static equals(a: TimedVersion | PlainMessage<TimedVersion> | undefined, b: TimedVersion | PlainMessage<TimedVersion> | undefined): boolean;
|
1404
|
-
}
|
1405
|
-
//# sourceMappingURL=livekit_models_pb.d.ts.map
|