@livekit/rtc-node 0.0.7 → 0.1.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.
- package/build.rs +4 -0
- package/dist/audio_frame.d.ts +1 -1
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +10 -11
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_source.d.ts +3 -3
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +14 -15
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts +4 -4
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +17 -21
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.d.ts +1 -1
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +42 -45
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.d.ts +2 -2
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +17 -24
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -70
- package/dist/index.js.map +1 -1
- package/{src/native.js → dist/napi/native.cjs} +12 -0
- package/dist/napi/native.js +15 -0
- package/dist/participant.d.ts +24 -9
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +45 -45
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.js +148 -176
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.js +134 -162
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.js +115 -126
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.js +7 -11
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.js +13 -18
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.js +388 -454
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/stats_pb.js +265 -303
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.js +87 -102
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.js +184 -215
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.d.ts +10 -9
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +74 -76
- package/dist/room.js.map +1 -1
- package/dist/track.d.ts +4 -4
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +15 -20
- package/dist/track.js.map +1 -1
- package/dist/track_publication.d.ts +4 -4
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +12 -15
- package/dist/track_publication.js.map +1 -1
- package/dist/video_frame.d.ts +1 -1
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +57 -71
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.d.ts +3 -3
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +12 -13
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.d.ts +4 -4
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +18 -22
- package/dist/video_stream.js.map +1 -1
- package/package.json +14 -14
- package/src/audio_frame.ts +6 -2
- package/src/audio_source.ts +8 -4
- package/src/audio_stream.ts +9 -5
- package/src/e2ee.ts +6 -2
- package/src/ffi_client.ts +6 -2
- package/src/index.ts +19 -15
- package/src/lib.rs +4 -0
- package/src/napi/native.cjs +281 -0
- package/src/napi/native.js +15 -0
- package/src/nodejs.rs +4 -0
- package/src/participant.ts +45 -22
- package/src/room.ts +56 -48
- package/src/track.ts +8 -4
- package/src/track_publication.ts +10 -6
- package/src/video_frame.ts +6 -2
- package/src/video_source.ts +7 -3
- package/src/video_stream.ts +9 -5
- package/dist/native.d.ts.map +0 -1
- package/dist/native.js +0 -297
- package/dist/native.js.map +0 -1
- /package/dist/{native.d.ts → napi/native.d.ts} +0 -0
- /package/src/{native.d.ts → napi/native.d.ts} +0 -0
package/dist/proto/e2ee_pb.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Copyright 2023 LiveKit, Inc.
|
|
3
2
|
//
|
|
4
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -12,13 +11,11 @@
|
|
|
12
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
12
|
// See the License for the specific language governing permissions and
|
|
14
13
|
// limitations under the License.
|
|
15
|
-
|
|
16
|
-
exports.E2eeResponse = exports.E2eeRequest = exports.GetKeyResponse = exports.GetKeyRequest = exports.RatchetKeyResponse = exports.RatchetKeyRequest = exports.SetKeyResponse = exports.SetKeyRequest = exports.GetSharedKeyResponse = exports.GetSharedKeyRequest = exports.RatchetSharedKeyResponse = exports.RatchetSharedKeyRequest = exports.SetSharedKeyResponse = exports.SetSharedKeyRequest = exports.FrameCryptorSetKeyIndexResponse = exports.FrameCryptorSetKeyIndexRequest = exports.FrameCryptorSetEnabledResponse = exports.FrameCryptorSetEnabledRequest = exports.E2eeManagerGetFrameCryptorsResponse = exports.E2eeManagerGetFrameCryptorsRequest = exports.E2eeManagerSetEnabledResponse = exports.E2eeManagerSetEnabledRequest = exports.E2eeOptions = exports.KeyProviderOptions = exports.FrameCryptor = exports.EncryptionState = exports.EncryptionType = void 0;
|
|
17
|
-
const protobuf_1 = require("@bufbuild/protobuf");
|
|
14
|
+
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
18
15
|
/**
|
|
19
16
|
* @generated from enum livekit.proto.EncryptionType
|
|
20
17
|
*/
|
|
21
|
-
var EncryptionType;
|
|
18
|
+
export var EncryptionType;
|
|
22
19
|
(function (EncryptionType) {
|
|
23
20
|
/**
|
|
24
21
|
* @generated from enum value: NONE = 0;
|
|
@@ -32,9 +29,9 @@ var EncryptionType;
|
|
|
32
29
|
* @generated from enum value: CUSTOM = 2;
|
|
33
30
|
*/
|
|
34
31
|
EncryptionType[EncryptionType["CUSTOM"] = 2] = "CUSTOM";
|
|
35
|
-
})(EncryptionType || (
|
|
32
|
+
})(EncryptionType || (EncryptionType = {}));
|
|
36
33
|
// Retrieve enum metadata with: proto3.getEnumType(EncryptionType)
|
|
37
|
-
|
|
34
|
+
proto3.util.setEnumType(EncryptionType, "livekit.proto.EncryptionType", [
|
|
38
35
|
{ no: 0, name: "NONE" },
|
|
39
36
|
{ no: 1, name: "GCM" },
|
|
40
37
|
{ no: 2, name: "CUSTOM" },
|
|
@@ -42,7 +39,7 @@ protobuf_1.proto3.util.setEnumType(EncryptionType, "livekit.proto.EncryptionType
|
|
|
42
39
|
/**
|
|
43
40
|
* @generated from enum livekit.proto.EncryptionState
|
|
44
41
|
*/
|
|
45
|
-
var EncryptionState;
|
|
42
|
+
export var EncryptionState;
|
|
46
43
|
(function (EncryptionState) {
|
|
47
44
|
/**
|
|
48
45
|
* @generated from enum value: NEW = 0;
|
|
@@ -72,9 +69,9 @@ var EncryptionState;
|
|
|
72
69
|
* @generated from enum value: INTERNAL_ERROR = 6;
|
|
73
70
|
*/
|
|
74
71
|
EncryptionState[EncryptionState["INTERNAL_ERROR"] = 6] = "INTERNAL_ERROR";
|
|
75
|
-
})(EncryptionState || (
|
|
72
|
+
})(EncryptionState || (EncryptionState = {}));
|
|
76
73
|
// Retrieve enum metadata with: proto3.getEnumType(EncryptionState)
|
|
77
|
-
|
|
74
|
+
proto3.util.setEnumType(EncryptionState, "livekit.proto.EncryptionState", [
|
|
78
75
|
{ no: 0, name: "NEW" },
|
|
79
76
|
{ no: 1, name: "OK" },
|
|
80
77
|
{ no: 2, name: "ENCRYPTION_FAILED" },
|
|
@@ -86,7 +83,7 @@ protobuf_1.proto3.util.setEnumType(EncryptionState, "livekit.proto.EncryptionSta
|
|
|
86
83
|
/**
|
|
87
84
|
* @generated from message livekit.proto.FrameCryptor
|
|
88
85
|
*/
|
|
89
|
-
class FrameCryptor extends
|
|
86
|
+
export class FrameCryptor extends Message {
|
|
90
87
|
constructor(data) {
|
|
91
88
|
super();
|
|
92
89
|
/**
|
|
@@ -105,7 +102,7 @@ class FrameCryptor extends protobuf_1.Message {
|
|
|
105
102
|
* @generated from field: bool enabled = 4;
|
|
106
103
|
*/
|
|
107
104
|
this.enabled = false;
|
|
108
|
-
|
|
105
|
+
proto3.util.initPartial(data, this);
|
|
109
106
|
}
|
|
110
107
|
static fromBinary(bytes, options) {
|
|
111
108
|
return new FrameCryptor().fromBinary(bytes, options);
|
|
@@ -117,13 +114,12 @@ class FrameCryptor extends protobuf_1.Message {
|
|
|
117
114
|
return new FrameCryptor().fromJsonString(jsonString, options);
|
|
118
115
|
}
|
|
119
116
|
static equals(a, b) {
|
|
120
|
-
return
|
|
117
|
+
return proto3.util.equals(FrameCryptor, a, b);
|
|
121
118
|
}
|
|
122
119
|
}
|
|
123
|
-
|
|
124
|
-
FrameCryptor.runtime = protobuf_1.proto3;
|
|
120
|
+
FrameCryptor.runtime = proto3;
|
|
125
121
|
FrameCryptor.typeName = "livekit.proto.FrameCryptor";
|
|
126
|
-
FrameCryptor.fields =
|
|
122
|
+
FrameCryptor.fields = proto3.util.newFieldList(() => [
|
|
127
123
|
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
128
124
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
129
125
|
{ no: 3, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
@@ -132,7 +128,7 @@ FrameCryptor.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
132
128
|
/**
|
|
133
129
|
* @generated from message livekit.proto.KeyProviderOptions
|
|
134
130
|
*/
|
|
135
|
-
class KeyProviderOptions extends
|
|
131
|
+
export class KeyProviderOptions extends Message {
|
|
136
132
|
constructor(data) {
|
|
137
133
|
super();
|
|
138
134
|
/**
|
|
@@ -149,7 +145,7 @@ class KeyProviderOptions extends protobuf_1.Message {
|
|
|
149
145
|
* @generated from field: int32 failure_tolerance = 4;
|
|
150
146
|
*/
|
|
151
147
|
this.failureTolerance = 0;
|
|
152
|
-
|
|
148
|
+
proto3.util.initPartial(data, this);
|
|
153
149
|
}
|
|
154
150
|
static fromBinary(bytes, options) {
|
|
155
151
|
return new KeyProviderOptions().fromBinary(bytes, options);
|
|
@@ -161,13 +157,12 @@ class KeyProviderOptions extends protobuf_1.Message {
|
|
|
161
157
|
return new KeyProviderOptions().fromJsonString(jsonString, options);
|
|
162
158
|
}
|
|
163
159
|
static equals(a, b) {
|
|
164
|
-
return
|
|
160
|
+
return proto3.util.equals(KeyProviderOptions, a, b);
|
|
165
161
|
}
|
|
166
162
|
}
|
|
167
|
-
|
|
168
|
-
KeyProviderOptions.runtime = protobuf_1.proto3;
|
|
163
|
+
KeyProviderOptions.runtime = proto3;
|
|
169
164
|
KeyProviderOptions.typeName = "livekit.proto.KeyProviderOptions";
|
|
170
|
-
KeyProviderOptions.fields =
|
|
165
|
+
KeyProviderOptions.fields = proto3.util.newFieldList(() => [
|
|
171
166
|
{ no: 1, name: "shared_key", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
172
167
|
{ no: 2, name: "ratchet_window_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
173
168
|
{ no: 3, name: "ratchet_salt", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
@@ -176,14 +171,14 @@ KeyProviderOptions.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
176
171
|
/**
|
|
177
172
|
* @generated from message livekit.proto.E2eeOptions
|
|
178
173
|
*/
|
|
179
|
-
class E2eeOptions extends
|
|
174
|
+
export class E2eeOptions extends Message {
|
|
180
175
|
constructor(data) {
|
|
181
176
|
super();
|
|
182
177
|
/**
|
|
183
178
|
* @generated from field: livekit.proto.EncryptionType encryption_type = 1;
|
|
184
179
|
*/
|
|
185
180
|
this.encryptionType = EncryptionType.NONE;
|
|
186
|
-
|
|
181
|
+
proto3.util.initPartial(data, this);
|
|
187
182
|
}
|
|
188
183
|
static fromBinary(bytes, options) {
|
|
189
184
|
return new E2eeOptions().fromBinary(bytes, options);
|
|
@@ -195,27 +190,26 @@ class E2eeOptions extends protobuf_1.Message {
|
|
|
195
190
|
return new E2eeOptions().fromJsonString(jsonString, options);
|
|
196
191
|
}
|
|
197
192
|
static equals(a, b) {
|
|
198
|
-
return
|
|
193
|
+
return proto3.util.equals(E2eeOptions, a, b);
|
|
199
194
|
}
|
|
200
195
|
}
|
|
201
|
-
|
|
202
|
-
E2eeOptions.runtime = protobuf_1.proto3;
|
|
196
|
+
E2eeOptions.runtime = proto3;
|
|
203
197
|
E2eeOptions.typeName = "livekit.proto.E2eeOptions";
|
|
204
|
-
E2eeOptions.fields =
|
|
205
|
-
{ no: 1, name: "encryption_type", kind: "enum", T:
|
|
198
|
+
E2eeOptions.fields = proto3.util.newFieldList(() => [
|
|
199
|
+
{ no: 1, name: "encryption_type", kind: "enum", T: proto3.getEnumType(EncryptionType) },
|
|
206
200
|
{ no: 2, name: "key_provider_options", kind: "message", T: KeyProviderOptions },
|
|
207
201
|
]);
|
|
208
202
|
/**
|
|
209
203
|
* @generated from message livekit.proto.E2eeManagerSetEnabledRequest
|
|
210
204
|
*/
|
|
211
|
-
class E2eeManagerSetEnabledRequest extends
|
|
205
|
+
export class E2eeManagerSetEnabledRequest extends Message {
|
|
212
206
|
constructor(data) {
|
|
213
207
|
super();
|
|
214
208
|
/**
|
|
215
209
|
* @generated from field: bool enabled = 1;
|
|
216
210
|
*/
|
|
217
211
|
this.enabled = false;
|
|
218
|
-
|
|
212
|
+
proto3.util.initPartial(data, this);
|
|
219
213
|
}
|
|
220
214
|
static fromBinary(bytes, options) {
|
|
221
215
|
return new E2eeManagerSetEnabledRequest().fromBinary(bytes, options);
|
|
@@ -227,22 +221,21 @@ class E2eeManagerSetEnabledRequest extends protobuf_1.Message {
|
|
|
227
221
|
return new E2eeManagerSetEnabledRequest().fromJsonString(jsonString, options);
|
|
228
222
|
}
|
|
229
223
|
static equals(a, b) {
|
|
230
|
-
return
|
|
224
|
+
return proto3.util.equals(E2eeManagerSetEnabledRequest, a, b);
|
|
231
225
|
}
|
|
232
226
|
}
|
|
233
|
-
|
|
234
|
-
E2eeManagerSetEnabledRequest.runtime = protobuf_1.proto3;
|
|
227
|
+
E2eeManagerSetEnabledRequest.runtime = proto3;
|
|
235
228
|
E2eeManagerSetEnabledRequest.typeName = "livekit.proto.E2eeManagerSetEnabledRequest";
|
|
236
|
-
E2eeManagerSetEnabledRequest.fields =
|
|
229
|
+
E2eeManagerSetEnabledRequest.fields = proto3.util.newFieldList(() => [
|
|
237
230
|
{ no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
238
231
|
]);
|
|
239
232
|
/**
|
|
240
233
|
* @generated from message livekit.proto.E2eeManagerSetEnabledResponse
|
|
241
234
|
*/
|
|
242
|
-
class E2eeManagerSetEnabledResponse extends
|
|
235
|
+
export class E2eeManagerSetEnabledResponse extends Message {
|
|
243
236
|
constructor(data) {
|
|
244
237
|
super();
|
|
245
|
-
|
|
238
|
+
proto3.util.initPartial(data, this);
|
|
246
239
|
}
|
|
247
240
|
static fromBinary(bytes, options) {
|
|
248
241
|
return new E2eeManagerSetEnabledResponse().fromBinary(bytes, options);
|
|
@@ -254,20 +247,19 @@ class E2eeManagerSetEnabledResponse extends protobuf_1.Message {
|
|
|
254
247
|
return new E2eeManagerSetEnabledResponse().fromJsonString(jsonString, options);
|
|
255
248
|
}
|
|
256
249
|
static equals(a, b) {
|
|
257
|
-
return
|
|
250
|
+
return proto3.util.equals(E2eeManagerSetEnabledResponse, a, b);
|
|
258
251
|
}
|
|
259
252
|
}
|
|
260
|
-
|
|
261
|
-
E2eeManagerSetEnabledResponse.runtime = protobuf_1.proto3;
|
|
253
|
+
E2eeManagerSetEnabledResponse.runtime = proto3;
|
|
262
254
|
E2eeManagerSetEnabledResponse.typeName = "livekit.proto.E2eeManagerSetEnabledResponse";
|
|
263
|
-
E2eeManagerSetEnabledResponse.fields =
|
|
255
|
+
E2eeManagerSetEnabledResponse.fields = proto3.util.newFieldList(() => []);
|
|
264
256
|
/**
|
|
265
257
|
* @generated from message livekit.proto.E2eeManagerGetFrameCryptorsRequest
|
|
266
258
|
*/
|
|
267
|
-
class E2eeManagerGetFrameCryptorsRequest extends
|
|
259
|
+
export class E2eeManagerGetFrameCryptorsRequest extends Message {
|
|
268
260
|
constructor(data) {
|
|
269
261
|
super();
|
|
270
|
-
|
|
262
|
+
proto3.util.initPartial(data, this);
|
|
271
263
|
}
|
|
272
264
|
static fromBinary(bytes, options) {
|
|
273
265
|
return new E2eeManagerGetFrameCryptorsRequest().fromBinary(bytes, options);
|
|
@@ -279,24 +271,23 @@ class E2eeManagerGetFrameCryptorsRequest extends protobuf_1.Message {
|
|
|
279
271
|
return new E2eeManagerGetFrameCryptorsRequest().fromJsonString(jsonString, options);
|
|
280
272
|
}
|
|
281
273
|
static equals(a, b) {
|
|
282
|
-
return
|
|
274
|
+
return proto3.util.equals(E2eeManagerGetFrameCryptorsRequest, a, b);
|
|
283
275
|
}
|
|
284
276
|
}
|
|
285
|
-
|
|
286
|
-
E2eeManagerGetFrameCryptorsRequest.runtime = protobuf_1.proto3;
|
|
277
|
+
E2eeManagerGetFrameCryptorsRequest.runtime = proto3;
|
|
287
278
|
E2eeManagerGetFrameCryptorsRequest.typeName = "livekit.proto.E2eeManagerGetFrameCryptorsRequest";
|
|
288
|
-
E2eeManagerGetFrameCryptorsRequest.fields =
|
|
279
|
+
E2eeManagerGetFrameCryptorsRequest.fields = proto3.util.newFieldList(() => []);
|
|
289
280
|
/**
|
|
290
281
|
* @generated from message livekit.proto.E2eeManagerGetFrameCryptorsResponse
|
|
291
282
|
*/
|
|
292
|
-
class E2eeManagerGetFrameCryptorsResponse extends
|
|
283
|
+
export class E2eeManagerGetFrameCryptorsResponse extends Message {
|
|
293
284
|
constructor(data) {
|
|
294
285
|
super();
|
|
295
286
|
/**
|
|
296
287
|
* @generated from field: repeated livekit.proto.FrameCryptor frame_cryptors = 1;
|
|
297
288
|
*/
|
|
298
289
|
this.frameCryptors = [];
|
|
299
|
-
|
|
290
|
+
proto3.util.initPartial(data, this);
|
|
300
291
|
}
|
|
301
292
|
static fromBinary(bytes, options) {
|
|
302
293
|
return new E2eeManagerGetFrameCryptorsResponse().fromBinary(bytes, options);
|
|
@@ -308,19 +299,18 @@ class E2eeManagerGetFrameCryptorsResponse extends protobuf_1.Message {
|
|
|
308
299
|
return new E2eeManagerGetFrameCryptorsResponse().fromJsonString(jsonString, options);
|
|
309
300
|
}
|
|
310
301
|
static equals(a, b) {
|
|
311
|
-
return
|
|
302
|
+
return proto3.util.equals(E2eeManagerGetFrameCryptorsResponse, a, b);
|
|
312
303
|
}
|
|
313
304
|
}
|
|
314
|
-
|
|
315
|
-
E2eeManagerGetFrameCryptorsResponse.runtime = protobuf_1.proto3;
|
|
305
|
+
E2eeManagerGetFrameCryptorsResponse.runtime = proto3;
|
|
316
306
|
E2eeManagerGetFrameCryptorsResponse.typeName = "livekit.proto.E2eeManagerGetFrameCryptorsResponse";
|
|
317
|
-
E2eeManagerGetFrameCryptorsResponse.fields =
|
|
307
|
+
E2eeManagerGetFrameCryptorsResponse.fields = proto3.util.newFieldList(() => [
|
|
318
308
|
{ no: 1, name: "frame_cryptors", kind: "message", T: FrameCryptor, repeated: true },
|
|
319
309
|
]);
|
|
320
310
|
/**
|
|
321
311
|
* @generated from message livekit.proto.FrameCryptorSetEnabledRequest
|
|
322
312
|
*/
|
|
323
|
-
class FrameCryptorSetEnabledRequest extends
|
|
313
|
+
export class FrameCryptorSetEnabledRequest extends Message {
|
|
324
314
|
constructor(data) {
|
|
325
315
|
super();
|
|
326
316
|
/**
|
|
@@ -335,7 +325,7 @@ class FrameCryptorSetEnabledRequest extends protobuf_1.Message {
|
|
|
335
325
|
* @generated from field: bool enabled = 3;
|
|
336
326
|
*/
|
|
337
327
|
this.enabled = false;
|
|
338
|
-
|
|
328
|
+
proto3.util.initPartial(data, this);
|
|
339
329
|
}
|
|
340
330
|
static fromBinary(bytes, options) {
|
|
341
331
|
return new FrameCryptorSetEnabledRequest().fromBinary(bytes, options);
|
|
@@ -347,13 +337,12 @@ class FrameCryptorSetEnabledRequest extends protobuf_1.Message {
|
|
|
347
337
|
return new FrameCryptorSetEnabledRequest().fromJsonString(jsonString, options);
|
|
348
338
|
}
|
|
349
339
|
static equals(a, b) {
|
|
350
|
-
return
|
|
340
|
+
return proto3.util.equals(FrameCryptorSetEnabledRequest, a, b);
|
|
351
341
|
}
|
|
352
342
|
}
|
|
353
|
-
|
|
354
|
-
FrameCryptorSetEnabledRequest.runtime = protobuf_1.proto3;
|
|
343
|
+
FrameCryptorSetEnabledRequest.runtime = proto3;
|
|
355
344
|
FrameCryptorSetEnabledRequest.typeName = "livekit.proto.FrameCryptorSetEnabledRequest";
|
|
356
|
-
FrameCryptorSetEnabledRequest.fields =
|
|
345
|
+
FrameCryptorSetEnabledRequest.fields = proto3.util.newFieldList(() => [
|
|
357
346
|
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
358
347
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
359
348
|
{ no: 3, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
@@ -361,10 +350,10 @@ FrameCryptorSetEnabledRequest.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
361
350
|
/**
|
|
362
351
|
* @generated from message livekit.proto.FrameCryptorSetEnabledResponse
|
|
363
352
|
*/
|
|
364
|
-
class FrameCryptorSetEnabledResponse extends
|
|
353
|
+
export class FrameCryptorSetEnabledResponse extends Message {
|
|
365
354
|
constructor(data) {
|
|
366
355
|
super();
|
|
367
|
-
|
|
356
|
+
proto3.util.initPartial(data, this);
|
|
368
357
|
}
|
|
369
358
|
static fromBinary(bytes, options) {
|
|
370
359
|
return new FrameCryptorSetEnabledResponse().fromBinary(bytes, options);
|
|
@@ -376,17 +365,16 @@ class FrameCryptorSetEnabledResponse extends protobuf_1.Message {
|
|
|
376
365
|
return new FrameCryptorSetEnabledResponse().fromJsonString(jsonString, options);
|
|
377
366
|
}
|
|
378
367
|
static equals(a, b) {
|
|
379
|
-
return
|
|
368
|
+
return proto3.util.equals(FrameCryptorSetEnabledResponse, a, b);
|
|
380
369
|
}
|
|
381
370
|
}
|
|
382
|
-
|
|
383
|
-
FrameCryptorSetEnabledResponse.runtime = protobuf_1.proto3;
|
|
371
|
+
FrameCryptorSetEnabledResponse.runtime = proto3;
|
|
384
372
|
FrameCryptorSetEnabledResponse.typeName = "livekit.proto.FrameCryptorSetEnabledResponse";
|
|
385
|
-
FrameCryptorSetEnabledResponse.fields =
|
|
373
|
+
FrameCryptorSetEnabledResponse.fields = proto3.util.newFieldList(() => []);
|
|
386
374
|
/**
|
|
387
375
|
* @generated from message livekit.proto.FrameCryptorSetKeyIndexRequest
|
|
388
376
|
*/
|
|
389
|
-
class FrameCryptorSetKeyIndexRequest extends
|
|
377
|
+
export class FrameCryptorSetKeyIndexRequest extends Message {
|
|
390
378
|
constructor(data) {
|
|
391
379
|
super();
|
|
392
380
|
/**
|
|
@@ -401,7 +389,7 @@ class FrameCryptorSetKeyIndexRequest extends protobuf_1.Message {
|
|
|
401
389
|
* @generated from field: int32 key_index = 3;
|
|
402
390
|
*/
|
|
403
391
|
this.keyIndex = 0;
|
|
404
|
-
|
|
392
|
+
proto3.util.initPartial(data, this);
|
|
405
393
|
}
|
|
406
394
|
static fromBinary(bytes, options) {
|
|
407
395
|
return new FrameCryptorSetKeyIndexRequest().fromBinary(bytes, options);
|
|
@@ -413,13 +401,12 @@ class FrameCryptorSetKeyIndexRequest extends protobuf_1.Message {
|
|
|
413
401
|
return new FrameCryptorSetKeyIndexRequest().fromJsonString(jsonString, options);
|
|
414
402
|
}
|
|
415
403
|
static equals(a, b) {
|
|
416
|
-
return
|
|
404
|
+
return proto3.util.equals(FrameCryptorSetKeyIndexRequest, a, b);
|
|
417
405
|
}
|
|
418
406
|
}
|
|
419
|
-
|
|
420
|
-
FrameCryptorSetKeyIndexRequest.runtime = protobuf_1.proto3;
|
|
407
|
+
FrameCryptorSetKeyIndexRequest.runtime = proto3;
|
|
421
408
|
FrameCryptorSetKeyIndexRequest.typeName = "livekit.proto.FrameCryptorSetKeyIndexRequest";
|
|
422
|
-
FrameCryptorSetKeyIndexRequest.fields =
|
|
409
|
+
FrameCryptorSetKeyIndexRequest.fields = proto3.util.newFieldList(() => [
|
|
423
410
|
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
424
411
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
425
412
|
{ no: 3, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
@@ -427,10 +414,10 @@ FrameCryptorSetKeyIndexRequest.fields = protobuf_1.proto3.util.newFieldList(() =
|
|
|
427
414
|
/**
|
|
428
415
|
* @generated from message livekit.proto.FrameCryptorSetKeyIndexResponse
|
|
429
416
|
*/
|
|
430
|
-
class FrameCryptorSetKeyIndexResponse extends
|
|
417
|
+
export class FrameCryptorSetKeyIndexResponse extends Message {
|
|
431
418
|
constructor(data) {
|
|
432
419
|
super();
|
|
433
|
-
|
|
420
|
+
proto3.util.initPartial(data, this);
|
|
434
421
|
}
|
|
435
422
|
static fromBinary(bytes, options) {
|
|
436
423
|
return new FrameCryptorSetKeyIndexResponse().fromBinary(bytes, options);
|
|
@@ -442,17 +429,16 @@ class FrameCryptorSetKeyIndexResponse extends protobuf_1.Message {
|
|
|
442
429
|
return new FrameCryptorSetKeyIndexResponse().fromJsonString(jsonString, options);
|
|
443
430
|
}
|
|
444
431
|
static equals(a, b) {
|
|
445
|
-
return
|
|
432
|
+
return proto3.util.equals(FrameCryptorSetKeyIndexResponse, a, b);
|
|
446
433
|
}
|
|
447
434
|
}
|
|
448
|
-
|
|
449
|
-
FrameCryptorSetKeyIndexResponse.runtime = protobuf_1.proto3;
|
|
435
|
+
FrameCryptorSetKeyIndexResponse.runtime = proto3;
|
|
450
436
|
FrameCryptorSetKeyIndexResponse.typeName = "livekit.proto.FrameCryptorSetKeyIndexResponse";
|
|
451
|
-
FrameCryptorSetKeyIndexResponse.fields =
|
|
437
|
+
FrameCryptorSetKeyIndexResponse.fields = proto3.util.newFieldList(() => []);
|
|
452
438
|
/**
|
|
453
439
|
* @generated from message livekit.proto.SetSharedKeyRequest
|
|
454
440
|
*/
|
|
455
|
-
class SetSharedKeyRequest extends
|
|
441
|
+
export class SetSharedKeyRequest extends Message {
|
|
456
442
|
constructor(data) {
|
|
457
443
|
super();
|
|
458
444
|
/**
|
|
@@ -463,7 +449,7 @@ class SetSharedKeyRequest extends protobuf_1.Message {
|
|
|
463
449
|
* @generated from field: int32 key_index = 2;
|
|
464
450
|
*/
|
|
465
451
|
this.keyIndex = 0;
|
|
466
|
-
|
|
452
|
+
proto3.util.initPartial(data, this);
|
|
467
453
|
}
|
|
468
454
|
static fromBinary(bytes, options) {
|
|
469
455
|
return new SetSharedKeyRequest().fromBinary(bytes, options);
|
|
@@ -475,23 +461,22 @@ class SetSharedKeyRequest extends protobuf_1.Message {
|
|
|
475
461
|
return new SetSharedKeyRequest().fromJsonString(jsonString, options);
|
|
476
462
|
}
|
|
477
463
|
static equals(a, b) {
|
|
478
|
-
return
|
|
464
|
+
return proto3.util.equals(SetSharedKeyRequest, a, b);
|
|
479
465
|
}
|
|
480
466
|
}
|
|
481
|
-
|
|
482
|
-
SetSharedKeyRequest.runtime = protobuf_1.proto3;
|
|
467
|
+
SetSharedKeyRequest.runtime = proto3;
|
|
483
468
|
SetSharedKeyRequest.typeName = "livekit.proto.SetSharedKeyRequest";
|
|
484
|
-
SetSharedKeyRequest.fields =
|
|
469
|
+
SetSharedKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
485
470
|
{ no: 1, name: "shared_key", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
486
471
|
{ no: 2, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
487
472
|
]);
|
|
488
473
|
/**
|
|
489
474
|
* @generated from message livekit.proto.SetSharedKeyResponse
|
|
490
475
|
*/
|
|
491
|
-
class SetSharedKeyResponse extends
|
|
476
|
+
export class SetSharedKeyResponse extends Message {
|
|
492
477
|
constructor(data) {
|
|
493
478
|
super();
|
|
494
|
-
|
|
479
|
+
proto3.util.initPartial(data, this);
|
|
495
480
|
}
|
|
496
481
|
static fromBinary(bytes, options) {
|
|
497
482
|
return new SetSharedKeyResponse().fromBinary(bytes, options);
|
|
@@ -503,24 +488,23 @@ class SetSharedKeyResponse extends protobuf_1.Message {
|
|
|
503
488
|
return new SetSharedKeyResponse().fromJsonString(jsonString, options);
|
|
504
489
|
}
|
|
505
490
|
static equals(a, b) {
|
|
506
|
-
return
|
|
491
|
+
return proto3.util.equals(SetSharedKeyResponse, a, b);
|
|
507
492
|
}
|
|
508
493
|
}
|
|
509
|
-
|
|
510
|
-
SetSharedKeyResponse.runtime = protobuf_1.proto3;
|
|
494
|
+
SetSharedKeyResponse.runtime = proto3;
|
|
511
495
|
SetSharedKeyResponse.typeName = "livekit.proto.SetSharedKeyResponse";
|
|
512
|
-
SetSharedKeyResponse.fields =
|
|
496
|
+
SetSharedKeyResponse.fields = proto3.util.newFieldList(() => []);
|
|
513
497
|
/**
|
|
514
498
|
* @generated from message livekit.proto.RatchetSharedKeyRequest
|
|
515
499
|
*/
|
|
516
|
-
class RatchetSharedKeyRequest extends
|
|
500
|
+
export class RatchetSharedKeyRequest extends Message {
|
|
517
501
|
constructor(data) {
|
|
518
502
|
super();
|
|
519
503
|
/**
|
|
520
504
|
* @generated from field: int32 key_index = 1;
|
|
521
505
|
*/
|
|
522
506
|
this.keyIndex = 0;
|
|
523
|
-
|
|
507
|
+
proto3.util.initPartial(data, this);
|
|
524
508
|
}
|
|
525
509
|
static fromBinary(bytes, options) {
|
|
526
510
|
return new RatchetSharedKeyRequest().fromBinary(bytes, options);
|
|
@@ -532,22 +516,21 @@ class RatchetSharedKeyRequest extends protobuf_1.Message {
|
|
|
532
516
|
return new RatchetSharedKeyRequest().fromJsonString(jsonString, options);
|
|
533
517
|
}
|
|
534
518
|
static equals(a, b) {
|
|
535
|
-
return
|
|
519
|
+
return proto3.util.equals(RatchetSharedKeyRequest, a, b);
|
|
536
520
|
}
|
|
537
521
|
}
|
|
538
|
-
|
|
539
|
-
RatchetSharedKeyRequest.runtime = protobuf_1.proto3;
|
|
522
|
+
RatchetSharedKeyRequest.runtime = proto3;
|
|
540
523
|
RatchetSharedKeyRequest.typeName = "livekit.proto.RatchetSharedKeyRequest";
|
|
541
|
-
RatchetSharedKeyRequest.fields =
|
|
524
|
+
RatchetSharedKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
542
525
|
{ no: 1, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
543
526
|
]);
|
|
544
527
|
/**
|
|
545
528
|
* @generated from message livekit.proto.RatchetSharedKeyResponse
|
|
546
529
|
*/
|
|
547
|
-
class RatchetSharedKeyResponse extends
|
|
530
|
+
export class RatchetSharedKeyResponse extends Message {
|
|
548
531
|
constructor(data) {
|
|
549
532
|
super();
|
|
550
|
-
|
|
533
|
+
proto3.util.initPartial(data, this);
|
|
551
534
|
}
|
|
552
535
|
static fromBinary(bytes, options) {
|
|
553
536
|
return new RatchetSharedKeyResponse().fromBinary(bytes, options);
|
|
@@ -559,26 +542,25 @@ class RatchetSharedKeyResponse extends protobuf_1.Message {
|
|
|
559
542
|
return new RatchetSharedKeyResponse().fromJsonString(jsonString, options);
|
|
560
543
|
}
|
|
561
544
|
static equals(a, b) {
|
|
562
|
-
return
|
|
545
|
+
return proto3.util.equals(RatchetSharedKeyResponse, a, b);
|
|
563
546
|
}
|
|
564
547
|
}
|
|
565
|
-
|
|
566
|
-
RatchetSharedKeyResponse.runtime = protobuf_1.proto3;
|
|
548
|
+
RatchetSharedKeyResponse.runtime = proto3;
|
|
567
549
|
RatchetSharedKeyResponse.typeName = "livekit.proto.RatchetSharedKeyResponse";
|
|
568
|
-
RatchetSharedKeyResponse.fields =
|
|
550
|
+
RatchetSharedKeyResponse.fields = proto3.util.newFieldList(() => [
|
|
569
551
|
{ no: 1, name: "new_key", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
570
552
|
]);
|
|
571
553
|
/**
|
|
572
554
|
* @generated from message livekit.proto.GetSharedKeyRequest
|
|
573
555
|
*/
|
|
574
|
-
class GetSharedKeyRequest extends
|
|
556
|
+
export class GetSharedKeyRequest extends Message {
|
|
575
557
|
constructor(data) {
|
|
576
558
|
super();
|
|
577
559
|
/**
|
|
578
560
|
* @generated from field: int32 key_index = 1;
|
|
579
561
|
*/
|
|
580
562
|
this.keyIndex = 0;
|
|
581
|
-
|
|
563
|
+
proto3.util.initPartial(data, this);
|
|
582
564
|
}
|
|
583
565
|
static fromBinary(bytes, options) {
|
|
584
566
|
return new GetSharedKeyRequest().fromBinary(bytes, options);
|
|
@@ -590,22 +572,21 @@ class GetSharedKeyRequest extends protobuf_1.Message {
|
|
|
590
572
|
return new GetSharedKeyRequest().fromJsonString(jsonString, options);
|
|
591
573
|
}
|
|
592
574
|
static equals(a, b) {
|
|
593
|
-
return
|
|
575
|
+
return proto3.util.equals(GetSharedKeyRequest, a, b);
|
|
594
576
|
}
|
|
595
577
|
}
|
|
596
|
-
|
|
597
|
-
GetSharedKeyRequest.runtime = protobuf_1.proto3;
|
|
578
|
+
GetSharedKeyRequest.runtime = proto3;
|
|
598
579
|
GetSharedKeyRequest.typeName = "livekit.proto.GetSharedKeyRequest";
|
|
599
|
-
GetSharedKeyRequest.fields =
|
|
580
|
+
GetSharedKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
600
581
|
{ no: 1, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
601
582
|
]);
|
|
602
583
|
/**
|
|
603
584
|
* @generated from message livekit.proto.GetSharedKeyResponse
|
|
604
585
|
*/
|
|
605
|
-
class GetSharedKeyResponse extends
|
|
586
|
+
export class GetSharedKeyResponse extends Message {
|
|
606
587
|
constructor(data) {
|
|
607
588
|
super();
|
|
608
|
-
|
|
589
|
+
proto3.util.initPartial(data, this);
|
|
609
590
|
}
|
|
610
591
|
static fromBinary(bytes, options) {
|
|
611
592
|
return new GetSharedKeyResponse().fromBinary(bytes, options);
|
|
@@ -617,19 +598,18 @@ class GetSharedKeyResponse extends protobuf_1.Message {
|
|
|
617
598
|
return new GetSharedKeyResponse().fromJsonString(jsonString, options);
|
|
618
599
|
}
|
|
619
600
|
static equals(a, b) {
|
|
620
|
-
return
|
|
601
|
+
return proto3.util.equals(GetSharedKeyResponse, a, b);
|
|
621
602
|
}
|
|
622
603
|
}
|
|
623
|
-
|
|
624
|
-
GetSharedKeyResponse.runtime = protobuf_1.proto3;
|
|
604
|
+
GetSharedKeyResponse.runtime = proto3;
|
|
625
605
|
GetSharedKeyResponse.typeName = "livekit.proto.GetSharedKeyResponse";
|
|
626
|
-
GetSharedKeyResponse.fields =
|
|
606
|
+
GetSharedKeyResponse.fields = proto3.util.newFieldList(() => [
|
|
627
607
|
{ no: 1, name: "key", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
628
608
|
]);
|
|
629
609
|
/**
|
|
630
610
|
* @generated from message livekit.proto.SetKeyRequest
|
|
631
611
|
*/
|
|
632
|
-
class SetKeyRequest extends
|
|
612
|
+
export class SetKeyRequest extends Message {
|
|
633
613
|
constructor(data) {
|
|
634
614
|
super();
|
|
635
615
|
/**
|
|
@@ -644,7 +624,7 @@ class SetKeyRequest extends protobuf_1.Message {
|
|
|
644
624
|
* @generated from field: int32 key_index = 3;
|
|
645
625
|
*/
|
|
646
626
|
this.keyIndex = 0;
|
|
647
|
-
|
|
627
|
+
proto3.util.initPartial(data, this);
|
|
648
628
|
}
|
|
649
629
|
static fromBinary(bytes, options) {
|
|
650
630
|
return new SetKeyRequest().fromBinary(bytes, options);
|
|
@@ -656,13 +636,12 @@ class SetKeyRequest extends protobuf_1.Message {
|
|
|
656
636
|
return new SetKeyRequest().fromJsonString(jsonString, options);
|
|
657
637
|
}
|
|
658
638
|
static equals(a, b) {
|
|
659
|
-
return
|
|
639
|
+
return proto3.util.equals(SetKeyRequest, a, b);
|
|
660
640
|
}
|
|
661
641
|
}
|
|
662
|
-
|
|
663
|
-
SetKeyRequest.runtime = protobuf_1.proto3;
|
|
642
|
+
SetKeyRequest.runtime = proto3;
|
|
664
643
|
SetKeyRequest.typeName = "livekit.proto.SetKeyRequest";
|
|
665
|
-
SetKeyRequest.fields =
|
|
644
|
+
SetKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
666
645
|
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
667
646
|
{ no: 2, name: "key", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
668
647
|
{ no: 3, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
@@ -670,10 +649,10 @@ SetKeyRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
670
649
|
/**
|
|
671
650
|
* @generated from message livekit.proto.SetKeyResponse
|
|
672
651
|
*/
|
|
673
|
-
class SetKeyResponse extends
|
|
652
|
+
export class SetKeyResponse extends Message {
|
|
674
653
|
constructor(data) {
|
|
675
654
|
super();
|
|
676
|
-
|
|
655
|
+
proto3.util.initPartial(data, this);
|
|
677
656
|
}
|
|
678
657
|
static fromBinary(bytes, options) {
|
|
679
658
|
return new SetKeyResponse().fromBinary(bytes, options);
|
|
@@ -685,17 +664,16 @@ class SetKeyResponse extends protobuf_1.Message {
|
|
|
685
664
|
return new SetKeyResponse().fromJsonString(jsonString, options);
|
|
686
665
|
}
|
|
687
666
|
static equals(a, b) {
|
|
688
|
-
return
|
|
667
|
+
return proto3.util.equals(SetKeyResponse, a, b);
|
|
689
668
|
}
|
|
690
669
|
}
|
|
691
|
-
|
|
692
|
-
SetKeyResponse.runtime = protobuf_1.proto3;
|
|
670
|
+
SetKeyResponse.runtime = proto3;
|
|
693
671
|
SetKeyResponse.typeName = "livekit.proto.SetKeyResponse";
|
|
694
|
-
SetKeyResponse.fields =
|
|
672
|
+
SetKeyResponse.fields = proto3.util.newFieldList(() => []);
|
|
695
673
|
/**
|
|
696
674
|
* @generated from message livekit.proto.RatchetKeyRequest
|
|
697
675
|
*/
|
|
698
|
-
class RatchetKeyRequest extends
|
|
676
|
+
export class RatchetKeyRequest extends Message {
|
|
699
677
|
constructor(data) {
|
|
700
678
|
super();
|
|
701
679
|
/**
|
|
@@ -706,7 +684,7 @@ class RatchetKeyRequest extends protobuf_1.Message {
|
|
|
706
684
|
* @generated from field: int32 key_index = 2;
|
|
707
685
|
*/
|
|
708
686
|
this.keyIndex = 0;
|
|
709
|
-
|
|
687
|
+
proto3.util.initPartial(data, this);
|
|
710
688
|
}
|
|
711
689
|
static fromBinary(bytes, options) {
|
|
712
690
|
return new RatchetKeyRequest().fromBinary(bytes, options);
|
|
@@ -718,23 +696,22 @@ class RatchetKeyRequest extends protobuf_1.Message {
|
|
|
718
696
|
return new RatchetKeyRequest().fromJsonString(jsonString, options);
|
|
719
697
|
}
|
|
720
698
|
static equals(a, b) {
|
|
721
|
-
return
|
|
699
|
+
return proto3.util.equals(RatchetKeyRequest, a, b);
|
|
722
700
|
}
|
|
723
701
|
}
|
|
724
|
-
|
|
725
|
-
RatchetKeyRequest.runtime = protobuf_1.proto3;
|
|
702
|
+
RatchetKeyRequest.runtime = proto3;
|
|
726
703
|
RatchetKeyRequest.typeName = "livekit.proto.RatchetKeyRequest";
|
|
727
|
-
RatchetKeyRequest.fields =
|
|
704
|
+
RatchetKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
728
705
|
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
729
706
|
{ no: 2, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
730
707
|
]);
|
|
731
708
|
/**
|
|
732
709
|
* @generated from message livekit.proto.RatchetKeyResponse
|
|
733
710
|
*/
|
|
734
|
-
class RatchetKeyResponse extends
|
|
711
|
+
export class RatchetKeyResponse extends Message {
|
|
735
712
|
constructor(data) {
|
|
736
713
|
super();
|
|
737
|
-
|
|
714
|
+
proto3.util.initPartial(data, this);
|
|
738
715
|
}
|
|
739
716
|
static fromBinary(bytes, options) {
|
|
740
717
|
return new RatchetKeyResponse().fromBinary(bytes, options);
|
|
@@ -746,19 +723,18 @@ class RatchetKeyResponse extends protobuf_1.Message {
|
|
|
746
723
|
return new RatchetKeyResponse().fromJsonString(jsonString, options);
|
|
747
724
|
}
|
|
748
725
|
static equals(a, b) {
|
|
749
|
-
return
|
|
726
|
+
return proto3.util.equals(RatchetKeyResponse, a, b);
|
|
750
727
|
}
|
|
751
728
|
}
|
|
752
|
-
|
|
753
|
-
RatchetKeyResponse.runtime = protobuf_1.proto3;
|
|
729
|
+
RatchetKeyResponse.runtime = proto3;
|
|
754
730
|
RatchetKeyResponse.typeName = "livekit.proto.RatchetKeyResponse";
|
|
755
|
-
RatchetKeyResponse.fields =
|
|
731
|
+
RatchetKeyResponse.fields = proto3.util.newFieldList(() => [
|
|
756
732
|
{ no: 1, name: "new_key", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
757
733
|
]);
|
|
758
734
|
/**
|
|
759
735
|
* @generated from message livekit.proto.GetKeyRequest
|
|
760
736
|
*/
|
|
761
|
-
class GetKeyRequest extends
|
|
737
|
+
export class GetKeyRequest extends Message {
|
|
762
738
|
constructor(data) {
|
|
763
739
|
super();
|
|
764
740
|
/**
|
|
@@ -769,7 +745,7 @@ class GetKeyRequest extends protobuf_1.Message {
|
|
|
769
745
|
* @generated from field: int32 key_index = 2;
|
|
770
746
|
*/
|
|
771
747
|
this.keyIndex = 0;
|
|
772
|
-
|
|
748
|
+
proto3.util.initPartial(data, this);
|
|
773
749
|
}
|
|
774
750
|
static fromBinary(bytes, options) {
|
|
775
751
|
return new GetKeyRequest().fromBinary(bytes, options);
|
|
@@ -781,23 +757,22 @@ class GetKeyRequest extends protobuf_1.Message {
|
|
|
781
757
|
return new GetKeyRequest().fromJsonString(jsonString, options);
|
|
782
758
|
}
|
|
783
759
|
static equals(a, b) {
|
|
784
|
-
return
|
|
760
|
+
return proto3.util.equals(GetKeyRequest, a, b);
|
|
785
761
|
}
|
|
786
762
|
}
|
|
787
|
-
|
|
788
|
-
GetKeyRequest.runtime = protobuf_1.proto3;
|
|
763
|
+
GetKeyRequest.runtime = proto3;
|
|
789
764
|
GetKeyRequest.typeName = "livekit.proto.GetKeyRequest";
|
|
790
|
-
GetKeyRequest.fields =
|
|
765
|
+
GetKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
791
766
|
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
792
767
|
{ no: 2, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
793
768
|
]);
|
|
794
769
|
/**
|
|
795
770
|
* @generated from message livekit.proto.GetKeyResponse
|
|
796
771
|
*/
|
|
797
|
-
class GetKeyResponse extends
|
|
772
|
+
export class GetKeyResponse extends Message {
|
|
798
773
|
constructor(data) {
|
|
799
774
|
super();
|
|
800
|
-
|
|
775
|
+
proto3.util.initPartial(data, this);
|
|
801
776
|
}
|
|
802
777
|
static fromBinary(bytes, options) {
|
|
803
778
|
return new GetKeyResponse().fromBinary(bytes, options);
|
|
@@ -809,30 +784,29 @@ class GetKeyResponse extends protobuf_1.Message {
|
|
|
809
784
|
return new GetKeyResponse().fromJsonString(jsonString, options);
|
|
810
785
|
}
|
|
811
786
|
static equals(a, b) {
|
|
812
|
-
return
|
|
787
|
+
return proto3.util.equals(GetKeyResponse, a, b);
|
|
813
788
|
}
|
|
814
789
|
}
|
|
815
|
-
|
|
816
|
-
GetKeyResponse.runtime = protobuf_1.proto3;
|
|
790
|
+
GetKeyResponse.runtime = proto3;
|
|
817
791
|
GetKeyResponse.typeName = "livekit.proto.GetKeyResponse";
|
|
818
|
-
GetKeyResponse.fields =
|
|
792
|
+
GetKeyResponse.fields = proto3.util.newFieldList(() => [
|
|
819
793
|
{ no: 1, name: "key", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
820
794
|
]);
|
|
821
795
|
/**
|
|
822
796
|
* @generated from message livekit.proto.E2eeRequest
|
|
823
797
|
*/
|
|
824
|
-
class E2eeRequest extends
|
|
798
|
+
export class E2eeRequest extends Message {
|
|
825
799
|
constructor(data) {
|
|
826
800
|
super();
|
|
827
801
|
/**
|
|
828
802
|
* @generated from field: uint64 room_handle = 1;
|
|
829
803
|
*/
|
|
830
|
-
this.roomHandle =
|
|
804
|
+
this.roomHandle = protoInt64.zero;
|
|
831
805
|
/**
|
|
832
806
|
* @generated from oneof livekit.proto.E2eeRequest.message
|
|
833
807
|
*/
|
|
834
808
|
this.message = { case: undefined };
|
|
835
|
-
|
|
809
|
+
proto3.util.initPartial(data, this);
|
|
836
810
|
}
|
|
837
811
|
static fromBinary(bytes, options) {
|
|
838
812
|
return new E2eeRequest().fromBinary(bytes, options);
|
|
@@ -844,13 +818,12 @@ class E2eeRequest extends protobuf_1.Message {
|
|
|
844
818
|
return new E2eeRequest().fromJsonString(jsonString, options);
|
|
845
819
|
}
|
|
846
820
|
static equals(a, b) {
|
|
847
|
-
return
|
|
821
|
+
return proto3.util.equals(E2eeRequest, a, b);
|
|
848
822
|
}
|
|
849
823
|
}
|
|
850
|
-
|
|
851
|
-
E2eeRequest.runtime = protobuf_1.proto3;
|
|
824
|
+
E2eeRequest.runtime = proto3;
|
|
852
825
|
E2eeRequest.typeName = "livekit.proto.E2eeRequest";
|
|
853
|
-
E2eeRequest.fields =
|
|
826
|
+
E2eeRequest.fields = proto3.util.newFieldList(() => [
|
|
854
827
|
{ no: 1, name: "room_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
855
828
|
{ no: 2, name: "manager_set_enabled", kind: "message", T: E2eeManagerSetEnabledRequest, oneof: "message" },
|
|
856
829
|
{ no: 3, name: "manager_get_frame_cryptors", kind: "message", T: E2eeManagerGetFrameCryptorsRequest, oneof: "message" },
|
|
@@ -866,14 +839,14 @@ E2eeRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
866
839
|
/**
|
|
867
840
|
* @generated from message livekit.proto.E2eeResponse
|
|
868
841
|
*/
|
|
869
|
-
class E2eeResponse extends
|
|
842
|
+
export class E2eeResponse extends Message {
|
|
870
843
|
constructor(data) {
|
|
871
844
|
super();
|
|
872
845
|
/**
|
|
873
846
|
* @generated from oneof livekit.proto.E2eeResponse.message
|
|
874
847
|
*/
|
|
875
848
|
this.message = { case: undefined };
|
|
876
|
-
|
|
849
|
+
proto3.util.initPartial(data, this);
|
|
877
850
|
}
|
|
878
851
|
static fromBinary(bytes, options) {
|
|
879
852
|
return new E2eeResponse().fromBinary(bytes, options);
|
|
@@ -885,13 +858,12 @@ class E2eeResponse extends protobuf_1.Message {
|
|
|
885
858
|
return new E2eeResponse().fromJsonString(jsonString, options);
|
|
886
859
|
}
|
|
887
860
|
static equals(a, b) {
|
|
888
|
-
return
|
|
861
|
+
return proto3.util.equals(E2eeResponse, a, b);
|
|
889
862
|
}
|
|
890
863
|
}
|
|
891
|
-
|
|
892
|
-
E2eeResponse.runtime = protobuf_1.proto3;
|
|
864
|
+
E2eeResponse.runtime = proto3;
|
|
893
865
|
E2eeResponse.typeName = "livekit.proto.E2eeResponse";
|
|
894
|
-
E2eeResponse.fields =
|
|
866
|
+
E2eeResponse.fields = proto3.util.newFieldList(() => [
|
|
895
867
|
{ no: 1, name: "manager_set_enabled", kind: "message", T: E2eeManagerSetEnabledResponse, oneof: "message" },
|
|
896
868
|
{ no: 2, name: "manager_get_frame_cryptors", kind: "message", T: E2eeManagerGetFrameCryptorsResponse, oneof: "message" },
|
|
897
869
|
{ no: 3, name: "cryptor_set_enabled", kind: "message", T: FrameCryptorSetEnabledResponse, oneof: "message" },
|