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