@livekit/protocol 1.27.1 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/dist/gen/livekit_agent_dispatch_pb.cjs +385 -0
  2. package/dist/gen/livekit_agent_dispatch_pb.cjs.map +1 -0
  3. package/dist/gen/livekit_agent_dispatch_pb.d.ts +174 -0
  4. package/dist/gen/livekit_agent_dispatch_pb.d.ts.map +1 -0
  5. package/dist/gen/livekit_agent_dispatch_pb.js +356 -0
  6. package/dist/gen/livekit_agent_dispatch_pb.js.map +1 -0
  7. package/dist/gen/livekit_agent_pb.cjs +881 -0
  8. package/dist/gen/livekit_agent_pb.cjs.map +1 -0
  9. package/dist/gen/livekit_agent_pb.d.ts +575 -0
  10. package/dist/gen/livekit_agent_pb.d.ts.map +1 -0
  11. package/dist/gen/livekit_agent_pb.js +840 -0
  12. package/dist/gen/livekit_agent_pb.js.map +1 -0
  13. package/dist/gen/livekit_analytics_pb.cjs +1087 -0
  14. package/dist/gen/livekit_analytics_pb.cjs.map +1 -0
  15. package/dist/gen/livekit_analytics_pb.d.ts +679 -0
  16. package/dist/gen/livekit_analytics_pb.d.ts.map +1 -0
  17. package/dist/gen/livekit_analytics_pb.js +1053 -0
  18. package/dist/gen/livekit_analytics_pb.js.map +1 -0
  19. package/dist/gen/livekit_egress_pb.cjs +2476 -0
  20. package/dist/gen/livekit_egress_pb.cjs.map +1 -0
  21. package/dist/gen/livekit_egress_pb.d.ts +1720 -0
  22. package/dist/gen/livekit_egress_pb.d.ts.map +1 -0
  23. package/dist/gen/livekit_egress_pb.js +2417 -0
  24. package/dist/gen/livekit_egress_pb.js.map +1 -0
  25. package/dist/gen/livekit_ingress_pb.cjs +1050 -0
  26. package/dist/gen/livekit_ingress_pb.cjs.map +1 -0
  27. package/dist/gen/livekit_ingress_pb.d.ts +660 -0
  28. package/dist/gen/livekit_ingress_pb.d.ts.map +1 -0
  29. package/dist/gen/livekit_ingress_pb.js +1011 -0
  30. package/dist/gen/livekit_ingress_pb.js.map +1 -0
  31. package/dist/gen/livekit_internal_pb.cjs +998 -0
  32. package/dist/gen/livekit_internal_pb.cjs.map +1 -0
  33. package/dist/gen/livekit_internal_pb.d.ts +481 -0
  34. package/dist/gen/livekit_internal_pb.d.ts.map +1 -0
  35. package/dist/gen/livekit_internal_pb.js +968 -0
  36. package/dist/gen/livekit_internal_pb.js.map +1 -0
  37. package/dist/gen/livekit_metrics_pb.cjs +371 -0
  38. package/dist/gen/livekit_metrics_pb.cjs.map +1 -0
  39. package/dist/gen/livekit_metrics_pb.d.ts +304 -0
  40. package/dist/gen/livekit_metrics_pb.d.ts.map +1 -0
  41. package/dist/gen/livekit_metrics_pb.js +344 -0
  42. package/dist/gen/livekit_metrics_pb.js.map +1 -0
  43. package/dist/gen/livekit_models_pb.cjs +3323 -0
  44. package/dist/gen/livekit_models_pb.cjs.map +1 -0
  45. package/dist/gen/livekit_models_pb.d.ts +2024 -0
  46. package/dist/gen/livekit_models_pb.d.ts.map +1 -0
  47. package/dist/gen/livekit_models_pb.js +3249 -0
  48. package/dist/gen/livekit_models_pb.js.map +1 -0
  49. package/dist/gen/livekit_room_pb.cjs +1080 -0
  50. package/dist/gen/livekit_room_pb.cjs.map +1 -0
  51. package/dist/gen/livekit_room_pb.d.ts +580 -0
  52. package/dist/gen/livekit_room_pb.d.ts.map +1 -0
  53. package/dist/gen/livekit_room_pb.js +1038 -0
  54. package/dist/gen/livekit_room_pb.js.map +1 -0
  55. package/dist/gen/livekit_rtc_pb.cjs +2261 -0
  56. package/dist/gen/livekit_rtc_pb.cjs.map +1 -0
  57. package/dist/gen/livekit_rtc_pb.d.ts +1602 -0
  58. package/dist/gen/livekit_rtc_pb.d.ts.map +1 -0
  59. package/dist/gen/livekit_rtc_pb.js +2192 -0
  60. package/dist/gen/livekit_rtc_pb.js.map +1 -0
  61. package/dist/gen/livekit_sip_pb.cjs +2118 -0
  62. package/dist/gen/livekit_sip_pb.cjs.map +1 -0
  63. package/dist/gen/livekit_sip_pb.d.ts +1226 -0
  64. package/dist/gen/livekit_sip_pb.d.ts.map +1 -0
  65. package/dist/gen/livekit_sip_pb.js +2061 -0
  66. package/dist/gen/livekit_sip_pb.js.map +1 -0
  67. package/dist/gen/livekit_webhook_pb.cjs +111 -0
  68. package/dist/gen/livekit_webhook_pb.cjs.map +1 -0
  69. package/dist/gen/livekit_webhook_pb.d.ts +71 -0
  70. package/dist/gen/livekit_webhook_pb.d.ts.map +1 -0
  71. package/dist/gen/livekit_webhook_pb.js +88 -0
  72. package/dist/gen/livekit_webhook_pb.js.map +1 -0
  73. package/dist/gen/version.cjs +28 -0
  74. package/dist/gen/version.cjs.map +1 -0
  75. package/dist/gen/version.d.ts +2 -0
  76. package/dist/gen/version.d.ts.map +1 -0
  77. package/dist/gen/version.js +5 -0
  78. package/dist/gen/version.js.map +1 -0
  79. package/dist/index.cjs +51 -0
  80. package/dist/index.cjs.map +1 -0
  81. package/{src → dist}/index.d.ts +1 -0
  82. package/dist/index.d.ts.map +1 -0
  83. package/{src → dist}/index.js +5 -2
  84. package/dist/index.js.map +1 -0
  85. package/package.json +18 -12
  86. package/src/gen/livekit_agent_dispatch_pb.d.ts +0 -253
  87. package/src/gen/livekit_agent_dispatch_pb.js +0 -103
  88. package/src/gen/livekit_agent_pb.d.ts +0 -741
  89. package/src/gen/livekit_agent_pb.js +0 -266
  90. package/src/gen/livekit_analytics_pb.d.ts +0 -889
  91. package/src/gen/livekit_analytics_pb.js +0 -264
  92. package/src/gen/livekit_egress_pb.d.ts +0 -2056
  93. package/src/gen/livekit_egress_pb.js +0 -594
  94. package/src/gen/livekit_ingress_pb.d.ts +0 -843
  95. package/src/gen/livekit_ingress_pb.js +0 -269
  96. package/src/gen/livekit_internal_pb.d.ts +0 -622
  97. package/src/gen/livekit_internal_pb.js +0 -191
  98. package/src/gen/livekit_metrics_pb.d.ts +0 -355
  99. package/src/gen/livekit_metrics_pb.js +0 -94
  100. package/src/gen/livekit_models_pb.d.ts +0 -2539
  101. package/src/gen/livekit_models_pb.js +0 -819
  102. package/src/gen/livekit_room_pb.d.ts +0 -774
  103. package/src/gen/livekit_room_pb.js +0 -259
  104. package/src/gen/livekit_rtc_pb.d.ts +0 -2001
  105. package/src/gen/livekit_rtc_pb.js +0 -634
  106. package/src/gen/livekit_sip_pb.d.ts +0 -1508
  107. package/src/gen/livekit_sip_pb.js +0 -468
  108. package/src/gen/livekit_webhook_pb.d.ts +0 -105
  109. package/src/gen/livekit_webhook_pb.js +0 -42
  110. package/src/gen/version.d.ts +0 -1
  111. package/src/gen/version.js +0 -2
