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