@livekit/rtc-node 0.13.23 → 0.13.25
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/dist/audio_filter.cjs +2 -2
- package/dist/audio_filter.cjs.map +1 -1
- package/dist/audio_filter.js +1 -1
- package/dist/audio_filter.js.map +1 -1
- package/dist/audio_frame.cjs +11 -7
- package/dist/audio_frame.cjs.map +1 -1
- package/dist/audio_frame.d.cts +3 -8
- package/dist/audio_frame.d.ts +3 -8
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +10 -6
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_mixer.cjs +11 -4
- package/dist/audio_mixer.cjs.map +1 -1
- package/dist/audio_mixer.d.cts +1 -6
- package/dist/audio_mixer.d.ts +1 -6
- package/dist/audio_mixer.d.ts.map +1 -1
- package/dist/audio_mixer.js +11 -4
- package/dist/audio_mixer.js.map +1 -1
- package/dist/audio_resampler.cjs +20 -12
- package/dist/audio_resampler.cjs.map +1 -1
- package/dist/audio_resampler.d.cts +6 -6
- package/dist/audio_resampler.d.ts +6 -6
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +12 -4
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.cjs +11 -7
- package/dist/audio_source.cjs.map +1 -1
- package/dist/audio_source.d.cts +1 -7
- package/dist/audio_source.d.ts +1 -7
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -3
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.cjs +17 -5
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +1 -14
- package/dist/audio_stream.d.ts +1 -14
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +16 -4
- package/dist/audio_stream.js.map +1 -1
- package/dist/data_streams/index.d.cts +2 -10
- package/dist/data_streams/index.d.ts +2 -10
- package/dist/data_streams/stream_reader.cjs +8 -0
- package/dist/data_streams/stream_reader.cjs.map +1 -1
- package/dist/data_streams/stream_reader.d.cts +2 -10
- package/dist/data_streams/stream_reader.d.ts +2 -10
- package/dist/data_streams/stream_reader.d.ts.map +1 -1
- package/dist/data_streams/stream_reader.js +8 -0
- package/dist/data_streams/stream_reader.js.map +1 -1
- package/dist/data_streams/stream_writer.d.cts +2 -10
- package/dist/data_streams/stream_writer.d.ts +2 -10
- package/dist/data_streams/types.cjs.map +1 -1
- package/dist/data_streams/types.d.cts +2 -10
- package/dist/data_streams/types.d.ts +2 -10
- package/dist/data_streams/types.d.ts.map +1 -1
- package/dist/e2ee.cjs +21 -21
- package/dist/e2ee.cjs.map +1 -1
- package/dist/e2ee.d.cts +1 -2
- package/dist/e2ee.d.ts +1 -2
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +2 -2
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.cjs +11 -12
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +3 -16
- package/dist/ffi_client.d.ts +3 -16
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +5 -3
- package/dist/ffi_client.js.map +1 -1
- package/dist/frame_processor.cjs +13 -2
- package/dist/frame_processor.cjs.map +1 -1
- package/dist/frame_processor.d.cts +5 -8
- package/dist/frame_processor.d.ts +5 -8
- package/dist/frame_processor.d.ts.map +1 -1
- package/dist/frame_processor.js +10 -1
- package/dist/frame_processor.js.map +1 -1
- package/dist/index.cjs +25 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -16
- package/dist/index.d.ts +3 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/log.cjs +1 -10
- package/dist/log.cjs.map +1 -1
- package/dist/log.d.cts +4 -0
- package/dist/log.d.ts +4 -0
- package/dist/log.d.ts.map +1 -1
- package/dist/log.js +1 -10
- package/dist/log.js.map +1 -1
- package/dist/participant.cjs +38 -38
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +2 -15
- package/dist/participant.d.ts +2 -15
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +12 -12
- package/dist/participant.js.map +1 -1
- package/dist/room.cjs +48 -30
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +11 -16
- package/dist/room.d.ts +11 -16
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +44 -26
- package/dist/room.js.map +1 -1
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.cts +1 -2
- package/dist/rpc.d.ts +1 -2
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js.map +1 -1
- package/dist/{stream_reader-Ch2zvjU3.d.cts → stream_reader-CuG4b8Y-.d.cts} +1 -1
- package/dist/{stream_reader-DRyR29vo.d.ts → stream_reader-CuG4b8Y-.d.ts} +1 -1
- package/dist/track.cjs +3 -3
- package/dist/track.cjs.map +1 -1
- package/dist/track.d.cts +1 -14
- package/dist/track.d.ts +1 -14
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +1 -1
- package/dist/track.js.map +1 -1
- package/dist/track_publication.cjs +4 -4
- package/dist/track_publication.cjs.map +1 -1
- package/dist/track_publication.d.cts +1 -14
- package/dist/track_publication.d.ts +1 -14
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +2 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/video_frame.cjs +42 -42
- package/dist/video_frame.cjs.map +1 -1
- package/dist/video_frame.d.cts +1 -6
- package/dist/video_frame.d.ts +1 -6
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +2 -2
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.cjs +5 -5
- package/dist/video_source.cjs.map +1 -1
- package/dist/video_source.d.cts +1 -14
- package/dist/video_source.d.ts +1 -14
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +2 -2
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.cjs +12 -4
- package/dist/video_stream.cjs.map +1 -1
- package/dist/video_stream.d.cts +1 -14
- package/dist/video_stream.d.ts +1 -14
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +10 -2
- package/dist/video_stream.js.map +1 -1
- package/package.json +9 -35
- package/src/audio_filter.ts +2 -2
- package/src/audio_frame.ts +26 -7
- package/src/audio_mixer.ts +15 -4
- package/src/audio_resampler.ts +14 -4
- package/src/audio_source.ts +13 -5
- package/src/audio_stream.ts +21 -5
- package/src/data_streams/stream_reader.ts +19 -1
- package/src/data_streams/types.ts +1 -1
- package/src/e2ee.ts +3 -3
- package/src/ffi_client.ts +7 -5
- package/src/frame_processor.ts +21 -0
- package/src/index.ts +6 -5
- package/src/log.ts +14 -10
- package/src/participant.ts +17 -17
- package/src/room.ts +65 -38
- package/src/rpc.ts +1 -1
- package/src/tests/e2e.test.ts +517 -0
- package/src/track.ts +4 -4
- package/src/track_publication.ts +6 -6
- package/src/version.ts +1 -1
- package/src/video_frame.ts +3 -3
- package/src/video_source.ts +3 -3
- package/src/video_stream.ts +15 -3
- package/Cargo.toml +0 -25
- package/build.rs +0 -9
- package/dist/napi/native.cjs +0 -301
- package/dist/napi/native.d.cjs +0 -17
- package/dist/napi/native.d.cjs.map +0 -1
- package/dist/napi/native.d.d.cts +0 -21
- package/dist/napi/native.d.d.ts +0 -21
- package/dist/napi/native.d.js +0 -1
- package/dist/napi/native.d.js.map +0 -1
- package/dist/napi/native.d.ts +0 -19
- package/dist/napi/native.js +0 -15
- package/dist/native.cjs +0 -301
- package/dist/native.d.ts +0 -19
- package/dist/native.js +0 -15
- package/dist/proto/audio_frame_pb.cjs +0 -1357
- package/dist/proto/audio_frame_pb.cjs.map +0 -1
- package/dist/proto/audio_frame_pb.d.cts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts.map +0 -1
- package/dist/proto/audio_frame_pb.js +0 -1283
- package/dist/proto/audio_frame_pb.js.map +0 -1
- package/dist/proto/data_stream_pb.cjs +0 -1638
- package/dist/proto/data_stream_pb.cjs.map +0 -1
- package/dist/proto/data_stream_pb.d.cts +0 -1449
- package/dist/proto/data_stream_pb.d.ts +0 -1449
- package/dist/proto/data_stream_pb.d.ts.map +0 -1
- package/dist/proto/data_stream_pb.js +0 -1559
- package/dist/proto/data_stream_pb.js.map +0 -1
- package/dist/proto/e2ee_pb.cjs +0 -746
- package/dist/proto/e2ee_pb.cjs.map +0 -1
- package/dist/proto/e2ee_pb.d.cts +0 -653
- package/dist/proto/e2ee_pb.d.ts +0 -653
- package/dist/proto/e2ee_pb.d.ts.map +0 -1
- package/dist/proto/e2ee_pb.js +0 -696
- package/dist/proto/e2ee_pb.js.map +0 -1
- package/dist/proto/ffi_pb.cjs +0 -477
- package/dist/proto/ffi_pb.cjs.map +0 -1
- package/dist/proto/ffi_pb.d.cts +0 -1321
- package/dist/proto/ffi_pb.d.ts +0 -1321
- package/dist/proto/ffi_pb.d.ts.map +0 -1
- package/dist/proto/ffi_pb.js +0 -444
- package/dist/proto/ffi_pb.js.map +0 -1
- package/dist/proto/handle_pb.cjs +0 -53
- package/dist/proto/handle_pb.cjs.map +0 -1
- package/dist/proto/handle_pb.d.cts +0 -31
- package/dist/proto/handle_pb.d.ts +0 -31
- package/dist/proto/handle_pb.d.ts.map +0 -1
- package/dist/proto/handle_pb.js +0 -29
- package/dist/proto/handle_pb.js.map +0 -1
- package/dist/proto/participant_pb.cjs +0 -173
- package/dist/proto/participant_pb.cjs.map +0 -1
- package/dist/proto/participant_pb.d.cts +0 -218
- package/dist/proto/participant_pb.d.ts +0 -218
- package/dist/proto/participant_pb.d.ts.map +0 -1
- package/dist/proto/participant_pb.js +0 -145
- package/dist/proto/participant_pb.js.map +0 -1
- package/dist/proto/room_pb.cjs +0 -3374
- package/dist/proto/room_pb.cjs.map +0 -1
- package/dist/proto/room_pb.d.cts +0 -3028
- package/dist/proto/room_pb.d.ts +0 -3028
- package/dist/proto/room_pb.d.ts.map +0 -1
- package/dist/proto/room_pb.js +0 -3232
- package/dist/proto/room_pb.js.map +0 -1
- package/dist/proto/rpc_pb.cjs +0 -328
- package/dist/proto/rpc_pb.cjs.map +0 -1
- package/dist/proto/rpc_pb.d.cts +0 -267
- package/dist/proto/rpc_pb.d.ts +0 -267
- package/dist/proto/rpc_pb.d.ts.map +0 -1
- package/dist/proto/rpc_pb.js +0 -294
- package/dist/proto/rpc_pb.js.map +0 -1
- package/dist/proto/stats_pb.cjs +0 -1370
- package/dist/proto/stats_pb.cjs.map +0 -1
- package/dist/proto/stats_pb.d.cts +0 -1764
- package/dist/proto/stats_pb.d.ts +0 -1764
- package/dist/proto/stats_pb.d.ts.map +0 -1
- package/dist/proto/stats_pb.js +0 -1300
- package/dist/proto/stats_pb.js.map +0 -1
- package/dist/proto/track_pb.cjs +0 -630
- package/dist/proto/track_pb.cjs.map +0 -1
- package/dist/proto/track_pb.d.cts +0 -542
- package/dist/proto/track_pb.d.ts +0 -542
- package/dist/proto/track_pb.d.ts.map +0 -1
- package/dist/proto/track_pb.js +0 -584
- package/dist/proto/track_pb.js.map +0 -1
- package/dist/proto/track_publication_pb.cjs +0 -194
- package/dist/proto/track_publication_pb.cjs.map +0 -1
- package/dist/proto/track_publication_pb.d.cts +0 -135
- package/dist/proto/track_publication_pb.d.ts +0 -135
- package/dist/proto/track_publication_pb.d.ts.map +0 -1
- package/dist/proto/track_publication_pb.js +0 -164
- package/dist/proto/track_publication_pb.js.map +0 -1
- package/dist/proto/video_frame_pb.cjs +0 -723
- package/dist/proto/video_frame_pb.cjs.map +0 -1
- package/dist/proto/video_frame_pb.d.cts +0 -667
- package/dist/proto/video_frame_pb.d.ts +0 -667
- package/dist/proto/video_frame_pb.d.ts.map +0 -1
- package/dist/proto/video_frame_pb.js +0 -673
- package/dist/proto/video_frame_pb.js.map +0 -1
- package/src/lib.rs +0 -9
- package/src/napi/native.cjs +0 -301
- package/src/napi/native.d.ts +0 -19
- package/src/napi/native.js +0 -15
- package/src/nodejs.rs +0 -134
- package/src/proto/audio_frame_pb.ts +0 -2270
- package/src/proto/data_stream_pb.ts +0 -2674
- package/src/proto/e2ee_pb.ts +0 -1231
- package/src/proto/ffi_pb.ts +0 -1700
- package/src/proto/handle_pb.ts +0 -69
- package/src/proto/participant_pb.ts +0 -351
- package/src/proto/room_pb.ts +0 -5661
- package/src/proto/rpc_pb.ts +0 -539
- package/src/proto/stats_pb.ts +0 -3050
- package/src/proto/track_pb.ts +0 -1040
- package/src/proto/track_publication_pb.ts +0 -284
- package/src/proto/video_frame_pb.ts +0 -1236
package/dist/proto/e2ee_pb.js
DELETED
|
@@ -1,696 +0,0 @@
|
|
|
1
|
-
import { Message, proto2 } from "@bufbuild/protobuf";
|
|
2
|
-
var EncryptionType = /* @__PURE__ */ ((EncryptionType2) => {
|
|
3
|
-
EncryptionType2[EncryptionType2["NONE"] = 0] = "NONE";
|
|
4
|
-
EncryptionType2[EncryptionType2["GCM"] = 1] = "GCM";
|
|
5
|
-
EncryptionType2[EncryptionType2["CUSTOM"] = 2] = "CUSTOM";
|
|
6
|
-
return EncryptionType2;
|
|
7
|
-
})(EncryptionType || {});
|
|
8
|
-
proto2.util.setEnumType(EncryptionType, "livekit.proto.EncryptionType", [
|
|
9
|
-
{ no: 0, name: "NONE" },
|
|
10
|
-
{ no: 1, name: "GCM" },
|
|
11
|
-
{ no: 2, name: "CUSTOM" }
|
|
12
|
-
]);
|
|
13
|
-
var EncryptionState = /* @__PURE__ */ ((EncryptionState2) => {
|
|
14
|
-
EncryptionState2[EncryptionState2["NEW"] = 0] = "NEW";
|
|
15
|
-
EncryptionState2[EncryptionState2["OK"] = 1] = "OK";
|
|
16
|
-
EncryptionState2[EncryptionState2["ENCRYPTION_FAILED"] = 2] = "ENCRYPTION_FAILED";
|
|
17
|
-
EncryptionState2[EncryptionState2["DECRYPTION_FAILED"] = 3] = "DECRYPTION_FAILED";
|
|
18
|
-
EncryptionState2[EncryptionState2["MISSING_KEY"] = 4] = "MISSING_KEY";
|
|
19
|
-
EncryptionState2[EncryptionState2["KEY_RATCHETED"] = 5] = "KEY_RATCHETED";
|
|
20
|
-
EncryptionState2[EncryptionState2["INTERNAL_ERROR"] = 6] = "INTERNAL_ERROR";
|
|
21
|
-
return EncryptionState2;
|
|
22
|
-
})(EncryptionState || {});
|
|
23
|
-
proto2.util.setEnumType(EncryptionState, "livekit.proto.EncryptionState", [
|
|
24
|
-
{ no: 0, name: "NEW" },
|
|
25
|
-
{ no: 1, name: "OK" },
|
|
26
|
-
{ no: 2, name: "ENCRYPTION_FAILED" },
|
|
27
|
-
{ no: 3, name: "DECRYPTION_FAILED" },
|
|
28
|
-
{ no: 4, name: "MISSING_KEY" },
|
|
29
|
-
{ no: 5, name: "KEY_RATCHETED" },
|
|
30
|
-
{ no: 6, name: "INTERNAL_ERROR" }
|
|
31
|
-
]);
|
|
32
|
-
const _FrameCryptor = class _FrameCryptor extends Message {
|
|
33
|
-
constructor(data) {
|
|
34
|
-
super();
|
|
35
|
-
proto2.util.initPartial(data, this);
|
|
36
|
-
}
|
|
37
|
-
static fromBinary(bytes, options) {
|
|
38
|
-
return new _FrameCryptor().fromBinary(bytes, options);
|
|
39
|
-
}
|
|
40
|
-
static fromJson(jsonValue, options) {
|
|
41
|
-
return new _FrameCryptor().fromJson(jsonValue, options);
|
|
42
|
-
}
|
|
43
|
-
static fromJsonString(jsonString, options) {
|
|
44
|
-
return new _FrameCryptor().fromJsonString(jsonString, options);
|
|
45
|
-
}
|
|
46
|
-
static equals(a, b) {
|
|
47
|
-
return proto2.util.equals(_FrameCryptor, a, b);
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
_FrameCryptor.runtime = proto2;
|
|
51
|
-
_FrameCryptor.typeName = "livekit.proto.FrameCryptor";
|
|
52
|
-
_FrameCryptor.fields = proto2.util.newFieldList(() => [
|
|
53
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
54
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9, req: true },
|
|
55
|
-
{ no: 3, name: "key_index", kind: "scalar", T: 5, req: true },
|
|
56
|
-
{ no: 4, name: "enabled", kind: "scalar", T: 8, req: true }
|
|
57
|
-
]);
|
|
58
|
-
let FrameCryptor = _FrameCryptor;
|
|
59
|
-
const _KeyProviderOptions = class _KeyProviderOptions extends Message {
|
|
60
|
-
constructor(data) {
|
|
61
|
-
super();
|
|
62
|
-
proto2.util.initPartial(data, this);
|
|
63
|
-
}
|
|
64
|
-
static fromBinary(bytes, options) {
|
|
65
|
-
return new _KeyProviderOptions().fromBinary(bytes, options);
|
|
66
|
-
}
|
|
67
|
-
static fromJson(jsonValue, options) {
|
|
68
|
-
return new _KeyProviderOptions().fromJson(jsonValue, options);
|
|
69
|
-
}
|
|
70
|
-
static fromJsonString(jsonString, options) {
|
|
71
|
-
return new _KeyProviderOptions().fromJsonString(jsonString, options);
|
|
72
|
-
}
|
|
73
|
-
static equals(a, b) {
|
|
74
|
-
return proto2.util.equals(_KeyProviderOptions, a, b);
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
_KeyProviderOptions.runtime = proto2;
|
|
78
|
-
_KeyProviderOptions.typeName = "livekit.proto.KeyProviderOptions";
|
|
79
|
-
_KeyProviderOptions.fields = proto2.util.newFieldList(() => [
|
|
80
|
-
{ no: 1, name: "shared_key", kind: "scalar", T: 12, opt: true },
|
|
81
|
-
{ no: 2, name: "ratchet_window_size", kind: "scalar", T: 5, req: true },
|
|
82
|
-
{ no: 3, name: "ratchet_salt", kind: "scalar", T: 12, req: true },
|
|
83
|
-
{ no: 4, name: "failure_tolerance", kind: "scalar", T: 5, req: true }
|
|
84
|
-
]);
|
|
85
|
-
let KeyProviderOptions = _KeyProviderOptions;
|
|
86
|
-
const _E2eeOptions = class _E2eeOptions extends Message {
|
|
87
|
-
constructor(data) {
|
|
88
|
-
super();
|
|
89
|
-
proto2.util.initPartial(data, this);
|
|
90
|
-
}
|
|
91
|
-
static fromBinary(bytes, options) {
|
|
92
|
-
return new _E2eeOptions().fromBinary(bytes, options);
|
|
93
|
-
}
|
|
94
|
-
static fromJson(jsonValue, options) {
|
|
95
|
-
return new _E2eeOptions().fromJson(jsonValue, options);
|
|
96
|
-
}
|
|
97
|
-
static fromJsonString(jsonString, options) {
|
|
98
|
-
return new _E2eeOptions().fromJsonString(jsonString, options);
|
|
99
|
-
}
|
|
100
|
-
static equals(a, b) {
|
|
101
|
-
return proto2.util.equals(_E2eeOptions, a, b);
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
_E2eeOptions.runtime = proto2;
|
|
105
|
-
_E2eeOptions.typeName = "livekit.proto.E2eeOptions";
|
|
106
|
-
_E2eeOptions.fields = proto2.util.newFieldList(() => [
|
|
107
|
-
{ no: 1, name: "encryption_type", kind: "enum", T: proto2.getEnumType(EncryptionType), req: true },
|
|
108
|
-
{ no: 2, name: "key_provider_options", kind: "message", T: KeyProviderOptions, req: true }
|
|
109
|
-
]);
|
|
110
|
-
let E2eeOptions = _E2eeOptions;
|
|
111
|
-
const _E2eeManagerSetEnabledRequest = class _E2eeManagerSetEnabledRequest extends Message {
|
|
112
|
-
constructor(data) {
|
|
113
|
-
super();
|
|
114
|
-
proto2.util.initPartial(data, this);
|
|
115
|
-
}
|
|
116
|
-
static fromBinary(bytes, options) {
|
|
117
|
-
return new _E2eeManagerSetEnabledRequest().fromBinary(bytes, options);
|
|
118
|
-
}
|
|
119
|
-
static fromJson(jsonValue, options) {
|
|
120
|
-
return new _E2eeManagerSetEnabledRequest().fromJson(jsonValue, options);
|
|
121
|
-
}
|
|
122
|
-
static fromJsonString(jsonString, options) {
|
|
123
|
-
return new _E2eeManagerSetEnabledRequest().fromJsonString(jsonString, options);
|
|
124
|
-
}
|
|
125
|
-
static equals(a, b) {
|
|
126
|
-
return proto2.util.equals(_E2eeManagerSetEnabledRequest, a, b);
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
_E2eeManagerSetEnabledRequest.runtime = proto2;
|
|
130
|
-
_E2eeManagerSetEnabledRequest.typeName = "livekit.proto.E2eeManagerSetEnabledRequest";
|
|
131
|
-
_E2eeManagerSetEnabledRequest.fields = proto2.util.newFieldList(() => [
|
|
132
|
-
{ no: 1, name: "enabled", kind: "scalar", T: 8, req: true }
|
|
133
|
-
]);
|
|
134
|
-
let E2eeManagerSetEnabledRequest = _E2eeManagerSetEnabledRequest;
|
|
135
|
-
const _E2eeManagerSetEnabledResponse = class _E2eeManagerSetEnabledResponse extends Message {
|
|
136
|
-
constructor(data) {
|
|
137
|
-
super();
|
|
138
|
-
proto2.util.initPartial(data, this);
|
|
139
|
-
}
|
|
140
|
-
static fromBinary(bytes, options) {
|
|
141
|
-
return new _E2eeManagerSetEnabledResponse().fromBinary(bytes, options);
|
|
142
|
-
}
|
|
143
|
-
static fromJson(jsonValue, options) {
|
|
144
|
-
return new _E2eeManagerSetEnabledResponse().fromJson(jsonValue, options);
|
|
145
|
-
}
|
|
146
|
-
static fromJsonString(jsonString, options) {
|
|
147
|
-
return new _E2eeManagerSetEnabledResponse().fromJsonString(jsonString, options);
|
|
148
|
-
}
|
|
149
|
-
static equals(a, b) {
|
|
150
|
-
return proto2.util.equals(_E2eeManagerSetEnabledResponse, a, b);
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
_E2eeManagerSetEnabledResponse.runtime = proto2;
|
|
154
|
-
_E2eeManagerSetEnabledResponse.typeName = "livekit.proto.E2eeManagerSetEnabledResponse";
|
|
155
|
-
_E2eeManagerSetEnabledResponse.fields = proto2.util.newFieldList(() => []);
|
|
156
|
-
let E2eeManagerSetEnabledResponse = _E2eeManagerSetEnabledResponse;
|
|
157
|
-
const _E2eeManagerGetFrameCryptorsRequest = class _E2eeManagerGetFrameCryptorsRequest extends Message {
|
|
158
|
-
constructor(data) {
|
|
159
|
-
super();
|
|
160
|
-
proto2.util.initPartial(data, this);
|
|
161
|
-
}
|
|
162
|
-
static fromBinary(bytes, options) {
|
|
163
|
-
return new _E2eeManagerGetFrameCryptorsRequest().fromBinary(bytes, options);
|
|
164
|
-
}
|
|
165
|
-
static fromJson(jsonValue, options) {
|
|
166
|
-
return new _E2eeManagerGetFrameCryptorsRequest().fromJson(jsonValue, options);
|
|
167
|
-
}
|
|
168
|
-
static fromJsonString(jsonString, options) {
|
|
169
|
-
return new _E2eeManagerGetFrameCryptorsRequest().fromJsonString(jsonString, options);
|
|
170
|
-
}
|
|
171
|
-
static equals(a, b) {
|
|
172
|
-
return proto2.util.equals(_E2eeManagerGetFrameCryptorsRequest, a, b);
|
|
173
|
-
}
|
|
174
|
-
};
|
|
175
|
-
_E2eeManagerGetFrameCryptorsRequest.runtime = proto2;
|
|
176
|
-
_E2eeManagerGetFrameCryptorsRequest.typeName = "livekit.proto.E2eeManagerGetFrameCryptorsRequest";
|
|
177
|
-
_E2eeManagerGetFrameCryptorsRequest.fields = proto2.util.newFieldList(() => []);
|
|
178
|
-
let E2eeManagerGetFrameCryptorsRequest = _E2eeManagerGetFrameCryptorsRequest;
|
|
179
|
-
const _E2eeManagerGetFrameCryptorsResponse = class _E2eeManagerGetFrameCryptorsResponse extends Message {
|
|
180
|
-
constructor(data) {
|
|
181
|
-
super();
|
|
182
|
-
/**
|
|
183
|
-
* @generated from field: repeated livekit.proto.FrameCryptor frame_cryptors = 1;
|
|
184
|
-
*/
|
|
185
|
-
this.frameCryptors = [];
|
|
186
|
-
proto2.util.initPartial(data, this);
|
|
187
|
-
}
|
|
188
|
-
static fromBinary(bytes, options) {
|
|
189
|
-
return new _E2eeManagerGetFrameCryptorsResponse().fromBinary(bytes, options);
|
|
190
|
-
}
|
|
191
|
-
static fromJson(jsonValue, options) {
|
|
192
|
-
return new _E2eeManagerGetFrameCryptorsResponse().fromJson(jsonValue, options);
|
|
193
|
-
}
|
|
194
|
-
static fromJsonString(jsonString, options) {
|
|
195
|
-
return new _E2eeManagerGetFrameCryptorsResponse().fromJsonString(jsonString, options);
|
|
196
|
-
}
|
|
197
|
-
static equals(a, b) {
|
|
198
|
-
return proto2.util.equals(_E2eeManagerGetFrameCryptorsResponse, a, b);
|
|
199
|
-
}
|
|
200
|
-
};
|
|
201
|
-
_E2eeManagerGetFrameCryptorsResponse.runtime = proto2;
|
|
202
|
-
_E2eeManagerGetFrameCryptorsResponse.typeName = "livekit.proto.E2eeManagerGetFrameCryptorsResponse";
|
|
203
|
-
_E2eeManagerGetFrameCryptorsResponse.fields = proto2.util.newFieldList(() => [
|
|
204
|
-
{ no: 1, name: "frame_cryptors", kind: "message", T: FrameCryptor, repeated: true }
|
|
205
|
-
]);
|
|
206
|
-
let E2eeManagerGetFrameCryptorsResponse = _E2eeManagerGetFrameCryptorsResponse;
|
|
207
|
-
const _FrameCryptorSetEnabledRequest = class _FrameCryptorSetEnabledRequest extends Message {
|
|
208
|
-
constructor(data) {
|
|
209
|
-
super();
|
|
210
|
-
proto2.util.initPartial(data, this);
|
|
211
|
-
}
|
|
212
|
-
static fromBinary(bytes, options) {
|
|
213
|
-
return new _FrameCryptorSetEnabledRequest().fromBinary(bytes, options);
|
|
214
|
-
}
|
|
215
|
-
static fromJson(jsonValue, options) {
|
|
216
|
-
return new _FrameCryptorSetEnabledRequest().fromJson(jsonValue, options);
|
|
217
|
-
}
|
|
218
|
-
static fromJsonString(jsonString, options) {
|
|
219
|
-
return new _FrameCryptorSetEnabledRequest().fromJsonString(jsonString, options);
|
|
220
|
-
}
|
|
221
|
-
static equals(a, b) {
|
|
222
|
-
return proto2.util.equals(_FrameCryptorSetEnabledRequest, a, b);
|
|
223
|
-
}
|
|
224
|
-
};
|
|
225
|
-
_FrameCryptorSetEnabledRequest.runtime = proto2;
|
|
226
|
-
_FrameCryptorSetEnabledRequest.typeName = "livekit.proto.FrameCryptorSetEnabledRequest";
|
|
227
|
-
_FrameCryptorSetEnabledRequest.fields = proto2.util.newFieldList(() => [
|
|
228
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
229
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9, req: true },
|
|
230
|
-
{ no: 3, name: "enabled", kind: "scalar", T: 8, req: true }
|
|
231
|
-
]);
|
|
232
|
-
let FrameCryptorSetEnabledRequest = _FrameCryptorSetEnabledRequest;
|
|
233
|
-
const _FrameCryptorSetEnabledResponse = class _FrameCryptorSetEnabledResponse extends Message {
|
|
234
|
-
constructor(data) {
|
|
235
|
-
super();
|
|
236
|
-
proto2.util.initPartial(data, this);
|
|
237
|
-
}
|
|
238
|
-
static fromBinary(bytes, options) {
|
|
239
|
-
return new _FrameCryptorSetEnabledResponse().fromBinary(bytes, options);
|
|
240
|
-
}
|
|
241
|
-
static fromJson(jsonValue, options) {
|
|
242
|
-
return new _FrameCryptorSetEnabledResponse().fromJson(jsonValue, options);
|
|
243
|
-
}
|
|
244
|
-
static fromJsonString(jsonString, options) {
|
|
245
|
-
return new _FrameCryptorSetEnabledResponse().fromJsonString(jsonString, options);
|
|
246
|
-
}
|
|
247
|
-
static equals(a, b) {
|
|
248
|
-
return proto2.util.equals(_FrameCryptorSetEnabledResponse, a, b);
|
|
249
|
-
}
|
|
250
|
-
};
|
|
251
|
-
_FrameCryptorSetEnabledResponse.runtime = proto2;
|
|
252
|
-
_FrameCryptorSetEnabledResponse.typeName = "livekit.proto.FrameCryptorSetEnabledResponse";
|
|
253
|
-
_FrameCryptorSetEnabledResponse.fields = proto2.util.newFieldList(() => []);
|
|
254
|
-
let FrameCryptorSetEnabledResponse = _FrameCryptorSetEnabledResponse;
|
|
255
|
-
const _FrameCryptorSetKeyIndexRequest = class _FrameCryptorSetKeyIndexRequest extends Message {
|
|
256
|
-
constructor(data) {
|
|
257
|
-
super();
|
|
258
|
-
proto2.util.initPartial(data, this);
|
|
259
|
-
}
|
|
260
|
-
static fromBinary(bytes, options) {
|
|
261
|
-
return new _FrameCryptorSetKeyIndexRequest().fromBinary(bytes, options);
|
|
262
|
-
}
|
|
263
|
-
static fromJson(jsonValue, options) {
|
|
264
|
-
return new _FrameCryptorSetKeyIndexRequest().fromJson(jsonValue, options);
|
|
265
|
-
}
|
|
266
|
-
static fromJsonString(jsonString, options) {
|
|
267
|
-
return new _FrameCryptorSetKeyIndexRequest().fromJsonString(jsonString, options);
|
|
268
|
-
}
|
|
269
|
-
static equals(a, b) {
|
|
270
|
-
return proto2.util.equals(_FrameCryptorSetKeyIndexRequest, a, b);
|
|
271
|
-
}
|
|
272
|
-
};
|
|
273
|
-
_FrameCryptorSetKeyIndexRequest.runtime = proto2;
|
|
274
|
-
_FrameCryptorSetKeyIndexRequest.typeName = "livekit.proto.FrameCryptorSetKeyIndexRequest";
|
|
275
|
-
_FrameCryptorSetKeyIndexRequest.fields = proto2.util.newFieldList(() => [
|
|
276
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
277
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9, req: true },
|
|
278
|
-
{ no: 3, name: "key_index", kind: "scalar", T: 5, req: true }
|
|
279
|
-
]);
|
|
280
|
-
let FrameCryptorSetKeyIndexRequest = _FrameCryptorSetKeyIndexRequest;
|
|
281
|
-
const _FrameCryptorSetKeyIndexResponse = class _FrameCryptorSetKeyIndexResponse extends Message {
|
|
282
|
-
constructor(data) {
|
|
283
|
-
super();
|
|
284
|
-
proto2.util.initPartial(data, this);
|
|
285
|
-
}
|
|
286
|
-
static fromBinary(bytes, options) {
|
|
287
|
-
return new _FrameCryptorSetKeyIndexResponse().fromBinary(bytes, options);
|
|
288
|
-
}
|
|
289
|
-
static fromJson(jsonValue, options) {
|
|
290
|
-
return new _FrameCryptorSetKeyIndexResponse().fromJson(jsonValue, options);
|
|
291
|
-
}
|
|
292
|
-
static fromJsonString(jsonString, options) {
|
|
293
|
-
return new _FrameCryptorSetKeyIndexResponse().fromJsonString(jsonString, options);
|
|
294
|
-
}
|
|
295
|
-
static equals(a, b) {
|
|
296
|
-
return proto2.util.equals(_FrameCryptorSetKeyIndexResponse, a, b);
|
|
297
|
-
}
|
|
298
|
-
};
|
|
299
|
-
_FrameCryptorSetKeyIndexResponse.runtime = proto2;
|
|
300
|
-
_FrameCryptorSetKeyIndexResponse.typeName = "livekit.proto.FrameCryptorSetKeyIndexResponse";
|
|
301
|
-
_FrameCryptorSetKeyIndexResponse.fields = proto2.util.newFieldList(() => []);
|
|
302
|
-
let FrameCryptorSetKeyIndexResponse = _FrameCryptorSetKeyIndexResponse;
|
|
303
|
-
const _SetSharedKeyRequest = class _SetSharedKeyRequest extends Message {
|
|
304
|
-
constructor(data) {
|
|
305
|
-
super();
|
|
306
|
-
proto2.util.initPartial(data, this);
|
|
307
|
-
}
|
|
308
|
-
static fromBinary(bytes, options) {
|
|
309
|
-
return new _SetSharedKeyRequest().fromBinary(bytes, options);
|
|
310
|
-
}
|
|
311
|
-
static fromJson(jsonValue, options) {
|
|
312
|
-
return new _SetSharedKeyRequest().fromJson(jsonValue, options);
|
|
313
|
-
}
|
|
314
|
-
static fromJsonString(jsonString, options) {
|
|
315
|
-
return new _SetSharedKeyRequest().fromJsonString(jsonString, options);
|
|
316
|
-
}
|
|
317
|
-
static equals(a, b) {
|
|
318
|
-
return proto2.util.equals(_SetSharedKeyRequest, a, b);
|
|
319
|
-
}
|
|
320
|
-
};
|
|
321
|
-
_SetSharedKeyRequest.runtime = proto2;
|
|
322
|
-
_SetSharedKeyRequest.typeName = "livekit.proto.SetSharedKeyRequest";
|
|
323
|
-
_SetSharedKeyRequest.fields = proto2.util.newFieldList(() => [
|
|
324
|
-
{ no: 1, name: "shared_key", kind: "scalar", T: 12, req: true },
|
|
325
|
-
{ no: 2, name: "key_index", kind: "scalar", T: 5, req: true }
|
|
326
|
-
]);
|
|
327
|
-
let SetSharedKeyRequest = _SetSharedKeyRequest;
|
|
328
|
-
const _SetSharedKeyResponse = class _SetSharedKeyResponse extends Message {
|
|
329
|
-
constructor(data) {
|
|
330
|
-
super();
|
|
331
|
-
proto2.util.initPartial(data, this);
|
|
332
|
-
}
|
|
333
|
-
static fromBinary(bytes, options) {
|
|
334
|
-
return new _SetSharedKeyResponse().fromBinary(bytes, options);
|
|
335
|
-
}
|
|
336
|
-
static fromJson(jsonValue, options) {
|
|
337
|
-
return new _SetSharedKeyResponse().fromJson(jsonValue, options);
|
|
338
|
-
}
|
|
339
|
-
static fromJsonString(jsonString, options) {
|
|
340
|
-
return new _SetSharedKeyResponse().fromJsonString(jsonString, options);
|
|
341
|
-
}
|
|
342
|
-
static equals(a, b) {
|
|
343
|
-
return proto2.util.equals(_SetSharedKeyResponse, a, b);
|
|
344
|
-
}
|
|
345
|
-
};
|
|
346
|
-
_SetSharedKeyResponse.runtime = proto2;
|
|
347
|
-
_SetSharedKeyResponse.typeName = "livekit.proto.SetSharedKeyResponse";
|
|
348
|
-
_SetSharedKeyResponse.fields = proto2.util.newFieldList(() => []);
|
|
349
|
-
let SetSharedKeyResponse = _SetSharedKeyResponse;
|
|
350
|
-
const _RatchetSharedKeyRequest = class _RatchetSharedKeyRequest extends Message {
|
|
351
|
-
constructor(data) {
|
|
352
|
-
super();
|
|
353
|
-
proto2.util.initPartial(data, this);
|
|
354
|
-
}
|
|
355
|
-
static fromBinary(bytes, options) {
|
|
356
|
-
return new _RatchetSharedKeyRequest().fromBinary(bytes, options);
|
|
357
|
-
}
|
|
358
|
-
static fromJson(jsonValue, options) {
|
|
359
|
-
return new _RatchetSharedKeyRequest().fromJson(jsonValue, options);
|
|
360
|
-
}
|
|
361
|
-
static fromJsonString(jsonString, options) {
|
|
362
|
-
return new _RatchetSharedKeyRequest().fromJsonString(jsonString, options);
|
|
363
|
-
}
|
|
364
|
-
static equals(a, b) {
|
|
365
|
-
return proto2.util.equals(_RatchetSharedKeyRequest, a, b);
|
|
366
|
-
}
|
|
367
|
-
};
|
|
368
|
-
_RatchetSharedKeyRequest.runtime = proto2;
|
|
369
|
-
_RatchetSharedKeyRequest.typeName = "livekit.proto.RatchetSharedKeyRequest";
|
|
370
|
-
_RatchetSharedKeyRequest.fields = proto2.util.newFieldList(() => [
|
|
371
|
-
{ no: 1, name: "key_index", kind: "scalar", T: 5, req: true }
|
|
372
|
-
]);
|
|
373
|
-
let RatchetSharedKeyRequest = _RatchetSharedKeyRequest;
|
|
374
|
-
const _RatchetSharedKeyResponse = class _RatchetSharedKeyResponse extends Message {
|
|
375
|
-
constructor(data) {
|
|
376
|
-
super();
|
|
377
|
-
proto2.util.initPartial(data, this);
|
|
378
|
-
}
|
|
379
|
-
static fromBinary(bytes, options) {
|
|
380
|
-
return new _RatchetSharedKeyResponse().fromBinary(bytes, options);
|
|
381
|
-
}
|
|
382
|
-
static fromJson(jsonValue, options) {
|
|
383
|
-
return new _RatchetSharedKeyResponse().fromJson(jsonValue, options);
|
|
384
|
-
}
|
|
385
|
-
static fromJsonString(jsonString, options) {
|
|
386
|
-
return new _RatchetSharedKeyResponse().fromJsonString(jsonString, options);
|
|
387
|
-
}
|
|
388
|
-
static equals(a, b) {
|
|
389
|
-
return proto2.util.equals(_RatchetSharedKeyResponse, a, b);
|
|
390
|
-
}
|
|
391
|
-
};
|
|
392
|
-
_RatchetSharedKeyResponse.runtime = proto2;
|
|
393
|
-
_RatchetSharedKeyResponse.typeName = "livekit.proto.RatchetSharedKeyResponse";
|
|
394
|
-
_RatchetSharedKeyResponse.fields = proto2.util.newFieldList(() => [
|
|
395
|
-
{ no: 1, name: "new_key", kind: "scalar", T: 12, opt: true }
|
|
396
|
-
]);
|
|
397
|
-
let RatchetSharedKeyResponse = _RatchetSharedKeyResponse;
|
|
398
|
-
const _GetSharedKeyRequest = class _GetSharedKeyRequest extends Message {
|
|
399
|
-
constructor(data) {
|
|
400
|
-
super();
|
|
401
|
-
proto2.util.initPartial(data, this);
|
|
402
|
-
}
|
|
403
|
-
static fromBinary(bytes, options) {
|
|
404
|
-
return new _GetSharedKeyRequest().fromBinary(bytes, options);
|
|
405
|
-
}
|
|
406
|
-
static fromJson(jsonValue, options) {
|
|
407
|
-
return new _GetSharedKeyRequest().fromJson(jsonValue, options);
|
|
408
|
-
}
|
|
409
|
-
static fromJsonString(jsonString, options) {
|
|
410
|
-
return new _GetSharedKeyRequest().fromJsonString(jsonString, options);
|
|
411
|
-
}
|
|
412
|
-
static equals(a, b) {
|
|
413
|
-
return proto2.util.equals(_GetSharedKeyRequest, a, b);
|
|
414
|
-
}
|
|
415
|
-
};
|
|
416
|
-
_GetSharedKeyRequest.runtime = proto2;
|
|
417
|
-
_GetSharedKeyRequest.typeName = "livekit.proto.GetSharedKeyRequest";
|
|
418
|
-
_GetSharedKeyRequest.fields = proto2.util.newFieldList(() => [
|
|
419
|
-
{ no: 1, name: "key_index", kind: "scalar", T: 5, req: true }
|
|
420
|
-
]);
|
|
421
|
-
let GetSharedKeyRequest = _GetSharedKeyRequest;
|
|
422
|
-
const _GetSharedKeyResponse = class _GetSharedKeyResponse extends Message {
|
|
423
|
-
constructor(data) {
|
|
424
|
-
super();
|
|
425
|
-
proto2.util.initPartial(data, this);
|
|
426
|
-
}
|
|
427
|
-
static fromBinary(bytes, options) {
|
|
428
|
-
return new _GetSharedKeyResponse().fromBinary(bytes, options);
|
|
429
|
-
}
|
|
430
|
-
static fromJson(jsonValue, options) {
|
|
431
|
-
return new _GetSharedKeyResponse().fromJson(jsonValue, options);
|
|
432
|
-
}
|
|
433
|
-
static fromJsonString(jsonString, options) {
|
|
434
|
-
return new _GetSharedKeyResponse().fromJsonString(jsonString, options);
|
|
435
|
-
}
|
|
436
|
-
static equals(a, b) {
|
|
437
|
-
return proto2.util.equals(_GetSharedKeyResponse, a, b);
|
|
438
|
-
}
|
|
439
|
-
};
|
|
440
|
-
_GetSharedKeyResponse.runtime = proto2;
|
|
441
|
-
_GetSharedKeyResponse.typeName = "livekit.proto.GetSharedKeyResponse";
|
|
442
|
-
_GetSharedKeyResponse.fields = proto2.util.newFieldList(() => [
|
|
443
|
-
{ no: 1, name: "key", kind: "scalar", T: 12, opt: true }
|
|
444
|
-
]);
|
|
445
|
-
let GetSharedKeyResponse = _GetSharedKeyResponse;
|
|
446
|
-
const _SetKeyRequest = class _SetKeyRequest extends Message {
|
|
447
|
-
constructor(data) {
|
|
448
|
-
super();
|
|
449
|
-
proto2.util.initPartial(data, this);
|
|
450
|
-
}
|
|
451
|
-
static fromBinary(bytes, options) {
|
|
452
|
-
return new _SetKeyRequest().fromBinary(bytes, options);
|
|
453
|
-
}
|
|
454
|
-
static fromJson(jsonValue, options) {
|
|
455
|
-
return new _SetKeyRequest().fromJson(jsonValue, options);
|
|
456
|
-
}
|
|
457
|
-
static fromJsonString(jsonString, options) {
|
|
458
|
-
return new _SetKeyRequest().fromJsonString(jsonString, options);
|
|
459
|
-
}
|
|
460
|
-
static equals(a, b) {
|
|
461
|
-
return proto2.util.equals(_SetKeyRequest, a, b);
|
|
462
|
-
}
|
|
463
|
-
};
|
|
464
|
-
_SetKeyRequest.runtime = proto2;
|
|
465
|
-
_SetKeyRequest.typeName = "livekit.proto.SetKeyRequest";
|
|
466
|
-
_SetKeyRequest.fields = proto2.util.newFieldList(() => [
|
|
467
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
468
|
-
{ no: 2, name: "key", kind: "scalar", T: 12, req: true },
|
|
469
|
-
{ no: 3, name: "key_index", kind: "scalar", T: 5, req: true }
|
|
470
|
-
]);
|
|
471
|
-
let SetKeyRequest = _SetKeyRequest;
|
|
472
|
-
const _SetKeyResponse = class _SetKeyResponse extends Message {
|
|
473
|
-
constructor(data) {
|
|
474
|
-
super();
|
|
475
|
-
proto2.util.initPartial(data, this);
|
|
476
|
-
}
|
|
477
|
-
static fromBinary(bytes, options) {
|
|
478
|
-
return new _SetKeyResponse().fromBinary(bytes, options);
|
|
479
|
-
}
|
|
480
|
-
static fromJson(jsonValue, options) {
|
|
481
|
-
return new _SetKeyResponse().fromJson(jsonValue, options);
|
|
482
|
-
}
|
|
483
|
-
static fromJsonString(jsonString, options) {
|
|
484
|
-
return new _SetKeyResponse().fromJsonString(jsonString, options);
|
|
485
|
-
}
|
|
486
|
-
static equals(a, b) {
|
|
487
|
-
return proto2.util.equals(_SetKeyResponse, a, b);
|
|
488
|
-
}
|
|
489
|
-
};
|
|
490
|
-
_SetKeyResponse.runtime = proto2;
|
|
491
|
-
_SetKeyResponse.typeName = "livekit.proto.SetKeyResponse";
|
|
492
|
-
_SetKeyResponse.fields = proto2.util.newFieldList(() => []);
|
|
493
|
-
let SetKeyResponse = _SetKeyResponse;
|
|
494
|
-
const _RatchetKeyRequest = class _RatchetKeyRequest extends Message {
|
|
495
|
-
constructor(data) {
|
|
496
|
-
super();
|
|
497
|
-
proto2.util.initPartial(data, this);
|
|
498
|
-
}
|
|
499
|
-
static fromBinary(bytes, options) {
|
|
500
|
-
return new _RatchetKeyRequest().fromBinary(bytes, options);
|
|
501
|
-
}
|
|
502
|
-
static fromJson(jsonValue, options) {
|
|
503
|
-
return new _RatchetKeyRequest().fromJson(jsonValue, options);
|
|
504
|
-
}
|
|
505
|
-
static fromJsonString(jsonString, options) {
|
|
506
|
-
return new _RatchetKeyRequest().fromJsonString(jsonString, options);
|
|
507
|
-
}
|
|
508
|
-
static equals(a, b) {
|
|
509
|
-
return proto2.util.equals(_RatchetKeyRequest, a, b);
|
|
510
|
-
}
|
|
511
|
-
};
|
|
512
|
-
_RatchetKeyRequest.runtime = proto2;
|
|
513
|
-
_RatchetKeyRequest.typeName = "livekit.proto.RatchetKeyRequest";
|
|
514
|
-
_RatchetKeyRequest.fields = proto2.util.newFieldList(() => [
|
|
515
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
516
|
-
{ no: 2, name: "key_index", kind: "scalar", T: 5, req: true }
|
|
517
|
-
]);
|
|
518
|
-
let RatchetKeyRequest = _RatchetKeyRequest;
|
|
519
|
-
const _RatchetKeyResponse = class _RatchetKeyResponse extends Message {
|
|
520
|
-
constructor(data) {
|
|
521
|
-
super();
|
|
522
|
-
proto2.util.initPartial(data, this);
|
|
523
|
-
}
|
|
524
|
-
static fromBinary(bytes, options) {
|
|
525
|
-
return new _RatchetKeyResponse().fromBinary(bytes, options);
|
|
526
|
-
}
|
|
527
|
-
static fromJson(jsonValue, options) {
|
|
528
|
-
return new _RatchetKeyResponse().fromJson(jsonValue, options);
|
|
529
|
-
}
|
|
530
|
-
static fromJsonString(jsonString, options) {
|
|
531
|
-
return new _RatchetKeyResponse().fromJsonString(jsonString, options);
|
|
532
|
-
}
|
|
533
|
-
static equals(a, b) {
|
|
534
|
-
return proto2.util.equals(_RatchetKeyResponse, a, b);
|
|
535
|
-
}
|
|
536
|
-
};
|
|
537
|
-
_RatchetKeyResponse.runtime = proto2;
|
|
538
|
-
_RatchetKeyResponse.typeName = "livekit.proto.RatchetKeyResponse";
|
|
539
|
-
_RatchetKeyResponse.fields = proto2.util.newFieldList(() => [
|
|
540
|
-
{ no: 1, name: "new_key", kind: "scalar", T: 12, opt: true }
|
|
541
|
-
]);
|
|
542
|
-
let RatchetKeyResponse = _RatchetKeyResponse;
|
|
543
|
-
const _GetKeyRequest = class _GetKeyRequest extends Message {
|
|
544
|
-
constructor(data) {
|
|
545
|
-
super();
|
|
546
|
-
proto2.util.initPartial(data, this);
|
|
547
|
-
}
|
|
548
|
-
static fromBinary(bytes, options) {
|
|
549
|
-
return new _GetKeyRequest().fromBinary(bytes, options);
|
|
550
|
-
}
|
|
551
|
-
static fromJson(jsonValue, options) {
|
|
552
|
-
return new _GetKeyRequest().fromJson(jsonValue, options);
|
|
553
|
-
}
|
|
554
|
-
static fromJsonString(jsonString, options) {
|
|
555
|
-
return new _GetKeyRequest().fromJsonString(jsonString, options);
|
|
556
|
-
}
|
|
557
|
-
static equals(a, b) {
|
|
558
|
-
return proto2.util.equals(_GetKeyRequest, a, b);
|
|
559
|
-
}
|
|
560
|
-
};
|
|
561
|
-
_GetKeyRequest.runtime = proto2;
|
|
562
|
-
_GetKeyRequest.typeName = "livekit.proto.GetKeyRequest";
|
|
563
|
-
_GetKeyRequest.fields = proto2.util.newFieldList(() => [
|
|
564
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9, req: true },
|
|
565
|
-
{ no: 2, name: "key_index", kind: "scalar", T: 5, req: true }
|
|
566
|
-
]);
|
|
567
|
-
let GetKeyRequest = _GetKeyRequest;
|
|
568
|
-
const _GetKeyResponse = class _GetKeyResponse extends Message {
|
|
569
|
-
constructor(data) {
|
|
570
|
-
super();
|
|
571
|
-
proto2.util.initPartial(data, this);
|
|
572
|
-
}
|
|
573
|
-
static fromBinary(bytes, options) {
|
|
574
|
-
return new _GetKeyResponse().fromBinary(bytes, options);
|
|
575
|
-
}
|
|
576
|
-
static fromJson(jsonValue, options) {
|
|
577
|
-
return new _GetKeyResponse().fromJson(jsonValue, options);
|
|
578
|
-
}
|
|
579
|
-
static fromJsonString(jsonString, options) {
|
|
580
|
-
return new _GetKeyResponse().fromJsonString(jsonString, options);
|
|
581
|
-
}
|
|
582
|
-
static equals(a, b) {
|
|
583
|
-
return proto2.util.equals(_GetKeyResponse, a, b);
|
|
584
|
-
}
|
|
585
|
-
};
|
|
586
|
-
_GetKeyResponse.runtime = proto2;
|
|
587
|
-
_GetKeyResponse.typeName = "livekit.proto.GetKeyResponse";
|
|
588
|
-
_GetKeyResponse.fields = proto2.util.newFieldList(() => [
|
|
589
|
-
{ no: 1, name: "key", kind: "scalar", T: 12, opt: true }
|
|
590
|
-
]);
|
|
591
|
-
let GetKeyResponse = _GetKeyResponse;
|
|
592
|
-
const _E2eeRequest = class _E2eeRequest extends Message {
|
|
593
|
-
constructor(data) {
|
|
594
|
-
super();
|
|
595
|
-
/**
|
|
596
|
-
* @generated from oneof livekit.proto.E2eeRequest.message
|
|
597
|
-
*/
|
|
598
|
-
this.message = { case: void 0 };
|
|
599
|
-
proto2.util.initPartial(data, this);
|
|
600
|
-
}
|
|
601
|
-
static fromBinary(bytes, options) {
|
|
602
|
-
return new _E2eeRequest().fromBinary(bytes, options);
|
|
603
|
-
}
|
|
604
|
-
static fromJson(jsonValue, options) {
|
|
605
|
-
return new _E2eeRequest().fromJson(jsonValue, options);
|
|
606
|
-
}
|
|
607
|
-
static fromJsonString(jsonString, options) {
|
|
608
|
-
return new _E2eeRequest().fromJsonString(jsonString, options);
|
|
609
|
-
}
|
|
610
|
-
static equals(a, b) {
|
|
611
|
-
return proto2.util.equals(_E2eeRequest, a, b);
|
|
612
|
-
}
|
|
613
|
-
};
|
|
614
|
-
_E2eeRequest.runtime = proto2;
|
|
615
|
-
_E2eeRequest.typeName = "livekit.proto.E2eeRequest";
|
|
616
|
-
_E2eeRequest.fields = proto2.util.newFieldList(() => [
|
|
617
|
-
{ no: 1, name: "room_handle", kind: "scalar", T: 4, req: true },
|
|
618
|
-
{ no: 2, name: "manager_set_enabled", kind: "message", T: E2eeManagerSetEnabledRequest, oneof: "message" },
|
|
619
|
-
{ no: 3, name: "manager_get_frame_cryptors", kind: "message", T: E2eeManagerGetFrameCryptorsRequest, oneof: "message" },
|
|
620
|
-
{ no: 4, name: "cryptor_set_enabled", kind: "message", T: FrameCryptorSetEnabledRequest, oneof: "message" },
|
|
621
|
-
{ no: 5, name: "cryptor_set_key_index", kind: "message", T: FrameCryptorSetKeyIndexRequest, oneof: "message" },
|
|
622
|
-
{ no: 6, name: "set_shared_key", kind: "message", T: SetSharedKeyRequest, oneof: "message" },
|
|
623
|
-
{ no: 7, name: "ratchet_shared_key", kind: "message", T: RatchetSharedKeyRequest, oneof: "message" },
|
|
624
|
-
{ no: 8, name: "get_shared_key", kind: "message", T: GetSharedKeyRequest, oneof: "message" },
|
|
625
|
-
{ no: 9, name: "set_key", kind: "message", T: SetKeyRequest, oneof: "message" },
|
|
626
|
-
{ no: 10, name: "ratchet_key", kind: "message", T: RatchetKeyRequest, oneof: "message" },
|
|
627
|
-
{ no: 11, name: "get_key", kind: "message", T: GetKeyRequest, oneof: "message" }
|
|
628
|
-
]);
|
|
629
|
-
let E2eeRequest = _E2eeRequest;
|
|
630
|
-
const _E2eeResponse = class _E2eeResponse extends Message {
|
|
631
|
-
constructor(data) {
|
|
632
|
-
super();
|
|
633
|
-
/**
|
|
634
|
-
* @generated from oneof livekit.proto.E2eeResponse.message
|
|
635
|
-
*/
|
|
636
|
-
this.message = { case: void 0 };
|
|
637
|
-
proto2.util.initPartial(data, this);
|
|
638
|
-
}
|
|
639
|
-
static fromBinary(bytes, options) {
|
|
640
|
-
return new _E2eeResponse().fromBinary(bytes, options);
|
|
641
|
-
}
|
|
642
|
-
static fromJson(jsonValue, options) {
|
|
643
|
-
return new _E2eeResponse().fromJson(jsonValue, options);
|
|
644
|
-
}
|
|
645
|
-
static fromJsonString(jsonString, options) {
|
|
646
|
-
return new _E2eeResponse().fromJsonString(jsonString, options);
|
|
647
|
-
}
|
|
648
|
-
static equals(a, b) {
|
|
649
|
-
return proto2.util.equals(_E2eeResponse, a, b);
|
|
650
|
-
}
|
|
651
|
-
};
|
|
652
|
-
_E2eeResponse.runtime = proto2;
|
|
653
|
-
_E2eeResponse.typeName = "livekit.proto.E2eeResponse";
|
|
654
|
-
_E2eeResponse.fields = proto2.util.newFieldList(() => [
|
|
655
|
-
{ no: 1, name: "manager_set_enabled", kind: "message", T: E2eeManagerSetEnabledResponse, oneof: "message" },
|
|
656
|
-
{ no: 2, name: "manager_get_frame_cryptors", kind: "message", T: E2eeManagerGetFrameCryptorsResponse, oneof: "message" },
|
|
657
|
-
{ no: 3, name: "cryptor_set_enabled", kind: "message", T: FrameCryptorSetEnabledResponse, oneof: "message" },
|
|
658
|
-
{ no: 4, name: "cryptor_set_key_index", kind: "message", T: FrameCryptorSetKeyIndexResponse, oneof: "message" },
|
|
659
|
-
{ no: 5, name: "set_shared_key", kind: "message", T: SetSharedKeyResponse, oneof: "message" },
|
|
660
|
-
{ no: 6, name: "ratchet_shared_key", kind: "message", T: RatchetSharedKeyResponse, oneof: "message" },
|
|
661
|
-
{ no: 7, name: "get_shared_key", kind: "message", T: GetSharedKeyResponse, oneof: "message" },
|
|
662
|
-
{ no: 8, name: "set_key", kind: "message", T: SetKeyResponse, oneof: "message" },
|
|
663
|
-
{ no: 9, name: "ratchet_key", kind: "message", T: RatchetKeyResponse, oneof: "message" },
|
|
664
|
-
{ no: 10, name: "get_key", kind: "message", T: GetKeyResponse, oneof: "message" }
|
|
665
|
-
]);
|
|
666
|
-
let E2eeResponse = _E2eeResponse;
|
|
667
|
-
export {
|
|
668
|
-
E2eeManagerGetFrameCryptorsRequest,
|
|
669
|
-
E2eeManagerGetFrameCryptorsResponse,
|
|
670
|
-
E2eeManagerSetEnabledRequest,
|
|
671
|
-
E2eeManagerSetEnabledResponse,
|
|
672
|
-
E2eeOptions,
|
|
673
|
-
E2eeRequest,
|
|
674
|
-
E2eeResponse,
|
|
675
|
-
EncryptionState,
|
|
676
|
-
EncryptionType,
|
|
677
|
-
FrameCryptor,
|
|
678
|
-
FrameCryptorSetEnabledRequest,
|
|
679
|
-
FrameCryptorSetEnabledResponse,
|
|
680
|
-
FrameCryptorSetKeyIndexRequest,
|
|
681
|
-
FrameCryptorSetKeyIndexResponse,
|
|
682
|
-
GetKeyRequest,
|
|
683
|
-
GetKeyResponse,
|
|
684
|
-
GetSharedKeyRequest,
|
|
685
|
-
GetSharedKeyResponse,
|
|
686
|
-
KeyProviderOptions,
|
|
687
|
-
RatchetKeyRequest,
|
|
688
|
-
RatchetKeyResponse,
|
|
689
|
-
RatchetSharedKeyRequest,
|
|
690
|
-
RatchetSharedKeyResponse,
|
|
691
|
-
SetKeyRequest,
|
|
692
|
-
SetKeyResponse,
|
|
693
|
-
SetSharedKeyRequest,
|
|
694
|
-
SetSharedKeyResponse
|
|
695
|
-
};
|
|
696
|
-
//# sourceMappingURL=e2ee_pb.js.map
|