@@ -0,0 +1,2192 @@
1
+ import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
2
+ import { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
3
+ var SignalTarget = /* @__PURE__ */ ((SignalTarget2) => {
4
+ SignalTarget2[SignalTarget2["PUBLISHER"] = 0] = "PUBLISHER";
5
+ SignalTarget2[SignalTarget2["SUBSCRIBER"] = 1] = "SUBSCRIBER";
6
+ return SignalTarget2;
7
+ })(SignalTarget || {});
8
+ proto3.util.setEnumType(SignalTarget, "livekit.SignalTarget", [
9
+ { no: 0, name: "PUBLISHER" },
10
+ { no: 1, name: "SUBSCRIBER" }
11
+ ]);
12
+ var StreamState = /* @__PURE__ */ ((StreamState2) => {
13
+ StreamState2[StreamState2["ACTIVE"] = 0] = "ACTIVE";
14
+ StreamState2[StreamState2["PAUSED"] = 1] = "PAUSED";
15
+ return StreamState2;
16
+ })(StreamState || {});
17
+ proto3.util.setEnumType(StreamState, "livekit.StreamState", [
18
+ { no: 0, name: "ACTIVE" },
19
+ { no: 1, name: "PAUSED" }
20
+ ]);
21
+ var CandidateProtocol = /* @__PURE__ */ ((CandidateProtocol2) => {
22
+ CandidateProtocol2[CandidateProtocol2["UDP"] = 0] = "UDP";
23
+ CandidateProtocol2[CandidateProtocol2["TCP"] = 1] = "TCP";
24
+ CandidateProtocol2[CandidateProtocol2["TLS"] = 2] = "TLS";
25
+ return CandidateProtocol2;
26
+ })(CandidateProtocol || {});
27
+ proto3.util.setEnumType(CandidateProtocol, "livekit.CandidateProtocol", [
28
+ { no: 0, name: "UDP" },
29
+ { no: 1, name: "TCP" },
30
+ { no: 2, name: "TLS" }
31
+ ]);
32
+ const _SignalRequest = class _SignalRequest extends Message {
33
+ constructor(data) {
34
+ super();
35
+ /**
36
+ * @generated from oneof livekit.SignalRequest.message
37
+ */
38
+ this.message = { case: void 0 };
39
+ proto3.util.initPartial(data, this);
40
+ }
41
+ static fromBinary(bytes, options) {
42
+ return new _SignalRequest().fromBinary(bytes, options);
43
+ }
44
+ static fromJson(jsonValue, options) {
45
+ return new _SignalRequest().fromJson(jsonValue, options);
46
+ }
47
+ static fromJsonString(jsonString, options) {
48
+ return new _SignalRequest().fromJsonString(jsonString, options);
49
+ }
50
+ static equals(a, b) {
51
+ return proto3.util.equals(_SignalRequest, a, b);
52
+ }
53
+ };
54
+ _SignalRequest.runtime = proto3;
55
+ _SignalRequest.typeName = "livekit.SignalRequest";
56
+ _SignalRequest.fields = proto3.util.newFieldList(() => [
57
+ { no: 1, name: "offer", kind: "message", T: SessionDescription, oneof: "message" },
58
+ { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" },
59
+ { no: 3, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" },
60
+ { no: 4, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "message" },
61
+ { no: 5, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" },
62
+ { no: 6, name: "subscription", kind: "message", T: UpdateSubscription, oneof: "message" },
63
+ { no: 7, name: "track_setting", kind: "message", T: UpdateTrackSettings, oneof: "message" },
64
+ { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" },
65
+ { no: 10, name: "update_layers", kind: "message", T: UpdateVideoLayers, oneof: "message" },
66
+ { no: 11, name: "subscription_permission", kind: "message", T: SubscriptionPermission, oneof: "message" },
67
+ { no: 12, name: "sync_state", kind: "message", T: SyncState, oneof: "message" },
68
+ { no: 13, name: "simulate", kind: "message", T: SimulateScenario, oneof: "message" },
69
+ { no: 14, name: "ping", kind: "scalar", T: 3, oneof: "message" },
70
+ { no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" },
71
+ { no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" },
72
+ { no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" },
73
+ { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" }
74
+ ]);
75
+ let SignalRequest = _SignalRequest;
76
+ const _SignalResponse = class _SignalResponse extends Message {
77
+ constructor(data) {
78
+ super();
79
+ /**
80
+ * @generated from oneof livekit.SignalResponse.message
81
+ */
82
+ this.message = { case: void 0 };
83
+ proto3.util.initPartial(data, this);
84
+ }
85
+ static fromBinary(bytes, options) {
86
+ return new _SignalResponse().fromBinary(bytes, options);
87
+ }
88
+ static fromJson(jsonValue, options) {
89
+ return new _SignalResponse().fromJson(jsonValue, options);
90
+ }
91
+ static fromJsonString(jsonString, options) {
92
+ return new _SignalResponse().fromJsonString(jsonString, options);
93
+ }
94
+ static equals(a, b) {
95
+ return proto3.util.equals(_SignalResponse, a, b);
96
+ }
97
+ };
98
+ _SignalResponse.runtime = proto3;
99
+ _SignalResponse.typeName = "livekit.SignalResponse";
100
+ _SignalResponse.fields = proto3.util.newFieldList(() => [
101
+ { no: 1, name: "join", kind: "message", T: JoinResponse, oneof: "message" },
102
+ { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" },
103
+ { no: 3, name: "offer", kind: "message", T: SessionDescription, oneof: "message" },
104
+ { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" },
105
+ { no: 5, name: "update", kind: "message", T: ParticipantUpdate, oneof: "message" },
106
+ { no: 6, name: "track_published", kind: "message", T: TrackPublishedResponse, oneof: "message" },
107
+ { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" },
108
+ { no: 9, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" },
109
+ { no: 10, name: "speakers_changed", kind: "message", T: SpeakersChanged, oneof: "message" },
110
+ { no: 11, name: "room_update", kind: "message", T: RoomUpdate, oneof: "message" },
111
+ { no: 12, name: "connection_quality", kind: "message", T: ConnectionQualityUpdate, oneof: "message" },
112
+ { no: 13, name: "stream_state_update", kind: "message", T: StreamStateUpdate, oneof: "message" },
113
+ { no: 14, name: "subscribed_quality_update", kind: "message", T: SubscribedQualityUpdate, oneof: "message" },
114
+ { no: 15, name: "subscription_permission_update", kind: "message", T: SubscriptionPermissionUpdate, oneof: "message" },
115
+ { no: 16, name: "refresh_token", kind: "scalar", T: 9, oneof: "message" },
116
+ { no: 17, name: "track_unpublished", kind: "message", T: TrackUnpublishedResponse, oneof: "message" },
117
+ { no: 18, name: "pong", kind: "scalar", T: 3, oneof: "message" },
118
+ { no: 19, name: "reconnect", kind: "message", T: ReconnectResponse, oneof: "message" },
119
+ { no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" },
120
+ { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
121
+ { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
122
+ { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" }
123
+ ]);
124
+ let SignalResponse = _SignalResponse;
125
+ const _SimulcastCodec = class _SimulcastCodec extends Message {
126
+ constructor(data) {
127
+ super();
128
+ /**
129
+ * @generated from field: string codec = 1;
130
+ */
131
+ this.codec = "";
132
+ /**
133
+ * @generated from field: string cid = 2;
134
+ */
135
+ this.cid = "";
136
+ proto3.util.initPartial(data, this);
137
+ }
138
+ static fromBinary(bytes, options) {
139
+ return new _SimulcastCodec().fromBinary(bytes, options);
140
+ }
141
+ static fromJson(jsonValue, options) {
142
+ return new _SimulcastCodec().fromJson(jsonValue, options);
143
+ }
144
+ static fromJsonString(jsonString, options) {
145
+ return new _SimulcastCodec().fromJsonString(jsonString, options);
146
+ }
147
+ static equals(a, b) {
148
+ return proto3.util.equals(_SimulcastCodec, a, b);
149
+ }
150
+ };
151
+ _SimulcastCodec.runtime = proto3;
152
+ _SimulcastCodec.typeName = "livekit.SimulcastCodec";
153
+ _SimulcastCodec.fields = proto3.util.newFieldList(() => [
154
+ {
155
+ no: 1,
156
+ name: "codec",
157
+ kind: "scalar",
158
+ T: 9
159
+ /* ScalarType.STRING */
160
+ },
161
+ {
162
+ no: 2,
163
+ name: "cid",
164
+ kind: "scalar",
165
+ T: 9
166
+ /* ScalarType.STRING */
167
+ }
168
+ ]);
169
+ let SimulcastCodec = _SimulcastCodec;
170
+ const _AddTrackRequest = class _AddTrackRequest extends Message {
171
+ constructor(data) {
172
+ super();
173
+ /**
174
+ * client ID of track, to match it when RTC track is received
175
+ *
176
+ * @generated from field: string cid = 1;
177
+ */
178
+ this.cid = "";
179
+ /**
180
+ * @generated from field: string name = 2;
181
+ */
182
+ this.name = "";
183
+ /**
184
+ * @generated from field: livekit.TrackType type = 3;
185
+ */
186
+ this.type = TrackType.AUDIO;
187
+ /**
188
+ * to be deprecated in favor of layers
189
+ *
190
+ * @generated from field: uint32 width = 4;
191
+ */
192
+ this.width = 0;
193
+ /**
194
+ * @generated from field: uint32 height = 5;
195
+ */
196
+ this.height = 0;
197
+ /**
198
+ * true to add track and initialize to muted
199
+ *
200
+ * @generated from field: bool muted = 6;
201
+ */
202
+ this.muted = false;
203
+ /**
204
+ * true if DTX (Discontinuous Transmission) is disabled for audio
205
+ *
206
+ * @generated from field: bool disable_dtx = 7;
207
+ */
208
+ this.disableDtx = false;
209
+ /**
210
+ * @generated from field: livekit.TrackSource source = 8;
211
+ */
212
+ this.source = TrackSource.UNKNOWN;
213
+ /**
214
+ * @generated from field: repeated livekit.VideoLayer layers = 9;
215
+ */
216
+ this.layers = [];
217
+ /**
218
+ * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10;
219
+ */
220
+ this.simulcastCodecs = [];
221
+ /**
222
+ * server ID of track, publish new codec to exist track
223
+ *
224
+ * @generated from field: string sid = 11;
225
+ */
226
+ this.sid = "";
227
+ /**
228
+ * @generated from field: bool stereo = 12;
229
+ */
230
+ this.stereo = false;
231
+ /**
232
+ * true if RED (Redundant Encoding) is disabled for audio
233
+ *
234
+ * @generated from field: bool disable_red = 13;
235
+ */
236
+ this.disableRed = false;
237
+ /**
238
+ * @generated from field: livekit.Encryption.Type encryption = 14;
239
+ */
240
+ this.encryption = Encryption_Type.NONE;
241
+ /**
242
+ * which stream the track belongs to, used to group tracks together.
243
+ * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together
244
+ *
245
+ * @generated from field: string stream = 15;
246
+ */
247
+ this.stream = "";
248
+ proto3.util.initPartial(data, this);
249
+ }
250
+ static fromBinary(bytes, options) {
251
+ return new _AddTrackRequest().fromBinary(bytes, options);
252
+ }
253
+ static fromJson(jsonValue, options) {
254
+ return new _AddTrackRequest().fromJson(jsonValue, options);
255
+ }
256
+ static fromJsonString(jsonString, options) {
257
+ return new _AddTrackRequest().fromJsonString(jsonString, options);
258
+ }
259
+ static equals(a, b) {
260
+ return proto3.util.equals(_AddTrackRequest, a, b);
261
+ }
262
+ };
263
+ _AddTrackRequest.runtime = proto3;
264
+ _AddTrackRequest.typeName = "livekit.AddTrackRequest";
265
+ _AddTrackRequest.fields = proto3.util.newFieldList(() => [
266
+ {
267
+ no: 1,
268
+ name: "cid",
269
+ kind: "scalar",
270
+ T: 9
271
+ /* ScalarType.STRING */
272
+ },
273
+ {
274
+ no: 2,
275
+ name: "name",
276
+ kind: "scalar",
277
+ T: 9
278
+ /* ScalarType.STRING */
279
+ },
280
+ { no: 3, name: "type", kind: "enum", T: proto3.getEnumType(TrackType) },
281
+ {
282
+ no: 4,
283
+ name: "width",
284
+ kind: "scalar",
285
+ T: 13
286
+ /* ScalarType.UINT32 */
287
+ },
288
+ {
289
+ no: 5,
290
+ name: "height",
291
+ kind: "scalar",
292
+ T: 13
293
+ /* ScalarType.UINT32 */
294
+ },
295
+ {
296
+ no: 6,
297
+ name: "muted",
298
+ kind: "scalar",
299
+ T: 8
300
+ /* ScalarType.BOOL */
301
+ },
302
+ {
303
+ no: 7,
304
+ name: "disable_dtx",
305
+ kind: "scalar",
306
+ T: 8
307
+ /* ScalarType.BOOL */
308
+ },
309
+ { no: 8, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) },
310
+ { no: 9, name: "layers", kind: "message", T: VideoLayer, repeated: true },
311
+ { no: 10, name: "simulcast_codecs", kind: "message", T: SimulcastCodec, repeated: true },
312
+ {
313
+ no: 11,
314
+ name: "sid",
315
+ kind: "scalar",
316
+ T: 9
317
+ /* ScalarType.STRING */
318
+ },
319
+ {
320
+ no: 12,
321
+ name: "stereo",
322
+ kind: "scalar",
323
+ T: 8
324
+ /* ScalarType.BOOL */
325
+ },
326
+ {
327
+ no: 13,
328
+ name: "disable_red",
329
+ kind: "scalar",
330
+ T: 8
331
+ /* ScalarType.BOOL */
332
+ },
333
+ { no: 14, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
334
+ {
335
+ no: 15,
336
+ name: "stream",
337
+ kind: "scalar",
338
+ T: 9
339
+ /* ScalarType.STRING */
340
+ }
341
+ ]);
342
+ let AddTrackRequest = _AddTrackRequest;
343
+ const _TrickleRequest = class _TrickleRequest extends Message {
344
+ constructor(data) {
345
+ super();
346
+ /**
347
+ * @generated from field: string candidateInit = 1;
348
+ */
349
+ this.candidateInit = "";
350
+ /**
351
+ * @generated from field: livekit.SignalTarget target = 2;
352
+ */
353
+ this.target = 0 /* PUBLISHER */;
354
+ /**
355
+ * @generated from field: bool final = 3;
356
+ */
357
+ this.final = false;
358
+ proto3.util.initPartial(data, this);
359
+ }
360
+ static fromBinary(bytes, options) {
361
+ return new _TrickleRequest().fromBinary(bytes, options);
362
+ }
363
+ static fromJson(jsonValue, options) {
364
+ return new _TrickleRequest().fromJson(jsonValue, options);
365
+ }
366
+ static fromJsonString(jsonString, options) {
367
+ return new _TrickleRequest().fromJsonString(jsonString, options);
368
+ }
369
+ static equals(a, b) {
370
+ return proto3.util.equals(_TrickleRequest, a, b);
371
+ }
372
+ };
373
+ _TrickleRequest.runtime = proto3;
374
+ _TrickleRequest.typeName = "livekit.TrickleRequest";
375
+ _TrickleRequest.fields = proto3.util.newFieldList(() => [
376
+ {
377
+ no: 1,
378
+ name: "candidateInit",
379
+ kind: "scalar",
380
+ T: 9
381
+ /* ScalarType.STRING */
382
+ },
383
+ { no: 2, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) },
384
+ {
385
+ no: 3,
386
+ name: "final",
387
+ kind: "scalar",
388
+ T: 8
389
+ /* ScalarType.BOOL */
390
+ }
391
+ ]);
392
+ let TrickleRequest = _TrickleRequest;
393
+ const _MuteTrackRequest = class _MuteTrackRequest extends Message {
394
+ constructor(data) {
395
+ super();
396
+ /**
397
+ * @generated from field: string sid = 1;
398
+ */
399
+ this.sid = "";
400
+ /**
401
+ * @generated from field: bool muted = 2;
402
+ */
403
+ this.muted = false;
404
+ proto3.util.initPartial(data, this);
405
+ }
406
+ static fromBinary(bytes, options) {
407
+ return new _MuteTrackRequest().fromBinary(bytes, options);
408
+ }
409
+ static fromJson(jsonValue, options) {
410
+ return new _MuteTrackRequest().fromJson(jsonValue, options);
411
+ }
412
+ static fromJsonString(jsonString, options) {
413
+ return new _MuteTrackRequest().fromJsonString(jsonString, options);
414
+ }
415
+ static equals(a, b) {
416
+ return proto3.util.equals(_MuteTrackRequest, a, b);
417
+ }
418
+ };
419
+ _MuteTrackRequest.runtime = proto3;
420
+ _MuteTrackRequest.typeName = "livekit.MuteTrackRequest";
421
+ _MuteTrackRequest.fields = proto3.util.newFieldList(() => [
422
+ {
423
+ no: 1,
424
+ name: "sid",
425
+ kind: "scalar",
426
+ T: 9
427
+ /* ScalarType.STRING */
428
+ },
429
+ {
430
+ no: 2,
431
+ name: "muted",
432
+ kind: "scalar",
433
+ T: 8
434
+ /* ScalarType.BOOL */
435
+ }
436
+ ]);
437
+ let MuteTrackRequest = _MuteTrackRequest;
438
+ const _JoinResponse = class _JoinResponse extends Message {
439
+ constructor(data) {
440
+ super();
441
+ /**
442
+ * @generated from field: repeated livekit.ParticipantInfo other_participants = 3;
443
+ */
444
+ this.otherParticipants = [];
445
+ /**
446
+ * deprecated. use server_info.version instead.
447
+ *
448
+ * @generated from field: string server_version = 4;
449
+ */
450
+ this.serverVersion = "";
451
+ /**
452
+ * @generated from field: repeated livekit.ICEServer ice_servers = 5;
453
+ */
454
+ this.iceServers = [];
455
+ /**
456
+ * use subscriber as the primary PeerConnection
457
+ *
458
+ * @generated from field: bool subscriber_primary = 6;
459
+ */
460
+ this.subscriberPrimary = false;
461
+ /**
462
+ * when the current server isn't available, return alternate url to retry connection
463
+ * when this is set, the other fields will be largely empty
464
+ *
465
+ * @generated from field: string alternative_url = 7;
466
+ */
467
+ this.alternativeUrl = "";
468
+ /**
469
+ * deprecated. use server_info.region instead.
470
+ *
471
+ * @generated from field: string server_region = 9;
472
+ */
473
+ this.serverRegion = "";
474
+ /**
475
+ * @generated from field: int32 ping_timeout = 10;
476
+ */
477
+ this.pingTimeout = 0;
478
+ /**
479
+ * @generated from field: int32 ping_interval = 11;
480
+ */
481
+ this.pingInterval = 0;
482
+ /**
483
+ * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled
484
+ *
485
+ * @generated from field: bytes sif_trailer = 13;
486
+ */
487
+ this.sifTrailer = new Uint8Array(0);
488
+ /**
489
+ * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14;
490
+ */
491
+ this.enabledPublishCodecs = [];
492
+ /**
493
+ * when set, client should attempt to establish publish peer connection when joining room to speed up publishing
494
+ *
495
+ * @generated from field: bool fast_publish = 15;
496
+ */
497
+ this.fastPublish = false;
498
+ proto3.util.initPartial(data, this);
499
+ }
500
+ static fromBinary(bytes, options) {
501
+ return new _JoinResponse().fromBinary(bytes, options);
502
+ }
503
+ static fromJson(jsonValue, options) {
504
+ return new _JoinResponse().fromJson(jsonValue, options);
505
+ }
506
+ static fromJsonString(jsonString, options) {
507
+ return new _JoinResponse().fromJsonString(jsonString, options);
508
+ }
509
+ static equals(a, b) {
510
+ return proto3.util.equals(_JoinResponse, a, b);
511
+ }
512
+ };
513
+ _JoinResponse.runtime = proto3;
514
+ _JoinResponse.typeName = "livekit.JoinResponse";
515
+ _JoinResponse.fields = proto3.util.newFieldList(() => [
516
+ { no: 1, name: "room", kind: "message", T: Room },
517
+ { no: 2, name: "participant", kind: "message", T: ParticipantInfo },
518
+ { no: 3, name: "other_participants", kind: "message", T: ParticipantInfo, repeated: true },
519
+ {
520
+ no: 4,
521
+ name: "server_version",
522
+ kind: "scalar",
523
+ T: 9
524
+ /* ScalarType.STRING */
525
+ },
526
+ { no: 5, name: "ice_servers", kind: "message", T: ICEServer, repeated: true },
527
+ {
528
+ no: 6,
529
+ name: "subscriber_primary",
530
+ kind: "scalar",
531
+ T: 8
532
+ /* ScalarType.BOOL */
533
+ },
534
+ {
535
+ no: 7,
536
+ name: "alternative_url",
537
+ kind: "scalar",
538
+ T: 9
539
+ /* ScalarType.STRING */
540
+ },
541
+ { no: 8, name: "client_configuration", kind: "message", T: ClientConfiguration },
542
+ {
543
+ no: 9,
544
+ name: "server_region",
545
+ kind: "scalar",
546
+ T: 9
547
+ /* ScalarType.STRING */
548
+ },
549
+ {
550
+ no: 10,
551
+ name: "ping_timeout",
552
+ kind: "scalar",
553
+ T: 5
554
+ /* ScalarType.INT32 */
555
+ },
556
+ {
557
+ no: 11,
558
+ name: "ping_interval",
559
+ kind: "scalar",
560
+ T: 5
561
+ /* ScalarType.INT32 */
562
+ },
563
+ { no: 12, name: "server_info", kind: "message", T: ServerInfo },
564
+ {
565
+ no: 13,
566
+ name: "sif_trailer",
567
+ kind: "scalar",
568
+ T: 12
569
+ /* ScalarType.BYTES */
570
+ },
571
+ { no: 14, name: "enabled_publish_codecs", kind: "message", T: Codec, repeated: true },
572
+ {
573
+ no: 15,
574
+ name: "fast_publish",
575
+ kind: "scalar",
576
+ T: 8
577
+ /* ScalarType.BOOL */
578
+ }
579
+ ]);
580
+ let JoinResponse = _JoinResponse;
581
+ const _ReconnectResponse = class _ReconnectResponse extends Message {
582
+ constructor(data) {
583
+ super();
584
+ /**
585
+ * @generated from field: repeated livekit.ICEServer ice_servers = 1;
586
+ */
587
+ this.iceServers = [];
588
+ proto3.util.initPartial(data, this);
589
+ }
590
+ static fromBinary(bytes, options) {
591
+ return new _ReconnectResponse().fromBinary(bytes, options);
592
+ }
593
+ static fromJson(jsonValue, options) {
594
+ return new _ReconnectResponse().fromJson(jsonValue, options);
595
+ }
596
+ static fromJsonString(jsonString, options) {
597
+ return new _ReconnectResponse().fromJsonString(jsonString, options);
598
+ }
599
+ static equals(a, b) {
600
+ return proto3.util.equals(_ReconnectResponse, a, b);
601
+ }
602
+ };
603
+ _ReconnectResponse.runtime = proto3;
604
+ _ReconnectResponse.typeName = "livekit.ReconnectResponse";
605
+ _ReconnectResponse.fields = proto3.util.newFieldList(() => [
606
+ { no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true },
607
+ { no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration }
608
+ ]);
609
+ let ReconnectResponse = _ReconnectResponse;
610
+ const _TrackPublishedResponse = class _TrackPublishedResponse extends Message {
611
+ constructor(data) {
612
+ super();
613
+ /**
614
+ * @generated from field: string cid = 1;
615
+ */
616
+ this.cid = "";
617
+ proto3.util.initPartial(data, this);
618
+ }
619
+ static fromBinary(bytes, options) {
620
+ return new _TrackPublishedResponse().fromBinary(bytes, options);
621
+ }
622
+ static fromJson(jsonValue, options) {
623
+ return new _TrackPublishedResponse().fromJson(jsonValue, options);
624
+ }
625
+ static fromJsonString(jsonString, options) {
626
+ return new _TrackPublishedResponse().fromJsonString(jsonString, options);
627
+ }
628
+ static equals(a, b) {
629
+ return proto3.util.equals(_TrackPublishedResponse, a, b);
630
+ }
631
+ };
632
+ _TrackPublishedResponse.runtime = proto3;
633
+ _TrackPublishedResponse.typeName = "livekit.TrackPublishedResponse";
634
+ _TrackPublishedResponse.fields = proto3.util.newFieldList(() => [
635
+ {
636
+ no: 1,
637
+ name: "cid",
638
+ kind: "scalar",
639
+ T: 9
640
+ /* ScalarType.STRING */
641
+ },
642
+ { no: 2, name: "track", kind: "message", T: TrackInfo }
643
+ ]);
644
+ let TrackPublishedResponse = _TrackPublishedResponse;
645
+ const _TrackUnpublishedResponse = class _TrackUnpublishedResponse extends Message {
646
+ constructor(data) {
647
+ super();
648
+ /**
649
+ * @generated from field: string track_sid = 1;
650
+ */
651
+ this.trackSid = "";
652
+ proto3.util.initPartial(data, this);
653
+ }
654
+ static fromBinary(bytes, options) {
655
+ return new _TrackUnpublishedResponse().fromBinary(bytes, options);
656
+ }
657
+ static fromJson(jsonValue, options) {
658
+ return new _TrackUnpublishedResponse().fromJson(jsonValue, options);
659
+ }
660
+ static fromJsonString(jsonString, options) {
661
+ return new _TrackUnpublishedResponse().fromJsonString(jsonString, options);
662
+ }
663
+ static equals(a, b) {
664
+ return proto3.util.equals(_TrackUnpublishedResponse, a, b);
665
+ }
666
+ };
667
+ _TrackUnpublishedResponse.runtime = proto3;
668
+ _TrackUnpublishedResponse.typeName = "livekit.TrackUnpublishedResponse";
669
+ _TrackUnpublishedResponse.fields = proto3.util.newFieldList(() => [
670
+ {
671
+ no: 1,
672
+ name: "track_sid",
673
+ kind: "scalar",
674
+ T: 9
675
+ /* ScalarType.STRING */
676
+ }
677
+ ]);
678
+ let TrackUnpublishedResponse = _TrackUnpublishedResponse;
679
+ const _SessionDescription = class _SessionDescription extends Message {
680
+ constructor(data) {
681
+ super();
682
+ /**
683
+ * "answer" | "offer" | "pranswer" | "rollback"
684
+ *
685
+ * @generated from field: string type = 1;
686
+ */
687
+ this.type = "";
688
+ /**
689
+ * @generated from field: string sdp = 2;
690
+ */
691
+ this.sdp = "";
692
+ proto3.util.initPartial(data, this);
693
+ }
694
+ static fromBinary(bytes, options) {
695
+ return new _SessionDescription().fromBinary(bytes, options);
696
+ }
697
+ static fromJson(jsonValue, options) {
698
+ return new _SessionDescription().fromJson(jsonValue, options);
699
+ }
700
+ static fromJsonString(jsonString, options) {
701
+ return new _SessionDescription().fromJsonString(jsonString, options);
702
+ }
703
+ static equals(a, b) {
704
+ return proto3.util.equals(_SessionDescription, a, b);
705
+ }
706
+ };
707
+ _SessionDescription.runtime = proto3;
708
+ _SessionDescription.typeName = "livekit.SessionDescription";
709
+ _SessionDescription.fields = proto3.util.newFieldList(() => [
710
+ {
711
+ no: 1,
712
+ name: "type",
713
+ kind: "scalar",
714
+ T: 9
715
+ /* ScalarType.STRING */
716
+ },
717
+ {
718
+ no: 2,
719
+ name: "sdp",
720
+ kind: "scalar",
721
+ T: 9
722
+ /* ScalarType.STRING */
723
+ }
724
+ ]);
725
+ let SessionDescription = _SessionDescription;
726
+ const _ParticipantUpdate = class _ParticipantUpdate extends Message {
727
+ constructor(data) {
728
+ super();
729
+ /**
730
+ * @generated from field: repeated livekit.ParticipantInfo participants = 1;
731
+ */
732
+ this.participants = [];
733
+ proto3.util.initPartial(data, this);
734
+ }
735
+ static fromBinary(bytes, options) {
736
+ return new _ParticipantUpdate().fromBinary(bytes, options);
737
+ }
738
+ static fromJson(jsonValue, options) {
739
+ return new _ParticipantUpdate().fromJson(jsonValue, options);
740
+ }
741
+ static fromJsonString(jsonString, options) {
742
+ return new _ParticipantUpdate().fromJsonString(jsonString, options);
743
+ }
744
+ static equals(a, b) {
745
+ return proto3.util.equals(_ParticipantUpdate, a, b);
746
+ }
747
+ };
748
+ _ParticipantUpdate.runtime = proto3;
749
+ _ParticipantUpdate.typeName = "livekit.ParticipantUpdate";
750
+ _ParticipantUpdate.fields = proto3.util.newFieldList(() => [
751
+ { no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true }
752
+ ]);
753
+ let ParticipantUpdate = _ParticipantUpdate;
754
+ const _UpdateSubscription = class _UpdateSubscription extends Message {
755
+ constructor(data) {
756
+ super();
757
+ /**
758
+ * @generated from field: repeated string track_sids = 1;
759
+ */
760
+ this.trackSids = [];
761
+ /**
762
+ * @generated from field: bool subscribe = 2;
763
+ */
764
+ this.subscribe = false;
765
+ /**
766
+ * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3;
767
+ */
768
+ this.participantTracks = [];
769
+ proto3.util.initPartial(data, this);
770
+ }
771
+ static fromBinary(bytes, options) {
772
+ return new _UpdateSubscription().fromBinary(bytes, options);
773
+ }
774
+ static fromJson(jsonValue, options) {
775
+ return new _UpdateSubscription().fromJson(jsonValue, options);
776
+ }
777
+ static fromJsonString(jsonString, options) {
778
+ return new _UpdateSubscription().fromJsonString(jsonString, options);
779
+ }
780
+ static equals(a, b) {
781
+ return proto3.util.equals(_UpdateSubscription, a, b);
782
+ }
783
+ };
784
+ _UpdateSubscription.runtime = proto3;
785
+ _UpdateSubscription.typeName = "livekit.UpdateSubscription";
786
+ _UpdateSubscription.fields = proto3.util.newFieldList(() => [
787
+ { no: 1, name: "track_sids", kind: "scalar", T: 9, repeated: true },
788
+ {
789
+ no: 2,
790
+ name: "subscribe",
791
+ kind: "scalar",
792
+ T: 8
793
+ /* ScalarType.BOOL */
794
+ },
795
+ { no: 3, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true }
796
+ ]);
797
+ let UpdateSubscription = _UpdateSubscription;
798
+ const _UpdateTrackSettings = class _UpdateTrackSettings extends Message {
799
+ constructor(data) {
800
+ super();
801
+ /**
802
+ * @generated from field: repeated string track_sids = 1;
803
+ */
804
+ this.trackSids = [];
805
+ /**
806
+ * when true, the track is placed in a paused state, with no new data returned
807
+ *
808
+ * @generated from field: bool disabled = 3;
809
+ */
810
+ this.disabled = false;
811
+ /**
812
+ * deprecated in favor of width & height
813
+ *
814
+ * @generated from field: livekit.VideoQuality quality = 4;
815
+ */
816
+ this.quality = VideoQuality.LOW;
817
+ /**
818
+ * for video, width to receive
819
+ *
820
+ * @generated from field: uint32 width = 5;
821
+ */
822
+ this.width = 0;
823
+ /**
824
+ * for video, height to receive
825
+ *
826
+ * @generated from field: uint32 height = 6;
827
+ */
828
+ this.height = 0;
829
+ /**
830
+ * @generated from field: uint32 fps = 7;
831
+ */
832
+ this.fps = 0;
833
+ /**
834
+ * subscription priority. 1 being the highest (0 is unset)
835
+ * when unset, server sill assign priority based on the order of subscription
836
+ * server will use priority in the following ways:
837
+ * 1. when subscribed tracks exceed per-participant subscription limit, server will
838
+ * pause the lowest priority tracks
839
+ * 2. when the network is congested, server will assign available bandwidth to
840
+ * higher priority tracks first. lowest priority tracks can be paused
841
+ *
842
+ * @generated from field: uint32 priority = 8;
843
+ */
844
+ this.priority = 0;
845
+ proto3.util.initPartial(data, this);
846
+ }
847
+ static fromBinary(bytes, options) {
848
+ return new _UpdateTrackSettings().fromBinary(bytes, options);
849
+ }
850
+ static fromJson(jsonValue, options) {
851
+ return new _UpdateTrackSettings().fromJson(jsonValue, options);
852
+ }
853
+ static fromJsonString(jsonString, options) {
854
+ return new _UpdateTrackSettings().fromJsonString(jsonString, options);
855
+ }
856
+ static equals(a, b) {
857
+ return proto3.util.equals(_UpdateTrackSettings, a, b);
858
+ }
859
+ };
860
+ _UpdateTrackSettings.runtime = proto3;
861
+ _UpdateTrackSettings.typeName = "livekit.UpdateTrackSettings";
862
+ _UpdateTrackSettings.fields = proto3.util.newFieldList(() => [
863
+ { no: 1, name: "track_sids", kind: "scalar", T: 9, repeated: true },
864
+ {
865
+ no: 3,
866
+ name: "disabled",
867
+ kind: "scalar",
868
+ T: 8
869
+ /* ScalarType.BOOL */
870
+ },
871
+ { no: 4, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) },
872
+ {
873
+ no: 5,
874
+ name: "width",
875
+ kind: "scalar",
876
+ T: 13
877
+ /* ScalarType.UINT32 */
878
+ },
879
+ {
880
+ no: 6,
881
+ name: "height",
882
+ kind: "scalar",
883
+ T: 13
884
+ /* ScalarType.UINT32 */
885
+ },
886
+ {
887
+ no: 7,
888
+ name: "fps",
889
+ kind: "scalar",
890
+ T: 13
891
+ /* ScalarType.UINT32 */
892
+ },
893
+ {
894
+ no: 8,
895
+ name: "priority",
896
+ kind: "scalar",
897
+ T: 13
898
+ /* ScalarType.UINT32 */
899
+ }
900
+ ]);
901
+ let UpdateTrackSettings = _UpdateTrackSettings;
902
+ const _UpdateLocalAudioTrack = class _UpdateLocalAudioTrack extends Message {
903
+ constructor(data) {
904
+ super();
905
+ /**
906
+ * @generated from field: string track_sid = 1;
907
+ */
908
+ this.trackSid = "";
909
+ /**
910
+ * @generated from field: repeated livekit.AudioTrackFeature features = 2;
911
+ */
912
+ this.features = [];
913
+ proto3.util.initPartial(data, this);
914
+ }
915
+ static fromBinary(bytes, options) {
916
+ return new _UpdateLocalAudioTrack().fromBinary(bytes, options);
917
+ }
918
+ static fromJson(jsonValue, options) {
919
+ return new _UpdateLocalAudioTrack().fromJson(jsonValue, options);
920
+ }
921
+ static fromJsonString(jsonString, options) {
922
+ return new _UpdateLocalAudioTrack().fromJsonString(jsonString, options);
923
+ }
924
+ static equals(a, b) {
925
+ return proto3.util.equals(_UpdateLocalAudioTrack, a, b);
926
+ }
927
+ };
928
+ _UpdateLocalAudioTrack.runtime = proto3;
929
+ _UpdateLocalAudioTrack.typeName = "livekit.UpdateLocalAudioTrack";
930
+ _UpdateLocalAudioTrack.fields = proto3.util.newFieldList(() => [
931
+ {
932
+ no: 1,
933
+ name: "track_sid",
934
+ kind: "scalar",
935
+ T: 9
936
+ /* ScalarType.STRING */
937
+ },
938
+ { no: 2, name: "features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true }
939
+ ]);
940
+ let UpdateLocalAudioTrack = _UpdateLocalAudioTrack;
941
+ const _UpdateLocalVideoTrack = class _UpdateLocalVideoTrack extends Message {
942
+ constructor(data) {
943
+ super();
944
+ /**
945
+ * @generated from field: string track_sid = 1;
946
+ */
947
+ this.trackSid = "";
948
+ /**
949
+ * @generated from field: uint32 width = 2;
950
+ */
951
+ this.width = 0;
952
+ /**
953
+ * @generated from field: uint32 height = 3;
954
+ */
955
+ this.height = 0;
956
+ proto3.util.initPartial(data, this);
957
+ }
958
+ static fromBinary(bytes, options) {
959
+ return new _UpdateLocalVideoTrack().fromBinary(bytes, options);
960
+ }
961
+ static fromJson(jsonValue, options) {
962
+ return new _UpdateLocalVideoTrack().fromJson(jsonValue, options);
963
+ }
964
+ static fromJsonString(jsonString, options) {
965
+ return new _UpdateLocalVideoTrack().fromJsonString(jsonString, options);
966
+ }
967
+ static equals(a, b) {
968
+ return proto3.util.equals(_UpdateLocalVideoTrack, a, b);
969
+ }
970
+ };
971
+ _UpdateLocalVideoTrack.runtime = proto3;
972
+ _UpdateLocalVideoTrack.typeName = "livekit.UpdateLocalVideoTrack";
973
+ _UpdateLocalVideoTrack.fields = proto3.util.newFieldList(() => [
974
+ {
975
+ no: 1,
976
+ name: "track_sid",
977
+ kind: "scalar",
978
+ T: 9
979
+ /* ScalarType.STRING */
980
+ },
981
+ {
982
+ no: 2,
983
+ name: "width",
984
+ kind: "scalar",
985
+ T: 13
986
+ /* ScalarType.UINT32 */
987
+ },
988
+ {
989
+ no: 3,
990
+ name: "height",
991
+ kind: "scalar",
992
+ T: 13
993
+ /* ScalarType.UINT32 */
994
+ }
995
+ ]);
996
+ let UpdateLocalVideoTrack = _UpdateLocalVideoTrack;
997
+ const _LeaveRequest = class _LeaveRequest extends Message {
998
+ constructor(data) {
999
+ super();
1000
+ /**
1001
+ * sent when server initiates the disconnect due to server-restart
1002
+ * indicates clients should attempt full-reconnect sequence
1003
+ * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13
1004
+ *
1005
+ * @generated from field: bool can_reconnect = 1;
1006
+ */
1007
+ this.canReconnect = false;
1008
+ /**
1009
+ * @generated from field: livekit.DisconnectReason reason = 2;
1010
+ */
1011
+ this.reason = DisconnectReason.UNKNOWN_REASON;
1012
+ /**
1013
+ * @generated from field: livekit.LeaveRequest.Action action = 3;
1014
+ */
1015
+ this.action = 0 /* DISCONNECT */;
1016
+ proto3.util.initPartial(data, this);
1017
+ }
1018
+ static fromBinary(bytes, options) {
1019
+ return new _LeaveRequest().fromBinary(bytes, options);
1020
+ }
1021
+ static fromJson(jsonValue, options) {
1022
+ return new _LeaveRequest().fromJson(jsonValue, options);
1023
+ }
1024
+ static fromJsonString(jsonString, options) {
1025
+ return new _LeaveRequest().fromJsonString(jsonString, options);
1026
+ }
1027
+ static equals(a, b) {
1028
+ return proto3.util.equals(_LeaveRequest, a, b);
1029
+ }
1030
+ };
1031
+ _LeaveRequest.runtime = proto3;
1032
+ _LeaveRequest.typeName = "livekit.LeaveRequest";
1033
+ _LeaveRequest.fields = proto3.util.newFieldList(() => [
1034
+ {
1035
+ no: 1,
1036
+ name: "can_reconnect",
1037
+ kind: "scalar",
1038
+ T: 8
1039
+ /* ScalarType.BOOL */
1040
+ },
1041
+ { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
1042
+ { no: 3, name: "action", kind: "enum", T: proto3.getEnumType(LeaveRequest_Action) },
1043
+ { no: 4, name: "regions", kind: "message", T: RegionSettings }
1044
+ ]);
1045
+ let LeaveRequest = _LeaveRequest;
1046
+ var LeaveRequest_Action = /* @__PURE__ */ ((LeaveRequest_Action2) => {
1047
+ LeaveRequest_Action2[LeaveRequest_Action2["DISCONNECT"] = 0] = "DISCONNECT";
1048
+ LeaveRequest_Action2[LeaveRequest_Action2["RESUME"] = 1] = "RESUME";
1049
+ LeaveRequest_Action2[LeaveRequest_Action2["RECONNECT"] = 2] = "RECONNECT";
1050
+ return LeaveRequest_Action2;
1051
+ })(LeaveRequest_Action || {});
1052
+ proto3.util.setEnumType(LeaveRequest_Action, "livekit.LeaveRequest.Action", [
1053
+ { no: 0, name: "DISCONNECT" },
1054
+ { no: 1, name: "RESUME" },
1055
+ { no: 2, name: "RECONNECT" }
1056
+ ]);
1057
+ const _UpdateVideoLayers = class _UpdateVideoLayers extends Message {
1058
+ constructor(data) {
1059
+ super();
1060
+ /**
1061
+ * @generated from field: string track_sid = 1;
1062
+ */
1063
+ this.trackSid = "";
1064
+ /**
1065
+ * @generated from field: repeated livekit.VideoLayer layers = 2;
1066
+ */
1067
+ this.layers = [];
1068
+ proto3.util.initPartial(data, this);
1069
+ }
1070
+ static fromBinary(bytes, options) {
1071
+ return new _UpdateVideoLayers().fromBinary(bytes, options);
1072
+ }
1073
+ static fromJson(jsonValue, options) {
1074
+ return new _UpdateVideoLayers().fromJson(jsonValue, options);
1075
+ }
1076
+ static fromJsonString(jsonString, options) {
1077
+ return new _UpdateVideoLayers().fromJsonString(jsonString, options);
1078
+ }
1079
+ static equals(a, b) {
1080
+ return proto3.util.equals(_UpdateVideoLayers, a, b);
1081
+ }
1082
+ };
1083
+ _UpdateVideoLayers.runtime = proto3;
1084
+ _UpdateVideoLayers.typeName = "livekit.UpdateVideoLayers";
1085
+ _UpdateVideoLayers.fields = proto3.util.newFieldList(() => [
1086
+ {
1087
+ no: 1,
1088
+ name: "track_sid",
1089
+ kind: "scalar",
1090
+ T: 9
1091
+ /* ScalarType.STRING */
1092
+ },
1093
+ { no: 2, name: "layers", kind: "message", T: VideoLayer, repeated: true }
1094
+ ]);
1095
+ let UpdateVideoLayers = _UpdateVideoLayers;
1096
+ const _UpdateParticipantMetadata = class _UpdateParticipantMetadata extends Message {
1097
+ constructor(data) {
1098
+ super();
1099
+ /**
1100
+ * @generated from field: string metadata = 1;
1101
+ */
1102
+ this.metadata = "";
1103
+ /**
1104
+ * @generated from field: string name = 2;
1105
+ */
1106
+ this.name = "";
1107
+ /**
1108
+ * attributes to update. it only updates attributes that have been set
1109
+ * to delete attributes, set the value to an empty string
1110
+ *
1111
+ * @generated from field: map<string, string> attributes = 3;
1112
+ */
1113
+ this.attributes = {};
1114
+ /**
1115
+ * @generated from field: uint32 request_id = 4;
1116
+ */
1117
+ this.requestId = 0;
1118
+ proto3.util.initPartial(data, this);
1119
+ }
1120
+ static fromBinary(bytes, options) {
1121
+ return new _UpdateParticipantMetadata().fromBinary(bytes, options);
1122
+ }
1123
+ static fromJson(jsonValue, options) {
1124
+ return new _UpdateParticipantMetadata().fromJson(jsonValue, options);
1125
+ }
1126
+ static fromJsonString(jsonString, options) {
1127
+ return new _UpdateParticipantMetadata().fromJsonString(jsonString, options);
1128
+ }
1129
+ static equals(a, b) {
1130
+ return proto3.util.equals(_UpdateParticipantMetadata, a, b);
1131
+ }
1132
+ };
1133
+ _UpdateParticipantMetadata.runtime = proto3;
1134
+ _UpdateParticipantMetadata.typeName = "livekit.UpdateParticipantMetadata";
1135
+ _UpdateParticipantMetadata.fields = proto3.util.newFieldList(() => [
1136
+ {
1137
+ no: 1,
1138
+ name: "metadata",
1139
+ kind: "scalar",
1140
+ T: 9
1141
+ /* ScalarType.STRING */
1142
+ },
1143
+ {
1144
+ no: 2,
1145
+ name: "name",
1146
+ kind: "scalar",
1147
+ T: 9
1148
+ /* ScalarType.STRING */
1149
+ },
1150
+ { no: 3, name: "attributes", kind: "map", K: 9, V: {
1151
+ kind: "scalar",
1152
+ T: 9
1153
+ /* ScalarType.STRING */
1154
+ } },
1155
+ {
1156
+ no: 4,
1157
+ name: "request_id",
1158
+ kind: "scalar",
1159
+ T: 13
1160
+ /* ScalarType.UINT32 */
1161
+ }
1162
+ ]);
1163
+ let UpdateParticipantMetadata = _UpdateParticipantMetadata;
1164
+ const _ICEServer = class _ICEServer extends Message {
1165
+ constructor(data) {
1166
+ super();
1167
+ /**
1168
+ * @generated from field: repeated string urls = 1;
1169
+ */
1170
+ this.urls = [];
1171
+ /**
1172
+ * @generated from field: string username = 2;
1173
+ */
1174
+ this.username = "";
1175
+ /**
1176
+ * @generated from field: string credential = 3;
1177
+ */
1178
+ this.credential = "";
1179
+ proto3.util.initPartial(data, this);
1180
+ }
1181
+ static fromBinary(bytes, options) {
1182
+ return new _ICEServer().fromBinary(bytes, options);
1183
+ }
1184
+ static fromJson(jsonValue, options) {
1185
+ return new _ICEServer().fromJson(jsonValue, options);
1186
+ }
1187
+ static fromJsonString(jsonString, options) {
1188
+ return new _ICEServer().fromJsonString(jsonString, options);
1189
+ }
1190
+ static equals(a, b) {
1191
+ return proto3.util.equals(_ICEServer, a, b);
1192
+ }
1193
+ };
1194
+ _ICEServer.runtime = proto3;
1195
+ _ICEServer.typeName = "livekit.ICEServer";
1196
+ _ICEServer.fields = proto3.util.newFieldList(() => [
1197
+ { no: 1, name: "urls", kind: "scalar", T: 9, repeated: true },
1198
+ {
1199
+ no: 2,
1200
+ name: "username",
1201
+ kind: "scalar",
1202
+ T: 9
1203
+ /* ScalarType.STRING */
1204
+ },
1205
+ {
1206
+ no: 3,
1207
+ name: "credential",
1208
+ kind: "scalar",
1209
+ T: 9
1210
+ /* ScalarType.STRING */
1211
+ }
1212
+ ]);
1213
+ let ICEServer = _ICEServer;
1214
+ const _SpeakersChanged = class _SpeakersChanged extends Message {
1215
+ constructor(data) {
1216
+ super();
1217
+ /**
1218
+ * @generated from field: repeated livekit.SpeakerInfo speakers = 1;
1219
+ */
1220
+ this.speakers = [];
1221
+ proto3.util.initPartial(data, this);
1222
+ }
1223
+ static fromBinary(bytes, options) {
1224
+ return new _SpeakersChanged().fromBinary(bytes, options);
1225
+ }
1226
+ static fromJson(jsonValue, options) {
1227
+ return new _SpeakersChanged().fromJson(jsonValue, options);
1228
+ }
1229
+ static fromJsonString(jsonString, options) {
1230
+ return new _SpeakersChanged().fromJsonString(jsonString, options);
1231
+ }
1232
+ static equals(a, b) {
1233
+ return proto3.util.equals(_SpeakersChanged, a, b);
1234
+ }
1235
+ };
1236
+ _SpeakersChanged.runtime = proto3;
1237
+ _SpeakersChanged.typeName = "livekit.SpeakersChanged";
1238
+ _SpeakersChanged.fields = proto3.util.newFieldList(() => [
1239
+ { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true }
1240
+ ]);
1241
+ let SpeakersChanged = _SpeakersChanged;
1242
+ const _RoomUpdate = class _RoomUpdate extends Message {
1243
+ constructor(data) {
1244
+ super();
1245
+ proto3.util.initPartial(data, this);
1246
+ }
1247
+ static fromBinary(bytes, options) {
1248
+ return new _RoomUpdate().fromBinary(bytes, options);
1249
+ }
1250
+ static fromJson(jsonValue, options) {
1251
+ return new _RoomUpdate().fromJson(jsonValue, options);
1252
+ }
1253
+ static fromJsonString(jsonString, options) {
1254
+ return new _RoomUpdate().fromJsonString(jsonString, options);
1255
+ }
1256
+ static equals(a, b) {
1257
+ return proto3.util.equals(_RoomUpdate, a, b);
1258
+ }
1259
+ };
1260
+ _RoomUpdate.runtime = proto3;
1261
+ _RoomUpdate.typeName = "livekit.RoomUpdate";
1262
+ _RoomUpdate.fields = proto3.util.newFieldList(() => [
1263
+ { no: 1, name: "room", kind: "message", T: Room }
1264
+ ]);
1265
+ let RoomUpdate = _RoomUpdate;
1266
+ const _ConnectionQualityInfo = class _ConnectionQualityInfo extends Message {
1267
+ constructor(data) {
1268
+ super();
1269
+ /**
1270
+ * @generated from field: string participant_sid = 1;
1271
+ */
1272
+ this.participantSid = "";
1273
+ /**
1274
+ * @generated from field: livekit.ConnectionQuality quality = 2;
1275
+ */
1276
+ this.quality = ConnectionQuality.POOR;
1277
+ /**
1278
+ * @generated from field: float score = 3;
1279
+ */
1280
+ this.score = 0;
1281
+ proto3.util.initPartial(data, this);
1282
+ }
1283
+ static fromBinary(bytes, options) {
1284
+ return new _ConnectionQualityInfo().fromBinary(bytes, options);
1285
+ }
1286
+ static fromJson(jsonValue, options) {
1287
+ return new _ConnectionQualityInfo().fromJson(jsonValue, options);
1288
+ }
1289
+ static fromJsonString(jsonString, options) {
1290
+ return new _ConnectionQualityInfo().fromJsonString(jsonString, options);
1291
+ }
1292
+ static equals(a, b) {
1293
+ return proto3.util.equals(_ConnectionQualityInfo, a, b);
1294
+ }
1295
+ };
1296
+ _ConnectionQualityInfo.runtime = proto3;
1297
+ _ConnectionQualityInfo.typeName = "livekit.ConnectionQualityInfo";
1298
+ _ConnectionQualityInfo.fields = proto3.util.newFieldList(() => [
1299
+ {
1300
+ no: 1,
1301
+ name: "participant_sid",
1302
+ kind: "scalar",
1303
+ T: 9
1304
+ /* ScalarType.STRING */
1305
+ },
1306
+ { no: 2, name: "quality", kind: "enum", T: proto3.getEnumType(ConnectionQuality) },
1307
+ {
1308
+ no: 3,
1309
+ name: "score",
1310
+ kind: "scalar",
1311
+ T: 2
1312
+ /* ScalarType.FLOAT */
1313
+ }
1314
+ ]);
1315
+ let ConnectionQualityInfo = _ConnectionQualityInfo;
1316
+ const _ConnectionQualityUpdate = class _ConnectionQualityUpdate extends Message {
1317
+ constructor(data) {
1318
+ super();
1319
+ /**
1320
+ * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1;
1321
+ */
1322
+ this.updates = [];
1323
+ proto3.util.initPartial(data, this);
1324
+ }
1325
+ static fromBinary(bytes, options) {
1326
+ return new _ConnectionQualityUpdate().fromBinary(bytes, options);
1327
+ }
1328
+ static fromJson(jsonValue, options) {
1329
+ return new _ConnectionQualityUpdate().fromJson(jsonValue, options);
1330
+ }
1331
+ static fromJsonString(jsonString, options) {
1332
+ return new _ConnectionQualityUpdate().fromJsonString(jsonString, options);
1333
+ }
1334
+ static equals(a, b) {
1335
+ return proto3.util.equals(_ConnectionQualityUpdate, a, b);
1336
+ }
1337
+ };
1338
+ _ConnectionQualityUpdate.runtime = proto3;
1339
+ _ConnectionQualityUpdate.typeName = "livekit.ConnectionQualityUpdate";
1340
+ _ConnectionQualityUpdate.fields = proto3.util.newFieldList(() => [
1341
+ { no: 1, name: "updates", kind: "message", T: ConnectionQualityInfo, repeated: true }
1342
+ ]);
1343
+ let ConnectionQualityUpdate = _ConnectionQualityUpdate;
1344
+ const _StreamStateInfo = class _StreamStateInfo extends Message {
1345
+ constructor(data) {
1346
+ super();
1347
+ /**
1348
+ * @generated from field: string participant_sid = 1;
1349
+ */
1350
+ this.participantSid = "";
1351
+ /**
1352
+ * @generated from field: string track_sid = 2;
1353
+ */
1354
+ this.trackSid = "";
1355
+ /**
1356
+ * @generated from field: livekit.StreamState state = 3;
1357
+ */
1358
+ this.state = 0 /* ACTIVE */;
1359
+ proto3.util.initPartial(data, this);
1360
+ }
1361
+ static fromBinary(bytes, options) {
1362
+ return new _StreamStateInfo().fromBinary(bytes, options);
1363
+ }
1364
+ static fromJson(jsonValue, options) {
1365
+ return new _StreamStateInfo().fromJson(jsonValue, options);
1366
+ }
1367
+ static fromJsonString(jsonString, options) {
1368
+ return new _StreamStateInfo().fromJsonString(jsonString, options);
1369
+ }
1370
+ static equals(a, b) {
1371
+ return proto3.util.equals(_StreamStateInfo, a, b);
1372
+ }
1373
+ };
1374
+ _StreamStateInfo.runtime = proto3;
1375
+ _StreamStateInfo.typeName = "livekit.StreamStateInfo";
1376
+ _StreamStateInfo.fields = proto3.util.newFieldList(() => [
1377
+ {
1378
+ no: 1,
1379
+ name: "participant_sid",
1380
+ kind: "scalar",
1381
+ T: 9
1382
+ /* ScalarType.STRING */
1383
+ },
1384
+ {
1385
+ no: 2,
1386
+ name: "track_sid",
1387
+ kind: "scalar",
1388
+ T: 9
1389
+ /* ScalarType.STRING */
1390
+ },
1391
+ { no: 3, name: "state", kind: "enum", T: proto3.getEnumType(StreamState) }
1392
+ ]);
1393
+ let StreamStateInfo = _StreamStateInfo;
1394
+ const _StreamStateUpdate = class _StreamStateUpdate extends Message {
1395
+ constructor(data) {
1396
+ super();
1397
+ /**
1398
+ * @generated from field: repeated livekit.StreamStateInfo stream_states = 1;
1399
+ */
1400
+ this.streamStates = [];
1401
+ proto3.util.initPartial(data, this);
1402
+ }
1403
+ static fromBinary(bytes, options) {
1404
+ return new _StreamStateUpdate().fromBinary(bytes, options);
1405
+ }
1406
+ static fromJson(jsonValue, options) {
1407
+ return new _StreamStateUpdate().fromJson(jsonValue, options);
1408
+ }
1409
+ static fromJsonString(jsonString, options) {
1410
+ return new _StreamStateUpdate().fromJsonString(jsonString, options);
1411
+ }
1412
+ static equals(a, b) {
1413
+ return proto3.util.equals(_StreamStateUpdate, a, b);
1414
+ }
1415
+ };
1416
+ _StreamStateUpdate.runtime = proto3;
1417
+ _StreamStateUpdate.typeName = "livekit.StreamStateUpdate";
1418
+ _StreamStateUpdate.fields = proto3.util.newFieldList(() => [
1419
+ { no: 1, name: "stream_states", kind: "message", T: StreamStateInfo, repeated: true }
1420
+ ]);
1421
+ let StreamStateUpdate = _StreamStateUpdate;
1422
+ const _SubscribedQuality = class _SubscribedQuality extends Message {
1423
+ constructor(data) {
1424
+ super();
1425
+ /**
1426
+ * @generated from field: livekit.VideoQuality quality = 1;
1427
+ */
1428
+ this.quality = VideoQuality.LOW;
1429
+ /**
1430
+ * @generated from field: bool enabled = 2;
1431
+ */
1432
+ this.enabled = false;
1433
+ proto3.util.initPartial(data, this);
1434
+ }
1435
+ static fromBinary(bytes, options) {
1436
+ return new _SubscribedQuality().fromBinary(bytes, options);
1437
+ }
1438
+ static fromJson(jsonValue, options) {
1439
+ return new _SubscribedQuality().fromJson(jsonValue, options);
1440
+ }
1441
+ static fromJsonString(jsonString, options) {
1442
+ return new _SubscribedQuality().fromJsonString(jsonString, options);
1443
+ }
1444
+ static equals(a, b) {
1445
+ return proto3.util.equals(_SubscribedQuality, a, b);
1446
+ }
1447
+ };
1448
+ _SubscribedQuality.runtime = proto3;
1449
+ _SubscribedQuality.typeName = "livekit.SubscribedQuality";
1450
+ _SubscribedQuality.fields = proto3.util.newFieldList(() => [
1451
+ { no: 1, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) },
1452
+ {
1453
+ no: 2,
1454
+ name: "enabled",
1455
+ kind: "scalar",
1456
+ T: 8
1457
+ /* ScalarType.BOOL */
1458
+ }
1459
+ ]);
1460
+ let SubscribedQuality = _SubscribedQuality;
1461
+ const _SubscribedCodec = class _SubscribedCodec extends Message {
1462
+ constructor(data) {
1463
+ super();
1464
+ /**
1465
+ * @generated from field: string codec = 1;
1466
+ */
1467
+ this.codec = "";
1468
+ /**
1469
+ * @generated from field: repeated livekit.SubscribedQuality qualities = 2;
1470
+ */
1471
+ this.qualities = [];
1472
+ proto3.util.initPartial(data, this);
1473
+ }
1474
+ static fromBinary(bytes, options) {
1475
+ return new _SubscribedCodec().fromBinary(bytes, options);
1476
+ }
1477
+ static fromJson(jsonValue, options) {
1478
+ return new _SubscribedCodec().fromJson(jsonValue, options);
1479
+ }
1480
+ static fromJsonString(jsonString, options) {
1481
+ return new _SubscribedCodec().fromJsonString(jsonString, options);
1482
+ }
1483
+ static equals(a, b) {
1484
+ return proto3.util.equals(_SubscribedCodec, a, b);
1485
+ }
1486
+ };
1487
+ _SubscribedCodec.runtime = proto3;
1488
+ _SubscribedCodec.typeName = "livekit.SubscribedCodec";
1489
+ _SubscribedCodec.fields = proto3.util.newFieldList(() => [
1490
+ {
1491
+ no: 1,
1492
+ name: "codec",
1493
+ kind: "scalar",
1494
+ T: 9
1495
+ /* ScalarType.STRING */
1496
+ },
1497
+ { no: 2, name: "qualities", kind: "message", T: SubscribedQuality, repeated: true }
1498
+ ]);
1499
+ let SubscribedCodec = _SubscribedCodec;
1500
+ const _SubscribedQualityUpdate = class _SubscribedQualityUpdate extends Message {
1501
+ constructor(data) {
1502
+ super();
1503
+ /**
1504
+ * @generated from field: string track_sid = 1;
1505
+ */
1506
+ this.trackSid = "";
1507
+ /**
1508
+ * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2;
1509
+ */
1510
+ this.subscribedQualities = [];
1511
+ /**
1512
+ * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3;
1513
+ */
1514
+ this.subscribedCodecs = [];
1515
+ proto3.util.initPartial(data, this);
1516
+ }
1517
+ static fromBinary(bytes, options) {
1518
+ return new _SubscribedQualityUpdate().fromBinary(bytes, options);
1519
+ }
1520
+ static fromJson(jsonValue, options) {
1521
+ return new _SubscribedQualityUpdate().fromJson(jsonValue, options);
1522
+ }
1523
+ static fromJsonString(jsonString, options) {
1524
+ return new _SubscribedQualityUpdate().fromJsonString(jsonString, options);
1525
+ }
1526
+ static equals(a, b) {
1527
+ return proto3.util.equals(_SubscribedQualityUpdate, a, b);
1528
+ }
1529
+ };
1530
+ _SubscribedQualityUpdate.runtime = proto3;
1531
+ _SubscribedQualityUpdate.typeName = "livekit.SubscribedQualityUpdate";
1532
+ _SubscribedQualityUpdate.fields = proto3.util.newFieldList(() => [
1533
+ {
1534
+ no: 1,
1535
+ name: "track_sid",
1536
+ kind: "scalar",
1537
+ T: 9
1538
+ /* ScalarType.STRING */
1539
+ },
1540
+ { no: 2, name: "subscribed_qualities", kind: "message", T: SubscribedQuality, repeated: true },
1541
+ { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true }
1542
+ ]);
1543
+ let SubscribedQualityUpdate = _SubscribedQualityUpdate;
1544
+ const _TrackPermission = class _TrackPermission extends Message {
1545
+ constructor(data) {
1546
+ super();
1547
+ /**
1548
+ * permission could be granted either by participant sid or identity
1549
+ *
1550
+ * @generated from field: string participant_sid = 1;
1551
+ */
1552
+ this.participantSid = "";
1553
+ /**
1554
+ * @generated from field: bool all_tracks = 2;
1555
+ */
1556
+ this.allTracks = false;
1557
+ /**
1558
+ * @generated from field: repeated string track_sids = 3;
1559
+ */
1560
+ this.trackSids = [];
1561
+ /**
1562
+ * @generated from field: string participant_identity = 4;
1563
+ */
1564
+ this.participantIdentity = "";
1565
+ proto3.util.initPartial(data, this);
1566
+ }
1567
+ static fromBinary(bytes, options) {
1568
+ return new _TrackPermission().fromBinary(bytes, options);
1569
+ }
1570
+ static fromJson(jsonValue, options) {
1571
+ return new _TrackPermission().fromJson(jsonValue, options);
1572
+ }
1573
+ static fromJsonString(jsonString, options) {
1574
+ return new _TrackPermission().fromJsonString(jsonString, options);
1575
+ }
1576
+ static equals(a, b) {
1577
+ return proto3.util.equals(_TrackPermission, a, b);
1578
+ }
1579
+ };
1580
+ _TrackPermission.runtime = proto3;
1581
+ _TrackPermission.typeName = "livekit.TrackPermission";
1582
+ _TrackPermission.fields = proto3.util.newFieldList(() => [
1583
+ {
1584
+ no: 1,
1585
+ name: "participant_sid",
1586
+ kind: "scalar",
1587
+ T: 9
1588
+ /* ScalarType.STRING */
1589
+ },
1590
+ {
1591
+ no: 2,
1592
+ name: "all_tracks",
1593
+ kind: "scalar",
1594
+ T: 8
1595
+ /* ScalarType.BOOL */
1596
+ },
1597
+ { no: 3, name: "track_sids", kind: "scalar", T: 9, repeated: true },
1598
+ {
1599
+ no: 4,
1600
+ name: "participant_identity",
1601
+ kind: "scalar",
1602
+ T: 9
1603
+ /* ScalarType.STRING */
1604
+ }
1605
+ ]);
1606
+ let TrackPermission = _TrackPermission;
1607
+ const _SubscriptionPermission = class _SubscriptionPermission extends Message {
1608
+ constructor(data) {
1609
+ super();
1610
+ /**
1611
+ * @generated from field: bool all_participants = 1;
1612
+ */
1613
+ this.allParticipants = false;
1614
+ /**
1615
+ * @generated from field: repeated livekit.TrackPermission track_permissions = 2;
1616
+ */
1617
+ this.trackPermissions = [];
1618
+ proto3.util.initPartial(data, this);
1619
+ }
1620
+ static fromBinary(bytes, options) {
1621
+ return new _SubscriptionPermission().fromBinary(bytes, options);
1622
+ }
1623
+ static fromJson(jsonValue, options) {
1624
+ return new _SubscriptionPermission().fromJson(jsonValue, options);
1625
+ }
1626
+ static fromJsonString(jsonString, options) {
1627
+ return new _SubscriptionPermission().fromJsonString(jsonString, options);
1628
+ }
1629
+ static equals(a, b) {
1630
+ return proto3.util.equals(_SubscriptionPermission, a, b);
1631
+ }
1632
+ };
1633
+ _SubscriptionPermission.runtime = proto3;
1634
+ _SubscriptionPermission.typeName = "livekit.SubscriptionPermission";
1635
+ _SubscriptionPermission.fields = proto3.util.newFieldList(() => [
1636
+ {
1637
+ no: 1,
1638
+ name: "all_participants",
1639
+ kind: "scalar",
1640
+ T: 8
1641
+ /* ScalarType.BOOL */
1642
+ },
1643
+ { no: 2, name: "track_permissions", kind: "message", T: TrackPermission, repeated: true }
1644
+ ]);
1645
+ let SubscriptionPermission = _SubscriptionPermission;
1646
+ const _SubscriptionPermissionUpdate = class _SubscriptionPermissionUpdate extends Message {
1647
+ constructor(data) {
1648
+ super();
1649
+ /**
1650
+ * @generated from field: string participant_sid = 1;
1651
+ */
1652
+ this.participantSid = "";
1653
+ /**
1654
+ * @generated from field: string track_sid = 2;
1655
+ */
1656
+ this.trackSid = "";
1657
+ /**
1658
+ * @generated from field: bool allowed = 3;
1659
+ */
1660
+ this.allowed = false;
1661
+ proto3.util.initPartial(data, this);
1662
+ }
1663
+ static fromBinary(bytes, options) {
1664
+ return new _SubscriptionPermissionUpdate().fromBinary(bytes, options);
1665
+ }
1666
+ static fromJson(jsonValue, options) {
1667
+ return new _SubscriptionPermissionUpdate().fromJson(jsonValue, options);
1668
+ }
1669
+ static fromJsonString(jsonString, options) {
1670
+ return new _SubscriptionPermissionUpdate().fromJsonString(jsonString, options);
1671
+ }
1672
+ static equals(a, b) {
1673
+ return proto3.util.equals(_SubscriptionPermissionUpdate, a, b);
1674
+ }
1675
+ };
1676
+ _SubscriptionPermissionUpdate.runtime = proto3;
1677
+ _SubscriptionPermissionUpdate.typeName = "livekit.SubscriptionPermissionUpdate";
1678
+ _SubscriptionPermissionUpdate.fields = proto3.util.newFieldList(() => [
1679
+ {
1680
+ no: 1,
1681
+ name: "participant_sid",
1682
+ kind: "scalar",
1683
+ T: 9
1684
+ /* ScalarType.STRING */
1685
+ },
1686
+ {
1687
+ no: 2,
1688
+ name: "track_sid",
1689
+ kind: "scalar",
1690
+ T: 9
1691
+ /* ScalarType.STRING */
1692
+ },
1693
+ {
1694
+ no: 3,
1695
+ name: "allowed",
1696
+ kind: "scalar",
1697
+ T: 8
1698
+ /* ScalarType.BOOL */
1699
+ }
1700
+ ]);
1701
+ let SubscriptionPermissionUpdate = _SubscriptionPermissionUpdate;
1702
+ const _SyncState = class _SyncState extends Message {
1703
+ constructor(data) {
1704
+ super();
1705
+ /**
1706
+ * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3;
1707
+ */
1708
+ this.publishTracks = [];
1709
+ /**
1710
+ * @generated from field: repeated livekit.DataChannelInfo data_channels = 4;
1711
+ */
1712
+ this.dataChannels = [];
1713
+ /**
1714
+ * @generated from field: repeated string track_sids_disabled = 6;
1715
+ */
1716
+ this.trackSidsDisabled = [];
1717
+ proto3.util.initPartial(data, this);
1718
+ }
1719
+ static fromBinary(bytes, options) {
1720
+ return new _SyncState().fromBinary(bytes, options);
1721
+ }
1722
+ static fromJson(jsonValue, options) {
1723
+ return new _SyncState().fromJson(jsonValue, options);
1724
+ }
1725
+ static fromJsonString(jsonString, options) {
1726
+ return new _SyncState().fromJsonString(jsonString, options);
1727
+ }
1728
+ static equals(a, b) {
1729
+ return proto3.util.equals(_SyncState, a, b);
1730
+ }
1731
+ };
1732
+ _SyncState.runtime = proto3;
1733
+ _SyncState.typeName = "livekit.SyncState";
1734
+ _SyncState.fields = proto3.util.newFieldList(() => [
1735
+ { no: 1, name: "answer", kind: "message", T: SessionDescription },
1736
+ { no: 2, name: "subscription", kind: "message", T: UpdateSubscription },
1737
+ { no: 3, name: "publish_tracks", kind: "message", T: TrackPublishedResponse, repeated: true },
1738
+ { no: 4, name: "data_channels", kind: "message", T: DataChannelInfo, repeated: true },
1739
+ { no: 5, name: "offer", kind: "message", T: SessionDescription },
1740
+ { no: 6, name: "track_sids_disabled", kind: "scalar", T: 9, repeated: true }
1741
+ ]);
1742
+ let SyncState = _SyncState;
1743
+ const _DataChannelInfo = class _DataChannelInfo extends Message {
1744
+ constructor(data) {
1745
+ super();
1746
+ /**
1747
+ * @generated from field: string label = 1;
1748
+ */
1749
+ this.label = "";
1750
+ /**
1751
+ * @generated from field: uint32 id = 2;
1752
+ */
1753
+ this.id = 0;
1754
+ /**
1755
+ * @generated from field: livekit.SignalTarget target = 3;
1756
+ */
1757
+ this.target = 0 /* PUBLISHER */;
1758
+ proto3.util.initPartial(data, this);
1759
+ }
1760
+ static fromBinary(bytes, options) {
1761
+ return new _DataChannelInfo().fromBinary(bytes, options);
1762
+ }
1763
+ static fromJson(jsonValue, options) {
1764
+ return new _DataChannelInfo().fromJson(jsonValue, options);
1765
+ }
1766
+ static fromJsonString(jsonString, options) {
1767
+ return new _DataChannelInfo().fromJsonString(jsonString, options);
1768
+ }
1769
+ static equals(a, b) {
1770
+ return proto3.util.equals(_DataChannelInfo, a, b);
1771
+ }
1772
+ };
1773
+ _DataChannelInfo.runtime = proto3;
1774
+ _DataChannelInfo.typeName = "livekit.DataChannelInfo";
1775
+ _DataChannelInfo.fields = proto3.util.newFieldList(() => [
1776
+ {
1777
+ no: 1,
1778
+ name: "label",
1779
+ kind: "scalar",
1780
+ T: 9
1781
+ /* ScalarType.STRING */
1782
+ },
1783
+ {
1784
+ no: 2,
1785
+ name: "id",
1786
+ kind: "scalar",
1787
+ T: 13
1788
+ /* ScalarType.UINT32 */
1789
+ },
1790
+ { no: 3, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) }
1791
+ ]);
1792
+ let DataChannelInfo = _DataChannelInfo;
1793
+ const _SimulateScenario = class _SimulateScenario extends Message {
1794
+ constructor(data) {
1795
+ super();
1796
+ /**
1797
+ * @generated from oneof livekit.SimulateScenario.scenario
1798
+ */
1799
+ this.scenario = { case: void 0 };
1800
+ proto3.util.initPartial(data, this);
1801
+ }
1802
+ static fromBinary(bytes, options) {
1803
+ return new _SimulateScenario().fromBinary(bytes, options);
1804
+ }
1805
+ static fromJson(jsonValue, options) {
1806
+ return new _SimulateScenario().fromJson(jsonValue, options);
1807
+ }
1808
+ static fromJsonString(jsonString, options) {
1809
+ return new _SimulateScenario().fromJsonString(jsonString, options);
1810
+ }
1811
+ static equals(a, b) {
1812
+ return proto3.util.equals(_SimulateScenario, a, b);
1813
+ }
1814
+ };
1815
+ _SimulateScenario.runtime = proto3;
1816
+ _SimulateScenario.typeName = "livekit.SimulateScenario";
1817
+ _SimulateScenario.fields = proto3.util.newFieldList(() => [
1818
+ { no: 1, name: "speaker_update", kind: "scalar", T: 5, oneof: "scenario" },
1819
+ { no: 2, name: "node_failure", kind: "scalar", T: 8, oneof: "scenario" },
1820
+ { no: 3, name: "migration", kind: "scalar", T: 8, oneof: "scenario" },
1821
+ { no: 4, name: "server_leave", kind: "scalar", T: 8, oneof: "scenario" },
1822
+ { no: 5, name: "switch_candidate_protocol", kind: "enum", T: proto3.getEnumType(CandidateProtocol), oneof: "scenario" },
1823
+ { no: 6, name: "subscriber_bandwidth", kind: "scalar", T: 3, oneof: "scenario" },
1824
+ { no: 7, name: "disconnect_signal_on_resume", kind: "scalar", T: 8, oneof: "scenario" },
1825
+ { no: 8, name: "disconnect_signal_on_resume_no_messages", kind: "scalar", T: 8, oneof: "scenario" },
1826
+ { no: 9, name: "leave_request_full_reconnect", kind: "scalar", T: 8, oneof: "scenario" }
1827
+ ]);
1828
+ let SimulateScenario = _SimulateScenario;
1829
+ const _Ping = class _Ping extends Message {
1830
+ constructor(data) {
1831
+ super();
1832
+ /**
1833
+ * @generated from field: int64 timestamp = 1;
1834
+ */
1835
+ this.timestamp = protoInt64.zero;
1836
+ /**
1837
+ * rtt in milliseconds calculated by client
1838
+ *
1839
+ * @generated from field: int64 rtt = 2;
1840
+ */
1841
+ this.rtt = protoInt64.zero;
1842
+ proto3.util.initPartial(data, this);
1843
+ }
1844
+ static fromBinary(bytes, options) {
1845
+ return new _Ping().fromBinary(bytes, options);
1846
+ }
1847
+ static fromJson(jsonValue, options) {
1848
+ return new _Ping().fromJson(jsonValue, options);
1849
+ }
1850
+ static fromJsonString(jsonString, options) {
1851
+ return new _Ping().fromJsonString(jsonString, options);
1852
+ }
1853
+ static equals(a, b) {
1854
+ return proto3.util.equals(_Ping, a, b);
1855
+ }
1856
+ };
1857
+ _Ping.runtime = proto3;
1858
+ _Ping.typeName = "livekit.Ping";
1859
+ _Ping.fields = proto3.util.newFieldList(() => [
1860
+ {
1861
+ no: 1,
1862
+ name: "timestamp",
1863
+ kind: "scalar",
1864
+ T: 3
1865
+ /* ScalarType.INT64 */
1866
+ },
1867
+ {
1868
+ no: 2,
1869
+ name: "rtt",
1870
+ kind: "scalar",
1871
+ T: 3
1872
+ /* ScalarType.INT64 */
1873
+ }
1874
+ ]);
1875
+ let Ping = _Ping;
1876
+ const _Pong = class _Pong extends Message {
1877
+ constructor(data) {
1878
+ super();
1879
+ /**
1880
+ * timestamp field of last received ping request
1881
+ *
1882
+ * @generated from field: int64 last_ping_timestamp = 1;
1883
+ */
1884
+ this.lastPingTimestamp = protoInt64.zero;
1885
+ /**
1886
+ * @generated from field: int64 timestamp = 2;
1887
+ */
1888
+ this.timestamp = protoInt64.zero;
1889
+ proto3.util.initPartial(data, this);
1890
+ }
1891
+ static fromBinary(bytes, options) {
1892
+ return new _Pong().fromBinary(bytes, options);
1893
+ }
1894
+ static fromJson(jsonValue, options) {
1895
+ return new _Pong().fromJson(jsonValue, options);
1896
+ }
1897
+ static fromJsonString(jsonString, options) {
1898
+ return new _Pong().fromJsonString(jsonString, options);
1899
+ }
1900
+ static equals(a, b) {
1901
+ return proto3.util.equals(_Pong, a, b);
1902
+ }
1903
+ };
1904
+ _Pong.runtime = proto3;
1905
+ _Pong.typeName = "livekit.Pong";
1906
+ _Pong.fields = proto3.util.newFieldList(() => [
1907
+ {
1908
+ no: 1,
1909
+ name: "last_ping_timestamp",
1910
+ kind: "scalar",
1911
+ T: 3
1912
+ /* ScalarType.INT64 */
1913
+ },
1914
+ {
1915
+ no: 2,
1916
+ name: "timestamp",
1917
+ kind: "scalar",
1918
+ T: 3
1919
+ /* ScalarType.INT64 */
1920
+ }
1921
+ ]);
1922
+ let Pong = _Pong;
1923
+ const _RegionSettings = class _RegionSettings extends Message {
1924
+ constructor(data) {
1925
+ super();
1926
+ /**
1927
+ * @generated from field: repeated livekit.RegionInfo regions = 1;
1928
+ */
1929
+ this.regions = [];
1930
+ proto3.util.initPartial(data, this);
1931
+ }
1932
+ static fromBinary(bytes, options) {
1933
+ return new _RegionSettings().fromBinary(bytes, options);
1934
+ }
1935
+ static fromJson(jsonValue, options) {
1936
+ return new _RegionSettings().fromJson(jsonValue, options);
1937
+ }
1938
+ static fromJsonString(jsonString, options) {
1939
+ return new _RegionSettings().fromJsonString(jsonString, options);
1940
+ }
1941
+ static equals(a, b) {
1942
+ return proto3.util.equals(_RegionSettings, a, b);
1943
+ }
1944
+ };
1945
+ _RegionSettings.runtime = proto3;
1946
+ _RegionSettings.typeName = "livekit.RegionSettings";
1947
+ _RegionSettings.fields = proto3.util.newFieldList(() => [
1948
+ { no: 1, name: "regions", kind: "message", T: RegionInfo, repeated: true }
1949
+ ]);
1950
+ let RegionSettings = _RegionSettings;
1951
+ const _RegionInfo = class _RegionInfo extends Message {
1952
+ constructor(data) {
1953
+ super();
1954
+ /**
1955
+ * @generated from field: string region = 1;
1956
+ */
1957
+ this.region = "";
1958
+ /**
1959
+ * @generated from field: string url = 2;
1960
+ */
1961
+ this.url = "";
1962
+ /**
1963
+ * @generated from field: int64 distance = 3;
1964
+ */
1965
+ this.distance = protoInt64.zero;
1966
+ proto3.util.initPartial(data, this);
1967
+ }
1968
+ static fromBinary(bytes, options) {
1969
+ return new _RegionInfo().fromBinary(bytes, options);
1970
+ }
1971
+ static fromJson(jsonValue, options) {
1972
+ return new _RegionInfo().fromJson(jsonValue, options);
1973
+ }
1974
+ static fromJsonString(jsonString, options) {
1975
+ return new _RegionInfo().fromJsonString(jsonString, options);
1976
+ }
1977
+ static equals(a, b) {
1978
+ return proto3.util.equals(_RegionInfo, a, b);
1979
+ }
1980
+ };
1981
+ _RegionInfo.runtime = proto3;
1982
+ _RegionInfo.typeName = "livekit.RegionInfo";
1983
+ _RegionInfo.fields = proto3.util.newFieldList(() => [
1984
+ {
1985
+ no: 1,
1986
+ name: "region",
1987
+ kind: "scalar",
1988
+ T: 9
1989
+ /* ScalarType.STRING */
1990
+ },
1991
+ {
1992
+ no: 2,
1993
+ name: "url",
1994
+ kind: "scalar",
1995
+ T: 9
1996
+ /* ScalarType.STRING */
1997
+ },
1998
+ {
1999
+ no: 3,
2000
+ name: "distance",
2001
+ kind: "scalar",
2002
+ T: 3
2003
+ /* ScalarType.INT64 */
2004
+ }
2005
+ ]);
2006
+ let RegionInfo = _RegionInfo;
2007
+ const _SubscriptionResponse = class _SubscriptionResponse extends Message {
2008
+ constructor(data) {
2009
+ super();
2010
+ /**
2011
+ * @generated from field: string track_sid = 1;
2012
+ */
2013
+ this.trackSid = "";
2014
+ /**
2015
+ * @generated from field: livekit.SubscriptionError err = 2;
2016
+ */
2017
+ this.err = SubscriptionError.SE_UNKNOWN;
2018
+ proto3.util.initPartial(data, this);
2019
+ }
2020
+ static fromBinary(bytes, options) {
2021
+ return new _SubscriptionResponse().fromBinary(bytes, options);
2022
+ }
2023
+ static fromJson(jsonValue, options) {
2024
+ return new _SubscriptionResponse().fromJson(jsonValue, options);
2025
+ }
2026
+ static fromJsonString(jsonString, options) {
2027
+ return new _SubscriptionResponse().fromJsonString(jsonString, options);
2028
+ }
2029
+ static equals(a, b) {
2030
+ return proto3.util.equals(_SubscriptionResponse, a, b);
2031
+ }
2032
+ };
2033
+ _SubscriptionResponse.runtime = proto3;
2034
+ _SubscriptionResponse.typeName = "livekit.SubscriptionResponse";
2035
+ _SubscriptionResponse.fields = proto3.util.newFieldList(() => [
2036
+ {
2037
+ no: 1,
2038
+ name: "track_sid",
2039
+ kind: "scalar",
2040
+ T: 9
2041
+ /* ScalarType.STRING */
2042
+ },
2043
+ { no: 2, name: "err", kind: "enum", T: proto3.getEnumType(SubscriptionError) }
2044
+ ]);
2045
+ let SubscriptionResponse = _SubscriptionResponse;
2046
+ const _RequestResponse = class _RequestResponse extends Message {
2047
+ constructor(data) {
2048
+ super();
2049
+ /**
2050
+ * @generated from field: uint32 request_id = 1;
2051
+ */
2052
+ this.requestId = 0;
2053
+ /**
2054
+ * @generated from field: livekit.RequestResponse.Reason reason = 2;
2055
+ */
2056
+ this.reason = 0 /* OK */;
2057
+ /**
2058
+ * @generated from field: string message = 3;
2059
+ */
2060
+ this.message = "";
2061
+ proto3.util.initPartial(data, this);
2062
+ }
2063
+ static fromBinary(bytes, options) {
2064
+ return new _RequestResponse().fromBinary(bytes, options);
2065
+ }
2066
+ static fromJson(jsonValue, options) {
2067
+ return new _RequestResponse().fromJson(jsonValue, options);
2068
+ }
2069
+ static fromJsonString(jsonString, options) {
2070
+ return new _RequestResponse().fromJsonString(jsonString, options);
2071
+ }
2072
+ static equals(a, b) {
2073
+ return proto3.util.equals(_RequestResponse, a, b);
2074
+ }
2075
+ };
2076
+ _RequestResponse.runtime = proto3;
2077
+ _RequestResponse.typeName = "livekit.RequestResponse";
2078
+ _RequestResponse.fields = proto3.util.newFieldList(() => [
2079
+ {
2080
+ no: 1,
2081
+ name: "request_id",
2082
+ kind: "scalar",
2083
+ T: 13
2084
+ /* ScalarType.UINT32 */
2085
+ },
2086
+ { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(RequestResponse_Reason) },
2087
+ {
2088
+ no: 3,
2089
+ name: "message",
2090
+ kind: "scalar",
2091
+ T: 9
2092
+ /* ScalarType.STRING */
2093
+ }
2094
+ ]);
2095
+ let RequestResponse = _RequestResponse;
2096
+ var RequestResponse_Reason = /* @__PURE__ */ ((RequestResponse_Reason2) => {
2097
+ RequestResponse_Reason2[RequestResponse_Reason2["OK"] = 0] = "OK";
2098
+ RequestResponse_Reason2[RequestResponse_Reason2["NOT_FOUND"] = 1] = "NOT_FOUND";
2099
+ RequestResponse_Reason2[RequestResponse_Reason2["NOT_ALLOWED"] = 2] = "NOT_ALLOWED";
2100
+ RequestResponse_Reason2[RequestResponse_Reason2["LIMIT_EXCEEDED"] = 3] = "LIMIT_EXCEEDED";
2101
+ return RequestResponse_Reason2;
2102
+ })(RequestResponse_Reason || {});
2103
+ proto3.util.setEnumType(RequestResponse_Reason, "livekit.RequestResponse.Reason", [
2104
+ { no: 0, name: "OK" },
2105
+ { no: 1, name: "NOT_FOUND" },
2106
+ { no: 2, name: "NOT_ALLOWED" },
2107
+ { no: 3, name: "LIMIT_EXCEEDED" }
2108
+ ]);
2109
+ const _TrackSubscribed = class _TrackSubscribed extends Message {
2110
+ constructor(data) {
2111
+ super();
2112
+ /**
2113
+ * @generated from field: string track_sid = 1;
2114
+ */
2115
+ this.trackSid = "";
2116
+ proto3.util.initPartial(data, this);
2117
+ }
2118
+ static fromBinary(bytes, options) {
2119
+ return new _TrackSubscribed().fromBinary(bytes, options);
2120
+ }
2121
+ static fromJson(jsonValue, options) {
2122
+ return new _TrackSubscribed().fromJson(jsonValue, options);
2123
+ }
2124
+ static fromJsonString(jsonString, options) {
2125
+ return new _TrackSubscribed().fromJsonString(jsonString, options);
2126
+ }
2127
+ static equals(a, b) {
2128
+ return proto3.util.equals(_TrackSubscribed, a, b);
2129
+ }
2130
+ };
2131
+ _TrackSubscribed.runtime = proto3;
2132
+ _TrackSubscribed.typeName = "livekit.TrackSubscribed";
2133
+ _TrackSubscribed.fields = proto3.util.newFieldList(() => [
2134
+ {
2135
+ no: 1,
2136
+ name: "track_sid",
2137
+ kind: "scalar",
2138
+ T: 9
2139
+ /* ScalarType.STRING */
2140
+ }
2141
+ ]);
2142
+ let TrackSubscribed = _TrackSubscribed;
2143
+ export {
2144
+ AddTrackRequest,
2145
+ CandidateProtocol,
2146
+ ConnectionQualityInfo,
2147
+ ConnectionQualityUpdate,
2148
+ DataChannelInfo,
2149
+ ICEServer,
2150
+ JoinResponse,
2151
+ LeaveRequest,
2152
+ LeaveRequest_Action,
2153
+ MuteTrackRequest,
2154
+ ParticipantUpdate,
2155
+ Ping,
2156
+ Pong,
2157
+ ReconnectResponse,
2158
+ RegionInfo,
2159
+ RegionSettings,
2160
+ RequestResponse,
2161
+ RequestResponse_Reason,
2162
+ RoomUpdate,
2163
+ SessionDescription,
2164
+ SignalRequest,
2165
+ SignalResponse,
2166
+ SignalTarget,
2167
+ SimulateScenario,
2168
+ SimulcastCodec,
2169
+ SpeakersChanged,
2170
+ StreamState,
2171
+ StreamStateInfo,
2172
+ StreamStateUpdate,
2173
+ SubscribedCodec,
2174
+ SubscribedQuality,
2175
+ SubscribedQualityUpdate,
2176
+ SubscriptionPermission,
2177
+ SubscriptionPermissionUpdate,
2178
+ SubscriptionResponse,
2179
+ SyncState,
2180
+ TrackPermission,
2181
+ TrackPublishedResponse,
2182
+ TrackSubscribed,
2183
+ TrackUnpublishedResponse,
2184
+ TrickleRequest,
2185
+ UpdateLocalAudioTrack,
2186
+ UpdateLocalVideoTrack,
2187
+ UpdateParticipantMetadata,
2188
+ UpdateSubscription,
2189
+ UpdateTrackSettings,
2190
+ UpdateVideoLayers
2191
+ };
2192
+ //# sourceMappingURL=livekit_rtc_pb.js.map