@livekit/rtc-node 0.10.4 → 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 +48 -2
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +143 -24
- 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 +207 -47
- 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/src/proto/e2ee_pb.ts
CHANGED
|
@@ -12,1013 +12,479 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es
|
|
16
|
-
// @generated from file e2ee.proto (package livekit.proto, syntax
|
|
15
|
+
// @generated by protoc-gen-es v2.2.0 with parameter "target=ts"
|
|
16
|
+
// @generated from file e2ee.proto (package livekit.proto, syntax proto2)
|
|
17
17
|
/* eslint-disable */
|
|
18
|
-
// @ts-nocheck
|
|
19
18
|
|
|
20
|
-
import type {
|
|
21
|
-
import {
|
|
19
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
20
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
21
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Describes the file e2ee.proto.
|
|
25
25
|
*/
|
|
26
|
-
export
|
|
27
|
-
|
|
28
|
-
* @generated from enum value: NONE = 0;
|
|
29
|
-
*/
|
|
30
|
-
NONE = 0,
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @generated from enum value: GCM = 1;
|
|
34
|
-
*/
|
|
35
|
-
GCM = 1,
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @generated from enum value: CUSTOM = 2;
|
|
39
|
-
*/
|
|
40
|
-
CUSTOM = 2,
|
|
41
|
-
}
|
|
42
|
-
// Retrieve enum metadata with: proto3.getEnumType(EncryptionType)
|
|
43
|
-
proto3.util.setEnumType(EncryptionType, "livekit.proto.EncryptionType", [
|
|
44
|
-
{ no: 0, name: "NONE" },
|
|
45
|
-
{ no: 1, name: "GCM" },
|
|
46
|
-
{ no: 2, name: "CUSTOM" },
|
|
47
|
-
]);
|
|
26
|
+
export const file_e2ee: GenFile = /*@__PURE__*/
|
|
27
|
+
fileDesc("CgplMmVlLnByb3RvEg1saXZla2l0LnByb3RvImMKDEZyYW1lQ3J5cHRvchIcChRwYXJ0aWNpcGFudF9pZGVudGl0eRgBIAIoCRIRCgl0cmFja19zaWQYAiACKAkSEQoJa2V5X2luZGV4GAMgAigFEg8KB2VuYWJsZWQYBCACKAgidgoSS2V5UHJvdmlkZXJPcHRpb25zEhIKCnNoYXJlZF9rZXkYASABKAwSGwoTcmF0Y2hldF93aW5kb3dfc2l6ZRgCIAIoBRIUCgxyYXRjaGV0X3NhbHQYAyACKAwSGQoRZmFpbHVyZV90b2xlcmFuY2UYBCACKAUihgEKC0UyZWVPcHRpb25zEjYKD2VuY3J5cHRpb25fdHlwZRgBIAIoDjIdLmxpdmVraXQucHJvdG8uRW5jcnlwdGlvblR5cGUSPwoUa2V5X3Byb3ZpZGVyX29wdGlvbnMYAiACKAsyIS5saXZla2l0LnByb3RvLktleVByb3ZpZGVyT3B0aW9ucyIvChxFMmVlTWFuYWdlclNldEVuYWJsZWRSZXF1ZXN0Eg8KB2VuYWJsZWQYASACKAgiHwodRTJlZU1hbmFnZXJTZXRFbmFibGVkUmVzcG9uc2UiJAoiRTJlZU1hbmFnZXJHZXRGcmFtZUNyeXB0b3JzUmVxdWVzdCJaCiNFMmVlTWFuYWdlckdldEZyYW1lQ3J5cHRvcnNSZXNwb25zZRIzCg5mcmFtZV9jcnlwdG9ycxgBIAMoCzIbLmxpdmVraXQucHJvdG8uRnJhbWVDcnlwdG9yImEKHUZyYW1lQ3J5cHRvclNldEVuYWJsZWRSZXF1ZXN0EhwKFHBhcnRpY2lwYW50X2lkZW50aXR5GAEgAigJEhEKCXRyYWNrX3NpZBgCIAIoCRIPCgdlbmFibGVkGAMgAigIIiAKHkZyYW1lQ3J5cHRvclNldEVuYWJsZWRSZXNwb25zZSJkCh5GcmFtZUNyeXB0b3JTZXRLZXlJbmRleFJlcXVlc3QSHAoUcGFydGljaXBhbnRfaWRlbnRpdHkYASACKAkSEQoJdHJhY2tfc2lkGAIgAigJEhEKCWtleV9pbmRleBgDIAIoBSIhCh9GcmFtZUNyeXB0b3JTZXRLZXlJbmRleFJlc3BvbnNlIjwKE1NldFNoYXJlZEtleVJlcXVlc3QSEgoKc2hhcmVkX2tleRgBIAIoDBIRCglrZXlfaW5kZXgYAiACKAUiFgoUU2V0U2hhcmVkS2V5UmVzcG9uc2UiLAoXUmF0Y2hldFNoYXJlZEtleVJlcXVlc3QSEQoJa2V5X2luZGV4GAEgAigFIisKGFJhdGNoZXRTaGFyZWRLZXlSZXNwb25zZRIPCgduZXdfa2V5GAEgASgMIigKE0dldFNoYXJlZEtleVJlcXVlc3QSEQoJa2V5X2luZGV4GAEgAigFIiMKFEdldFNoYXJlZEtleVJlc3BvbnNlEgsKA2tleRgBIAEoDCJNCg1TZXRLZXlSZXF1ZXN0EhwKFHBhcnRpY2lwYW50X2lkZW50aXR5GAEgAigJEgsKA2tleRgCIAIoDBIRCglrZXlfaW5kZXgYAyACKAUiEAoOU2V0S2V5UmVzcG9uc2UiRAoRUmF0Y2hldEtleVJlcXVlc3QSHAoUcGFydGljaXBhbnRfaWRlbnRpdHkYASACKAkSEQoJa2V5X2luZGV4GAIgAigFIiUKElJhdGNoZXRLZXlSZXNwb25zZRIPCgduZXdfa2V5GAEgASgMIkAKDUdldEtleVJlcXVlc3QSHAoUcGFydGljaXBhbnRfaWRlbnRpdHkYASACKAkSEQoJa2V5X2luZGV4GAIgAigFIh0KDkdldEtleVJlc3BvbnNlEgsKA2tleRgBIAEoDCLMBQoLRTJlZVJlcXVlc3QSEwoLcm9vbV9oYW5kbGUYASACKAQSSgoTbWFuYWdlcl9zZXRfZW5hYmxlZBgCIAEoCzIrLmxpdmVraXQucHJvdG8uRTJlZU1hbmFnZXJTZXRFbmFibGVkUmVxdWVzdEgAElcKGm1hbmFnZXJfZ2V0X2ZyYW1lX2NyeXB0b3JzGAMgASgLMjEubGl2ZWtpdC5wcm90by5FMmVlTWFuYWdlckdldEZyYW1lQ3J5cHRvcnNSZXF1ZXN0SAASSwoTY3J5cHRvcl9zZXRfZW5hYmxlZBgEIAEoCzIsLmxpdmVraXQucHJvdG8uRnJhbWVDcnlwdG9yU2V0RW5hYmxlZFJlcXVlc3RIABJOChVjcnlwdG9yX3NldF9rZXlfaW5kZXgYBSABKAsyLS5saXZla2l0LnByb3RvLkZyYW1lQ3J5cHRvclNldEtleUluZGV4UmVxdWVzdEgAEjwKDnNldF9zaGFyZWRfa2V5GAYgASgLMiIubGl2ZWtpdC5wcm90by5TZXRTaGFyZWRLZXlSZXF1ZXN0SAASRAoScmF0Y2hldF9zaGFyZWRfa2V5GAcgASgLMiYubGl2ZWtpdC5wcm90by5SYXRjaGV0U2hhcmVkS2V5UmVxdWVzdEgAEjwKDmdldF9zaGFyZWRfa2V5GAggASgLMiIubGl2ZWtpdC5wcm90by5HZXRTaGFyZWRLZXlSZXF1ZXN0SAASLwoHc2V0X2tleRgJIAEoCzIcLmxpdmVraXQucHJvdG8uU2V0S2V5UmVxdWVzdEgAEjcKC3JhdGNoZXRfa2V5GAogASgLMiAubGl2ZWtpdC5wcm90by5SYXRjaGV0S2V5UmVxdWVzdEgAEi8KB2dldF9rZXkYCyABKAsyHC5saXZla2l0LnByb3RvLkdldEtleVJlcXVlc3RIAEIJCgdtZXNzYWdlIsIFCgxFMmVlUmVzcG9uc2USSwoTbWFuYWdlcl9zZXRfZW5hYmxlZBgBIAEoCzIsLmxpdmVraXQucHJvdG8uRTJlZU1hbmFnZXJTZXRFbmFibGVkUmVzcG9uc2VIABJYChptYW5hZ2VyX2dldF9mcmFtZV9jcnlwdG9ycxgCIAEoCzIyLmxpdmVraXQucHJvdG8uRTJlZU1hbmFnZXJHZXRGcmFtZUNyeXB0b3JzUmVzcG9uc2VIABJMChNjcnlwdG9yX3NldF9lbmFibGVkGAMgASgLMi0ubGl2ZWtpdC5wcm90by5GcmFtZUNyeXB0b3JTZXRFbmFibGVkUmVzcG9uc2VIABJPChVjcnlwdG9yX3NldF9rZXlfaW5kZXgYBCABKAsyLi5saXZla2l0LnByb3RvLkZyYW1lQ3J5cHRvclNldEtleUluZGV4UmVzcG9uc2VIABI9Cg5zZXRfc2hhcmVkX2tleRgFIAEoCzIjLmxpdmVraXQucHJvdG8uU2V0U2hhcmVkS2V5UmVzcG9uc2VIABJFChJyYXRjaGV0X3NoYXJlZF9rZXkYBiABKAsyJy5saXZla2l0LnByb3RvLlJhdGNoZXRTaGFyZWRLZXlSZXNwb25zZUgAEj0KDmdldF9zaGFyZWRfa2V5GAcgASgLMiMubGl2ZWtpdC5wcm90by5HZXRTaGFyZWRLZXlSZXNwb25zZUgAEjAKB3NldF9rZXkYCCABKAsyHS5saXZla2l0LnByb3RvLlNldEtleVJlc3BvbnNlSAASOAoLcmF0Y2hldF9rZXkYCSABKAsyIS5saXZla2l0LnByb3RvLlJhdGNoZXRLZXlSZXNwb25zZUgAEjAKB2dldF9rZXkYCiABKAsyHS5saXZla2l0LnByb3RvLkdldEtleVJlc3BvbnNlSABCCQoHbWVzc2FnZSovCg5FbmNyeXB0aW9uVHlwZRIICgROT05FEAASBwoDR0NNEAESCgoGQ1VTVE9NEAIqiAEKD0VuY3J5cHRpb25TdGF0ZRIHCgNORVcQABIGCgJPSxABEhUKEUVOQ1JZUFRJT05fRkFJTEVEEAISFQoRREVDUllQVElPTl9GQUlMRUQQAxIPCgtNSVNTSU5HX0tFWRAEEhEKDUtFWV9SQVRDSEVURUQQBRISCg5JTlRFUk5BTF9FUlJPUhAGQhCqAg1MaXZlS2l0LlByb3Rv");
|
|
48
28
|
|
|
49
29
|
/**
|
|
50
|
-
* @generated from
|
|
30
|
+
* @generated from message livekit.proto.FrameCryptor
|
|
51
31
|
*/
|
|
52
|
-
export
|
|
53
|
-
/**
|
|
54
|
-
* @generated from enum value: NEW = 0;
|
|
55
|
-
*/
|
|
56
|
-
NEW = 0,
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @generated from enum value: OK = 1;
|
|
60
|
-
*/
|
|
61
|
-
OK = 1,
|
|
62
|
-
|
|
32
|
+
export type FrameCryptor = Message<"livekit.proto.FrameCryptor"> & {
|
|
63
33
|
/**
|
|
64
|
-
* @generated from
|
|
34
|
+
* @generated from field: required string participant_identity = 1;
|
|
65
35
|
*/
|
|
66
|
-
|
|
36
|
+
participantIdentity: string;
|
|
67
37
|
|
|
68
38
|
/**
|
|
69
|
-
* @generated from
|
|
39
|
+
* @generated from field: required string track_sid = 2;
|
|
70
40
|
*/
|
|
71
|
-
|
|
41
|
+
trackSid: string;
|
|
72
42
|
|
|
73
43
|
/**
|
|
74
|
-
* @generated from
|
|
44
|
+
* @generated from field: required int32 key_index = 3;
|
|
75
45
|
*/
|
|
76
|
-
|
|
46
|
+
keyIndex: number;
|
|
77
47
|
|
|
78
48
|
/**
|
|
79
|
-
* @generated from
|
|
49
|
+
* @generated from field: required bool enabled = 4;
|
|
80
50
|
*/
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @generated from enum value: INTERNAL_ERROR = 6;
|
|
85
|
-
*/
|
|
86
|
-
INTERNAL_ERROR = 6,
|
|
87
|
-
}
|
|
88
|
-
// Retrieve enum metadata with: proto3.getEnumType(EncryptionState)
|
|
89
|
-
proto3.util.setEnumType(EncryptionState, "livekit.proto.EncryptionState", [
|
|
90
|
-
{ no: 0, name: "NEW" },
|
|
91
|
-
{ no: 1, name: "OK" },
|
|
92
|
-
{ no: 2, name: "ENCRYPTION_FAILED" },
|
|
93
|
-
{ no: 3, name: "DECRYPTION_FAILED" },
|
|
94
|
-
{ no: 4, name: "MISSING_KEY" },
|
|
95
|
-
{ no: 5, name: "KEY_RATCHETED" },
|
|
96
|
-
{ no: 6, name: "INTERNAL_ERROR" },
|
|
97
|
-
]);
|
|
51
|
+
enabled: boolean;
|
|
52
|
+
};
|
|
98
53
|
|
|
99
54
|
/**
|
|
100
|
-
*
|
|
55
|
+
* Describes the message livekit.proto.FrameCryptor.
|
|
56
|
+
* Use `create(FrameCryptorSchema)` to create a new message.
|
|
101
57
|
*/
|
|
102
|
-
export
|
|
103
|
-
|
|
104
|
-
* @generated from field: string participant_identity = 1;
|
|
105
|
-
*/
|
|
106
|
-
participantIdentity = "";
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* @generated from field: string track_sid = 2;
|
|
110
|
-
*/
|
|
111
|
-
trackSid = "";
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @generated from field: int32 key_index = 3;
|
|
115
|
-
*/
|
|
116
|
-
keyIndex = 0;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @generated from field: bool enabled = 4;
|
|
120
|
-
*/
|
|
121
|
-
enabled = false;
|
|
122
|
-
|
|
123
|
-
constructor(data?: PartialMessage<FrameCryptor>) {
|
|
124
|
-
super();
|
|
125
|
-
proto3.util.initPartial(data, this);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
129
|
-
static readonly typeName = "livekit.proto.FrameCryptor";
|
|
130
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
131
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
132
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
133
|
-
{ no: 3, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
134
|
-
{ no: 4, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
135
|
-
]);
|
|
136
|
-
|
|
137
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameCryptor {
|
|
138
|
-
return new FrameCryptor().fromBinary(bytes, options);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameCryptor {
|
|
142
|
-
return new FrameCryptor().fromJson(jsonValue, options);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptor {
|
|
146
|
-
return new FrameCryptor().fromJsonString(jsonString, options);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
static equals(a: FrameCryptor | PlainMessage<FrameCryptor> | undefined, b: FrameCryptor | PlainMessage<FrameCryptor> | undefined): boolean {
|
|
150
|
-
return proto3.util.equals(FrameCryptor, a, b);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
58
|
+
export const FrameCryptorSchema: GenMessage<FrameCryptor> = /*@__PURE__*/
|
|
59
|
+
messageDesc(file_e2ee, 0);
|
|
153
60
|
|
|
154
61
|
/**
|
|
155
62
|
* @generated from message livekit.proto.KeyProviderOptions
|
|
156
63
|
*/
|
|
157
|
-
export
|
|
64
|
+
export type KeyProviderOptions = Message<"livekit.proto.KeyProviderOptions"> & {
|
|
158
65
|
/**
|
|
159
66
|
* Only specify if you want to use a shared_key
|
|
160
67
|
*
|
|
161
68
|
* @generated from field: optional bytes shared_key = 1;
|
|
162
69
|
*/
|
|
163
|
-
sharedKey
|
|
70
|
+
sharedKey: Uint8Array;
|
|
164
71
|
|
|
165
72
|
/**
|
|
166
|
-
* @generated from field: int32 ratchet_window_size = 2;
|
|
73
|
+
* @generated from field: required int32 ratchet_window_size = 2;
|
|
167
74
|
*/
|
|
168
|
-
ratchetWindowSize
|
|
75
|
+
ratchetWindowSize: number;
|
|
169
76
|
|
|
170
77
|
/**
|
|
171
|
-
* @generated from field: bytes ratchet_salt = 3;
|
|
78
|
+
* @generated from field: required bytes ratchet_salt = 3;
|
|
172
79
|
*/
|
|
173
|
-
ratchetSalt
|
|
80
|
+
ratchetSalt: Uint8Array;
|
|
174
81
|
|
|
175
82
|
/**
|
|
176
|
-
* -1 = no
|
|
83
|
+
* -1 = no tolerance
|
|
177
84
|
*
|
|
178
|
-
* @generated from field: int32 failure_tolerance = 4;
|
|
85
|
+
* @generated from field: required int32 failure_tolerance = 4;
|
|
179
86
|
*/
|
|
180
|
-
failureTolerance
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
190
|
-
{ no: 1, name: "shared_key", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
191
|
-
{ no: 2, name: "ratchet_window_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
192
|
-
{ no: 3, name: "ratchet_salt", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
193
|
-
{ no: 4, name: "failure_tolerance", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
194
|
-
]);
|
|
195
|
-
|
|
196
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KeyProviderOptions {
|
|
197
|
-
return new KeyProviderOptions().fromBinary(bytes, options);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KeyProviderOptions {
|
|
201
|
-
return new KeyProviderOptions().fromJson(jsonValue, options);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KeyProviderOptions {
|
|
205
|
-
return new KeyProviderOptions().fromJsonString(jsonString, options);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
static equals(a: KeyProviderOptions | PlainMessage<KeyProviderOptions> | undefined, b: KeyProviderOptions | PlainMessage<KeyProviderOptions> | undefined): boolean {
|
|
209
|
-
return proto3.util.equals(KeyProviderOptions, a, b);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
87
|
+
failureTolerance: number;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message livekit.proto.KeyProviderOptions.
|
|
92
|
+
* Use `create(KeyProviderOptionsSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export const KeyProviderOptionsSchema: GenMessage<KeyProviderOptions> = /*@__PURE__*/
|
|
95
|
+
messageDesc(file_e2ee, 1);
|
|
212
96
|
|
|
213
97
|
/**
|
|
214
98
|
* @generated from message livekit.proto.E2eeOptions
|
|
215
99
|
*/
|
|
216
|
-
export
|
|
100
|
+
export type E2eeOptions = Message<"livekit.proto.E2eeOptions"> & {
|
|
217
101
|
/**
|
|
218
|
-
* @generated from field: livekit.proto.EncryptionType encryption_type = 1;
|
|
102
|
+
* @generated from field: required livekit.proto.EncryptionType encryption_type = 1;
|
|
219
103
|
*/
|
|
220
|
-
encryptionType
|
|
104
|
+
encryptionType: EncryptionType;
|
|
221
105
|
|
|
222
106
|
/**
|
|
223
|
-
* @generated from field: livekit.proto.KeyProviderOptions key_provider_options = 2;
|
|
107
|
+
* @generated from field: required livekit.proto.KeyProviderOptions key_provider_options = 2;
|
|
224
108
|
*/
|
|
225
109
|
keyProviderOptions?: KeyProviderOptions;
|
|
110
|
+
};
|
|
226
111
|
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
static readonly typeName = "livekit.proto.E2eeOptions";
|
|
234
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
235
|
-
{ no: 1, name: "encryption_type", kind: "enum", T: proto3.getEnumType(EncryptionType) },
|
|
236
|
-
{ no: 2, name: "key_provider_options", kind: "message", T: KeyProviderOptions },
|
|
237
|
-
]);
|
|
238
|
-
|
|
239
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeOptions {
|
|
240
|
-
return new E2eeOptions().fromBinary(bytes, options);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeOptions {
|
|
244
|
-
return new E2eeOptions().fromJson(jsonValue, options);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeOptions {
|
|
248
|
-
return new E2eeOptions().fromJsonString(jsonString, options);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
static equals(a: E2eeOptions | PlainMessage<E2eeOptions> | undefined, b: E2eeOptions | PlainMessage<E2eeOptions> | undefined): boolean {
|
|
252
|
-
return proto3.util.equals(E2eeOptions, a, b);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message livekit.proto.E2eeOptions.
|
|
114
|
+
* Use `create(E2eeOptionsSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export const E2eeOptionsSchema: GenMessage<E2eeOptions> = /*@__PURE__*/
|
|
117
|
+
messageDesc(file_e2ee, 2);
|
|
255
118
|
|
|
256
119
|
/**
|
|
257
120
|
* @generated from message livekit.proto.E2eeManagerSetEnabledRequest
|
|
258
121
|
*/
|
|
259
|
-
export
|
|
122
|
+
export type E2eeManagerSetEnabledRequest = Message<"livekit.proto.E2eeManagerSetEnabledRequest"> & {
|
|
260
123
|
/**
|
|
261
|
-
* @generated from field: bool enabled = 1;
|
|
124
|
+
* @generated from field: required bool enabled = 1;
|
|
262
125
|
*/
|
|
263
|
-
enabled
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
273
|
-
{ no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
274
|
-
]);
|
|
275
|
-
|
|
276
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeManagerSetEnabledRequest {
|
|
277
|
-
return new E2eeManagerSetEnabledRequest().fromBinary(bytes, options);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeManagerSetEnabledRequest {
|
|
281
|
-
return new E2eeManagerSetEnabledRequest().fromJson(jsonValue, options);
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeManagerSetEnabledRequest {
|
|
285
|
-
return new E2eeManagerSetEnabledRequest().fromJsonString(jsonString, options);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
static equals(a: E2eeManagerSetEnabledRequest | PlainMessage<E2eeManagerSetEnabledRequest> | undefined, b: E2eeManagerSetEnabledRequest | PlainMessage<E2eeManagerSetEnabledRequest> | undefined): boolean {
|
|
289
|
-
return proto3.util.equals(E2eeManagerSetEnabledRequest, a, b);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
126
|
+
enabled: boolean;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message livekit.proto.E2eeManagerSetEnabledRequest.
|
|
131
|
+
* Use `create(E2eeManagerSetEnabledRequestSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export const E2eeManagerSetEnabledRequestSchema: GenMessage<E2eeManagerSetEnabledRequest> = /*@__PURE__*/
|
|
134
|
+
messageDesc(file_e2ee, 3);
|
|
292
135
|
|
|
293
136
|
/**
|
|
294
137
|
* @generated from message livekit.proto.E2eeManagerSetEnabledResponse
|
|
295
138
|
*/
|
|
296
|
-
export
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
]);
|
|
306
|
-
|
|
307
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeManagerSetEnabledResponse {
|
|
308
|
-
return new E2eeManagerSetEnabledResponse().fromBinary(bytes, options);
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeManagerSetEnabledResponse {
|
|
312
|
-
return new E2eeManagerSetEnabledResponse().fromJson(jsonValue, options);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeManagerSetEnabledResponse {
|
|
316
|
-
return new E2eeManagerSetEnabledResponse().fromJsonString(jsonString, options);
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
static equals(a: E2eeManagerSetEnabledResponse | PlainMessage<E2eeManagerSetEnabledResponse> | undefined, b: E2eeManagerSetEnabledResponse | PlainMessage<E2eeManagerSetEnabledResponse> | undefined): boolean {
|
|
320
|
-
return proto3.util.equals(E2eeManagerSetEnabledResponse, a, b);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
139
|
+
export type E2eeManagerSetEnabledResponse = Message<"livekit.proto.E2eeManagerSetEnabledResponse"> & {
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message livekit.proto.E2eeManagerSetEnabledResponse.
|
|
144
|
+
* Use `create(E2eeManagerSetEnabledResponseSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
export const E2eeManagerSetEnabledResponseSchema: GenMessage<E2eeManagerSetEnabledResponse> = /*@__PURE__*/
|
|
147
|
+
messageDesc(file_e2ee, 4);
|
|
323
148
|
|
|
324
149
|
/**
|
|
325
150
|
* @generated from message livekit.proto.E2eeManagerGetFrameCryptorsRequest
|
|
326
151
|
*/
|
|
327
|
-
export
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
]);
|
|
337
|
-
|
|
338
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeManagerGetFrameCryptorsRequest {
|
|
339
|
-
return new E2eeManagerGetFrameCryptorsRequest().fromBinary(bytes, options);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeManagerGetFrameCryptorsRequest {
|
|
343
|
-
return new E2eeManagerGetFrameCryptorsRequest().fromJson(jsonValue, options);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeManagerGetFrameCryptorsRequest {
|
|
347
|
-
return new E2eeManagerGetFrameCryptorsRequest().fromJsonString(jsonString, options);
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
static equals(a: E2eeManagerGetFrameCryptorsRequest | PlainMessage<E2eeManagerGetFrameCryptorsRequest> | undefined, b: E2eeManagerGetFrameCryptorsRequest | PlainMessage<E2eeManagerGetFrameCryptorsRequest> | undefined): boolean {
|
|
351
|
-
return proto3.util.equals(E2eeManagerGetFrameCryptorsRequest, a, b);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
152
|
+
export type E2eeManagerGetFrameCryptorsRequest = Message<"livekit.proto.E2eeManagerGetFrameCryptorsRequest"> & {
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message livekit.proto.E2eeManagerGetFrameCryptorsRequest.
|
|
157
|
+
* Use `create(E2eeManagerGetFrameCryptorsRequestSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export const E2eeManagerGetFrameCryptorsRequestSchema: GenMessage<E2eeManagerGetFrameCryptorsRequest> = /*@__PURE__*/
|
|
160
|
+
messageDesc(file_e2ee, 5);
|
|
354
161
|
|
|
355
162
|
/**
|
|
356
163
|
* @generated from message livekit.proto.E2eeManagerGetFrameCryptorsResponse
|
|
357
164
|
*/
|
|
358
|
-
export
|
|
165
|
+
export type E2eeManagerGetFrameCryptorsResponse = Message<"livekit.proto.E2eeManagerGetFrameCryptorsResponse"> & {
|
|
359
166
|
/**
|
|
360
167
|
* @generated from field: repeated livekit.proto.FrameCryptor frame_cryptors = 1;
|
|
361
168
|
*/
|
|
362
|
-
frameCryptors: FrameCryptor[]
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
372
|
-
{ no: 1, name: "frame_cryptors", kind: "message", T: FrameCryptor, repeated: true },
|
|
373
|
-
]);
|
|
374
|
-
|
|
375
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeManagerGetFrameCryptorsResponse {
|
|
376
|
-
return new E2eeManagerGetFrameCryptorsResponse().fromBinary(bytes, options);
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeManagerGetFrameCryptorsResponse {
|
|
380
|
-
return new E2eeManagerGetFrameCryptorsResponse().fromJson(jsonValue, options);
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeManagerGetFrameCryptorsResponse {
|
|
384
|
-
return new E2eeManagerGetFrameCryptorsResponse().fromJsonString(jsonString, options);
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
static equals(a: E2eeManagerGetFrameCryptorsResponse | PlainMessage<E2eeManagerGetFrameCryptorsResponse> | undefined, b: E2eeManagerGetFrameCryptorsResponse | PlainMessage<E2eeManagerGetFrameCryptorsResponse> | undefined): boolean {
|
|
388
|
-
return proto3.util.equals(E2eeManagerGetFrameCryptorsResponse, a, b);
|
|
389
|
-
}
|
|
390
|
-
}
|
|
169
|
+
frameCryptors: FrameCryptor[];
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Describes the message livekit.proto.E2eeManagerGetFrameCryptorsResponse.
|
|
174
|
+
* Use `create(E2eeManagerGetFrameCryptorsResponseSchema)` to create a new message.
|
|
175
|
+
*/
|
|
176
|
+
export const E2eeManagerGetFrameCryptorsResponseSchema: GenMessage<E2eeManagerGetFrameCryptorsResponse> = /*@__PURE__*/
|
|
177
|
+
messageDesc(file_e2ee, 6);
|
|
391
178
|
|
|
392
179
|
/**
|
|
393
180
|
* @generated from message livekit.proto.FrameCryptorSetEnabledRequest
|
|
394
181
|
*/
|
|
395
|
-
export
|
|
182
|
+
export type FrameCryptorSetEnabledRequest = Message<"livekit.proto.FrameCryptorSetEnabledRequest"> & {
|
|
396
183
|
/**
|
|
397
|
-
* @generated from field: string participant_identity = 1;
|
|
184
|
+
* @generated from field: required string participant_identity = 1;
|
|
398
185
|
*/
|
|
399
|
-
participantIdentity
|
|
186
|
+
participantIdentity: string;
|
|
400
187
|
|
|
401
188
|
/**
|
|
402
|
-
* @generated from field: string track_sid = 2;
|
|
189
|
+
* @generated from field: required string track_sid = 2;
|
|
403
190
|
*/
|
|
404
|
-
trackSid
|
|
191
|
+
trackSid: string;
|
|
405
192
|
|
|
406
193
|
/**
|
|
407
|
-
* @generated from field: bool enabled = 3;
|
|
194
|
+
* @generated from field: required bool enabled = 3;
|
|
408
195
|
*/
|
|
409
|
-
enabled
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
419
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
420
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
421
|
-
{ no: 3, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
422
|
-
]);
|
|
423
|
-
|
|
424
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameCryptorSetEnabledRequest {
|
|
425
|
-
return new FrameCryptorSetEnabledRequest().fromBinary(bytes, options);
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameCryptorSetEnabledRequest {
|
|
429
|
-
return new FrameCryptorSetEnabledRequest().fromJson(jsonValue, options);
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptorSetEnabledRequest {
|
|
433
|
-
return new FrameCryptorSetEnabledRequest().fromJsonString(jsonString, options);
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
static equals(a: FrameCryptorSetEnabledRequest | PlainMessage<FrameCryptorSetEnabledRequest> | undefined, b: FrameCryptorSetEnabledRequest | PlainMessage<FrameCryptorSetEnabledRequest> | undefined): boolean {
|
|
437
|
-
return proto3.util.equals(FrameCryptorSetEnabledRequest, a, b);
|
|
438
|
-
}
|
|
439
|
-
}
|
|
196
|
+
enabled: boolean;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Describes the message livekit.proto.FrameCryptorSetEnabledRequest.
|
|
201
|
+
* Use `create(FrameCryptorSetEnabledRequestSchema)` to create a new message.
|
|
202
|
+
*/
|
|
203
|
+
export const FrameCryptorSetEnabledRequestSchema: GenMessage<FrameCryptorSetEnabledRequest> = /*@__PURE__*/
|
|
204
|
+
messageDesc(file_e2ee, 7);
|
|
440
205
|
|
|
441
206
|
/**
|
|
442
207
|
* @generated from message livekit.proto.FrameCryptorSetEnabledResponse
|
|
443
208
|
*/
|
|
444
|
-
export
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
]);
|
|
454
|
-
|
|
455
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameCryptorSetEnabledResponse {
|
|
456
|
-
return new FrameCryptorSetEnabledResponse().fromBinary(bytes, options);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameCryptorSetEnabledResponse {
|
|
460
|
-
return new FrameCryptorSetEnabledResponse().fromJson(jsonValue, options);
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptorSetEnabledResponse {
|
|
464
|
-
return new FrameCryptorSetEnabledResponse().fromJsonString(jsonString, options);
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
static equals(a: FrameCryptorSetEnabledResponse | PlainMessage<FrameCryptorSetEnabledResponse> | undefined, b: FrameCryptorSetEnabledResponse | PlainMessage<FrameCryptorSetEnabledResponse> | undefined): boolean {
|
|
468
|
-
return proto3.util.equals(FrameCryptorSetEnabledResponse, a, b);
|
|
469
|
-
}
|
|
470
|
-
}
|
|
209
|
+
export type FrameCryptorSetEnabledResponse = Message<"livekit.proto.FrameCryptorSetEnabledResponse"> & {
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Describes the message livekit.proto.FrameCryptorSetEnabledResponse.
|
|
214
|
+
* Use `create(FrameCryptorSetEnabledResponseSchema)` to create a new message.
|
|
215
|
+
*/
|
|
216
|
+
export const FrameCryptorSetEnabledResponseSchema: GenMessage<FrameCryptorSetEnabledResponse> = /*@__PURE__*/
|
|
217
|
+
messageDesc(file_e2ee, 8);
|
|
471
218
|
|
|
472
219
|
/**
|
|
473
220
|
* @generated from message livekit.proto.FrameCryptorSetKeyIndexRequest
|
|
474
221
|
*/
|
|
475
|
-
export
|
|
222
|
+
export type FrameCryptorSetKeyIndexRequest = Message<"livekit.proto.FrameCryptorSetKeyIndexRequest"> & {
|
|
476
223
|
/**
|
|
477
|
-
* @generated from field: string participant_identity = 1;
|
|
224
|
+
* @generated from field: required string participant_identity = 1;
|
|
478
225
|
*/
|
|
479
|
-
participantIdentity
|
|
226
|
+
participantIdentity: string;
|
|
480
227
|
|
|
481
228
|
/**
|
|
482
|
-
* @generated from field: string track_sid = 2;
|
|
229
|
+
* @generated from field: required string track_sid = 2;
|
|
483
230
|
*/
|
|
484
|
-
trackSid
|
|
231
|
+
trackSid: string;
|
|
485
232
|
|
|
486
233
|
/**
|
|
487
|
-
* @generated from field: int32 key_index = 3;
|
|
234
|
+
* @generated from field: required int32 key_index = 3;
|
|
488
235
|
*/
|
|
489
|
-
keyIndex
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
499
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
500
|
-
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
501
|
-
{ no: 3, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
502
|
-
]);
|
|
503
|
-
|
|
504
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameCryptorSetKeyIndexRequest {
|
|
505
|
-
return new FrameCryptorSetKeyIndexRequest().fromBinary(bytes, options);
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameCryptorSetKeyIndexRequest {
|
|
509
|
-
return new FrameCryptorSetKeyIndexRequest().fromJson(jsonValue, options);
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptorSetKeyIndexRequest {
|
|
513
|
-
return new FrameCryptorSetKeyIndexRequest().fromJsonString(jsonString, options);
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
static equals(a: FrameCryptorSetKeyIndexRequest | PlainMessage<FrameCryptorSetKeyIndexRequest> | undefined, b: FrameCryptorSetKeyIndexRequest | PlainMessage<FrameCryptorSetKeyIndexRequest> | undefined): boolean {
|
|
517
|
-
return proto3.util.equals(FrameCryptorSetKeyIndexRequest, a, b);
|
|
518
|
-
}
|
|
519
|
-
}
|
|
236
|
+
keyIndex: number;
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Describes the message livekit.proto.FrameCryptorSetKeyIndexRequest.
|
|
241
|
+
* Use `create(FrameCryptorSetKeyIndexRequestSchema)` to create a new message.
|
|
242
|
+
*/
|
|
243
|
+
export const FrameCryptorSetKeyIndexRequestSchema: GenMessage<FrameCryptorSetKeyIndexRequest> = /*@__PURE__*/
|
|
244
|
+
messageDesc(file_e2ee, 9);
|
|
520
245
|
|
|
521
246
|
/**
|
|
522
247
|
* @generated from message livekit.proto.FrameCryptorSetKeyIndexResponse
|
|
523
248
|
*/
|
|
524
|
-
export
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
]);
|
|
534
|
-
|
|
535
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameCryptorSetKeyIndexResponse {
|
|
536
|
-
return new FrameCryptorSetKeyIndexResponse().fromBinary(bytes, options);
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameCryptorSetKeyIndexResponse {
|
|
540
|
-
return new FrameCryptorSetKeyIndexResponse().fromJson(jsonValue, options);
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptorSetKeyIndexResponse {
|
|
544
|
-
return new FrameCryptorSetKeyIndexResponse().fromJsonString(jsonString, options);
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
static equals(a: FrameCryptorSetKeyIndexResponse | PlainMessage<FrameCryptorSetKeyIndexResponse> | undefined, b: FrameCryptorSetKeyIndexResponse | PlainMessage<FrameCryptorSetKeyIndexResponse> | undefined): boolean {
|
|
548
|
-
return proto3.util.equals(FrameCryptorSetKeyIndexResponse, a, b);
|
|
549
|
-
}
|
|
550
|
-
}
|
|
249
|
+
export type FrameCryptorSetKeyIndexResponse = Message<"livekit.proto.FrameCryptorSetKeyIndexResponse"> & {
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Describes the message livekit.proto.FrameCryptorSetKeyIndexResponse.
|
|
254
|
+
* Use `create(FrameCryptorSetKeyIndexResponseSchema)` to create a new message.
|
|
255
|
+
*/
|
|
256
|
+
export const FrameCryptorSetKeyIndexResponseSchema: GenMessage<FrameCryptorSetKeyIndexResponse> = /*@__PURE__*/
|
|
257
|
+
messageDesc(file_e2ee, 10);
|
|
551
258
|
|
|
552
259
|
/**
|
|
553
260
|
* @generated from message livekit.proto.SetSharedKeyRequest
|
|
554
261
|
*/
|
|
555
|
-
export
|
|
262
|
+
export type SetSharedKeyRequest = Message<"livekit.proto.SetSharedKeyRequest"> & {
|
|
556
263
|
/**
|
|
557
|
-
* @generated from field: bytes shared_key = 1;
|
|
264
|
+
* @generated from field: required bytes shared_key = 1;
|
|
558
265
|
*/
|
|
559
|
-
sharedKey
|
|
266
|
+
sharedKey: Uint8Array;
|
|
560
267
|
|
|
561
268
|
/**
|
|
562
|
-
* @generated from field: int32 key_index = 2;
|
|
269
|
+
* @generated from field: required int32 key_index = 2;
|
|
563
270
|
*/
|
|
564
|
-
keyIndex
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
574
|
-
{ no: 1, name: "shared_key", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
575
|
-
{ no: 2, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
576
|
-
]);
|
|
577
|
-
|
|
578
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetSharedKeyRequest {
|
|
579
|
-
return new SetSharedKeyRequest().fromBinary(bytes, options);
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetSharedKeyRequest {
|
|
583
|
-
return new SetSharedKeyRequest().fromJson(jsonValue, options);
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetSharedKeyRequest {
|
|
587
|
-
return new SetSharedKeyRequest().fromJsonString(jsonString, options);
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
static equals(a: SetSharedKeyRequest | PlainMessage<SetSharedKeyRequest> | undefined, b: SetSharedKeyRequest | PlainMessage<SetSharedKeyRequest> | undefined): boolean {
|
|
591
|
-
return proto3.util.equals(SetSharedKeyRequest, a, b);
|
|
592
|
-
}
|
|
593
|
-
}
|
|
271
|
+
keyIndex: number;
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Describes the message livekit.proto.SetSharedKeyRequest.
|
|
276
|
+
* Use `create(SetSharedKeyRequestSchema)` to create a new message.
|
|
277
|
+
*/
|
|
278
|
+
export const SetSharedKeyRequestSchema: GenMessage<SetSharedKeyRequest> = /*@__PURE__*/
|
|
279
|
+
messageDesc(file_e2ee, 11);
|
|
594
280
|
|
|
595
281
|
/**
|
|
596
282
|
* @generated from message livekit.proto.SetSharedKeyResponse
|
|
597
283
|
*/
|
|
598
|
-
export
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
]);
|
|
608
|
-
|
|
609
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetSharedKeyResponse {
|
|
610
|
-
return new SetSharedKeyResponse().fromBinary(bytes, options);
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetSharedKeyResponse {
|
|
614
|
-
return new SetSharedKeyResponse().fromJson(jsonValue, options);
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetSharedKeyResponse {
|
|
618
|
-
return new SetSharedKeyResponse().fromJsonString(jsonString, options);
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
static equals(a: SetSharedKeyResponse | PlainMessage<SetSharedKeyResponse> | undefined, b: SetSharedKeyResponse | PlainMessage<SetSharedKeyResponse> | undefined): boolean {
|
|
622
|
-
return proto3.util.equals(SetSharedKeyResponse, a, b);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
284
|
+
export type SetSharedKeyResponse = Message<"livekit.proto.SetSharedKeyResponse"> & {
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Describes the message livekit.proto.SetSharedKeyResponse.
|
|
289
|
+
* Use `create(SetSharedKeyResponseSchema)` to create a new message.
|
|
290
|
+
*/
|
|
291
|
+
export const SetSharedKeyResponseSchema: GenMessage<SetSharedKeyResponse> = /*@__PURE__*/
|
|
292
|
+
messageDesc(file_e2ee, 12);
|
|
625
293
|
|
|
626
294
|
/**
|
|
627
295
|
* @generated from message livekit.proto.RatchetSharedKeyRequest
|
|
628
296
|
*/
|
|
629
|
-
export
|
|
297
|
+
export type RatchetSharedKeyRequest = Message<"livekit.proto.RatchetSharedKeyRequest"> & {
|
|
630
298
|
/**
|
|
631
|
-
* @generated from field: int32 key_index = 1;
|
|
299
|
+
* @generated from field: required int32 key_index = 1;
|
|
632
300
|
*/
|
|
633
|
-
keyIndex
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
643
|
-
{ no: 1, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
644
|
-
]);
|
|
645
|
-
|
|
646
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RatchetSharedKeyRequest {
|
|
647
|
-
return new RatchetSharedKeyRequest().fromBinary(bytes, options);
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RatchetSharedKeyRequest {
|
|
651
|
-
return new RatchetSharedKeyRequest().fromJson(jsonValue, options);
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetSharedKeyRequest {
|
|
655
|
-
return new RatchetSharedKeyRequest().fromJsonString(jsonString, options);
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
static equals(a: RatchetSharedKeyRequest | PlainMessage<RatchetSharedKeyRequest> | undefined, b: RatchetSharedKeyRequest | PlainMessage<RatchetSharedKeyRequest> | undefined): boolean {
|
|
659
|
-
return proto3.util.equals(RatchetSharedKeyRequest, a, b);
|
|
660
|
-
}
|
|
661
|
-
}
|
|
301
|
+
keyIndex: number;
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Describes the message livekit.proto.RatchetSharedKeyRequest.
|
|
306
|
+
* Use `create(RatchetSharedKeyRequestSchema)` to create a new message.
|
|
307
|
+
*/
|
|
308
|
+
export const RatchetSharedKeyRequestSchema: GenMessage<RatchetSharedKeyRequest> = /*@__PURE__*/
|
|
309
|
+
messageDesc(file_e2ee, 13);
|
|
662
310
|
|
|
663
311
|
/**
|
|
664
312
|
* @generated from message livekit.proto.RatchetSharedKeyResponse
|
|
665
313
|
*/
|
|
666
|
-
export
|
|
314
|
+
export type RatchetSharedKeyResponse = Message<"livekit.proto.RatchetSharedKeyResponse"> & {
|
|
667
315
|
/**
|
|
668
316
|
* @generated from field: optional bytes new_key = 1;
|
|
669
317
|
*/
|
|
670
|
-
newKey
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
680
|
-
{ no: 1, name: "new_key", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
681
|
-
]);
|
|
682
|
-
|
|
683
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RatchetSharedKeyResponse {
|
|
684
|
-
return new RatchetSharedKeyResponse().fromBinary(bytes, options);
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RatchetSharedKeyResponse {
|
|
688
|
-
return new RatchetSharedKeyResponse().fromJson(jsonValue, options);
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetSharedKeyResponse {
|
|
692
|
-
return new RatchetSharedKeyResponse().fromJsonString(jsonString, options);
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
static equals(a: RatchetSharedKeyResponse | PlainMessage<RatchetSharedKeyResponse> | undefined, b: RatchetSharedKeyResponse | PlainMessage<RatchetSharedKeyResponse> | undefined): boolean {
|
|
696
|
-
return proto3.util.equals(RatchetSharedKeyResponse, a, b);
|
|
697
|
-
}
|
|
698
|
-
}
|
|
318
|
+
newKey: Uint8Array;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Describes the message livekit.proto.RatchetSharedKeyResponse.
|
|
323
|
+
* Use `create(RatchetSharedKeyResponseSchema)` to create a new message.
|
|
324
|
+
*/
|
|
325
|
+
export const RatchetSharedKeyResponseSchema: GenMessage<RatchetSharedKeyResponse> = /*@__PURE__*/
|
|
326
|
+
messageDesc(file_e2ee, 14);
|
|
699
327
|
|
|
700
328
|
/**
|
|
701
329
|
* @generated from message livekit.proto.GetSharedKeyRequest
|
|
702
330
|
*/
|
|
703
|
-
export
|
|
331
|
+
export type GetSharedKeyRequest = Message<"livekit.proto.GetSharedKeyRequest"> & {
|
|
704
332
|
/**
|
|
705
|
-
* @generated from field: int32 key_index = 1;
|
|
333
|
+
* @generated from field: required int32 key_index = 1;
|
|
706
334
|
*/
|
|
707
|
-
keyIndex
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
717
|
-
{ no: 1, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
718
|
-
]);
|
|
719
|
-
|
|
720
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSharedKeyRequest {
|
|
721
|
-
return new GetSharedKeyRequest().fromBinary(bytes, options);
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSharedKeyRequest {
|
|
725
|
-
return new GetSharedKeyRequest().fromJson(jsonValue, options);
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSharedKeyRequest {
|
|
729
|
-
return new GetSharedKeyRequest().fromJsonString(jsonString, options);
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
static equals(a: GetSharedKeyRequest | PlainMessage<GetSharedKeyRequest> | undefined, b: GetSharedKeyRequest | PlainMessage<GetSharedKeyRequest> | undefined): boolean {
|
|
733
|
-
return proto3.util.equals(GetSharedKeyRequest, a, b);
|
|
734
|
-
}
|
|
735
|
-
}
|
|
335
|
+
keyIndex: number;
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Describes the message livekit.proto.GetSharedKeyRequest.
|
|
340
|
+
* Use `create(GetSharedKeyRequestSchema)` to create a new message.
|
|
341
|
+
*/
|
|
342
|
+
export const GetSharedKeyRequestSchema: GenMessage<GetSharedKeyRequest> = /*@__PURE__*/
|
|
343
|
+
messageDesc(file_e2ee, 15);
|
|
736
344
|
|
|
737
345
|
/**
|
|
738
346
|
* @generated from message livekit.proto.GetSharedKeyResponse
|
|
739
347
|
*/
|
|
740
|
-
export
|
|
348
|
+
export type GetSharedKeyResponse = Message<"livekit.proto.GetSharedKeyResponse"> & {
|
|
741
349
|
/**
|
|
742
350
|
* @generated from field: optional bytes key = 1;
|
|
743
351
|
*/
|
|
744
|
-
key
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
754
|
-
{ no: 1, name: "key", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
755
|
-
]);
|
|
756
|
-
|
|
757
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSharedKeyResponse {
|
|
758
|
-
return new GetSharedKeyResponse().fromBinary(bytes, options);
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSharedKeyResponse {
|
|
762
|
-
return new GetSharedKeyResponse().fromJson(jsonValue, options);
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSharedKeyResponse {
|
|
766
|
-
return new GetSharedKeyResponse().fromJsonString(jsonString, options);
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
static equals(a: GetSharedKeyResponse | PlainMessage<GetSharedKeyResponse> | undefined, b: GetSharedKeyResponse | PlainMessage<GetSharedKeyResponse> | undefined): boolean {
|
|
770
|
-
return proto3.util.equals(GetSharedKeyResponse, a, b);
|
|
771
|
-
}
|
|
772
|
-
}
|
|
352
|
+
key: Uint8Array;
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Describes the message livekit.proto.GetSharedKeyResponse.
|
|
357
|
+
* Use `create(GetSharedKeyResponseSchema)` to create a new message.
|
|
358
|
+
*/
|
|
359
|
+
export const GetSharedKeyResponseSchema: GenMessage<GetSharedKeyResponse> = /*@__PURE__*/
|
|
360
|
+
messageDesc(file_e2ee, 16);
|
|
773
361
|
|
|
774
362
|
/**
|
|
775
363
|
* @generated from message livekit.proto.SetKeyRequest
|
|
776
364
|
*/
|
|
777
|
-
export
|
|
365
|
+
export type SetKeyRequest = Message<"livekit.proto.SetKeyRequest"> & {
|
|
778
366
|
/**
|
|
779
|
-
* @generated from field: string participant_identity = 1;
|
|
367
|
+
* @generated from field: required string participant_identity = 1;
|
|
780
368
|
*/
|
|
781
|
-
participantIdentity
|
|
369
|
+
participantIdentity: string;
|
|
782
370
|
|
|
783
371
|
/**
|
|
784
|
-
* @generated from field: bytes key = 2;
|
|
372
|
+
* @generated from field: required bytes key = 2;
|
|
785
373
|
*/
|
|
786
|
-
key
|
|
374
|
+
key: Uint8Array;
|
|
787
375
|
|
|
788
376
|
/**
|
|
789
|
-
* @generated from field: int32 key_index = 3;
|
|
377
|
+
* @generated from field: required int32 key_index = 3;
|
|
790
378
|
*/
|
|
791
|
-
keyIndex
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
801
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
802
|
-
{ no: 2, name: "key", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
803
|
-
{ no: 3, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
804
|
-
]);
|
|
805
|
-
|
|
806
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetKeyRequest {
|
|
807
|
-
return new SetKeyRequest().fromBinary(bytes, options);
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetKeyRequest {
|
|
811
|
-
return new SetKeyRequest().fromJson(jsonValue, options);
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetKeyRequest {
|
|
815
|
-
return new SetKeyRequest().fromJsonString(jsonString, options);
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
static equals(a: SetKeyRequest | PlainMessage<SetKeyRequest> | undefined, b: SetKeyRequest | PlainMessage<SetKeyRequest> | undefined): boolean {
|
|
819
|
-
return proto3.util.equals(SetKeyRequest, a, b);
|
|
820
|
-
}
|
|
821
|
-
}
|
|
379
|
+
keyIndex: number;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Describes the message livekit.proto.SetKeyRequest.
|
|
384
|
+
* Use `create(SetKeyRequestSchema)` to create a new message.
|
|
385
|
+
*/
|
|
386
|
+
export const SetKeyRequestSchema: GenMessage<SetKeyRequest> = /*@__PURE__*/
|
|
387
|
+
messageDesc(file_e2ee, 17);
|
|
822
388
|
|
|
823
389
|
/**
|
|
824
390
|
* @generated from message livekit.proto.SetKeyResponse
|
|
825
391
|
*/
|
|
826
|
-
export
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
]);
|
|
836
|
-
|
|
837
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetKeyResponse {
|
|
838
|
-
return new SetKeyResponse().fromBinary(bytes, options);
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetKeyResponse {
|
|
842
|
-
return new SetKeyResponse().fromJson(jsonValue, options);
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetKeyResponse {
|
|
846
|
-
return new SetKeyResponse().fromJsonString(jsonString, options);
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
static equals(a: SetKeyResponse | PlainMessage<SetKeyResponse> | undefined, b: SetKeyResponse | PlainMessage<SetKeyResponse> | undefined): boolean {
|
|
850
|
-
return proto3.util.equals(SetKeyResponse, a, b);
|
|
851
|
-
}
|
|
852
|
-
}
|
|
392
|
+
export type SetKeyResponse = Message<"livekit.proto.SetKeyResponse"> & {
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Describes the message livekit.proto.SetKeyResponse.
|
|
397
|
+
* Use `create(SetKeyResponseSchema)` to create a new message.
|
|
398
|
+
*/
|
|
399
|
+
export const SetKeyResponseSchema: GenMessage<SetKeyResponse> = /*@__PURE__*/
|
|
400
|
+
messageDesc(file_e2ee, 18);
|
|
853
401
|
|
|
854
402
|
/**
|
|
855
403
|
* @generated from message livekit.proto.RatchetKeyRequest
|
|
856
404
|
*/
|
|
857
|
-
export
|
|
405
|
+
export type RatchetKeyRequest = Message<"livekit.proto.RatchetKeyRequest"> & {
|
|
858
406
|
/**
|
|
859
|
-
* @generated from field: string participant_identity = 1;
|
|
407
|
+
* @generated from field: required string participant_identity = 1;
|
|
860
408
|
*/
|
|
861
|
-
participantIdentity
|
|
409
|
+
participantIdentity: string;
|
|
862
410
|
|
|
863
411
|
/**
|
|
864
|
-
* @generated from field: int32 key_index = 2;
|
|
412
|
+
* @generated from field: required int32 key_index = 2;
|
|
865
413
|
*/
|
|
866
|
-
keyIndex
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
876
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
877
|
-
{ no: 2, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
878
|
-
]);
|
|
879
|
-
|
|
880
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RatchetKeyRequest {
|
|
881
|
-
return new RatchetKeyRequest().fromBinary(bytes, options);
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RatchetKeyRequest {
|
|
885
|
-
return new RatchetKeyRequest().fromJson(jsonValue, options);
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetKeyRequest {
|
|
889
|
-
return new RatchetKeyRequest().fromJsonString(jsonString, options);
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
static equals(a: RatchetKeyRequest | PlainMessage<RatchetKeyRequest> | undefined, b: RatchetKeyRequest | PlainMessage<RatchetKeyRequest> | undefined): boolean {
|
|
893
|
-
return proto3.util.equals(RatchetKeyRequest, a, b);
|
|
894
|
-
}
|
|
895
|
-
}
|
|
414
|
+
keyIndex: number;
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Describes the message livekit.proto.RatchetKeyRequest.
|
|
419
|
+
* Use `create(RatchetKeyRequestSchema)` to create a new message.
|
|
420
|
+
*/
|
|
421
|
+
export const RatchetKeyRequestSchema: GenMessage<RatchetKeyRequest> = /*@__PURE__*/
|
|
422
|
+
messageDesc(file_e2ee, 19);
|
|
896
423
|
|
|
897
424
|
/**
|
|
898
425
|
* @generated from message livekit.proto.RatchetKeyResponse
|
|
899
426
|
*/
|
|
900
|
-
export
|
|
427
|
+
export type RatchetKeyResponse = Message<"livekit.proto.RatchetKeyResponse"> & {
|
|
901
428
|
/**
|
|
902
429
|
* @generated from field: optional bytes new_key = 1;
|
|
903
430
|
*/
|
|
904
|
-
newKey
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
914
|
-
{ no: 1, name: "new_key", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
915
|
-
]);
|
|
916
|
-
|
|
917
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RatchetKeyResponse {
|
|
918
|
-
return new RatchetKeyResponse().fromBinary(bytes, options);
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RatchetKeyResponse {
|
|
922
|
-
return new RatchetKeyResponse().fromJson(jsonValue, options);
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetKeyResponse {
|
|
926
|
-
return new RatchetKeyResponse().fromJsonString(jsonString, options);
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
static equals(a: RatchetKeyResponse | PlainMessage<RatchetKeyResponse> | undefined, b: RatchetKeyResponse | PlainMessage<RatchetKeyResponse> | undefined): boolean {
|
|
930
|
-
return proto3.util.equals(RatchetKeyResponse, a, b);
|
|
931
|
-
}
|
|
932
|
-
}
|
|
431
|
+
newKey: Uint8Array;
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Describes the message livekit.proto.RatchetKeyResponse.
|
|
436
|
+
* Use `create(RatchetKeyResponseSchema)` to create a new message.
|
|
437
|
+
*/
|
|
438
|
+
export const RatchetKeyResponseSchema: GenMessage<RatchetKeyResponse> = /*@__PURE__*/
|
|
439
|
+
messageDesc(file_e2ee, 20);
|
|
933
440
|
|
|
934
441
|
/**
|
|
935
442
|
* @generated from message livekit.proto.GetKeyRequest
|
|
936
443
|
*/
|
|
937
|
-
export
|
|
444
|
+
export type GetKeyRequest = Message<"livekit.proto.GetKeyRequest"> & {
|
|
938
445
|
/**
|
|
939
|
-
* @generated from field: string participant_identity = 1;
|
|
446
|
+
* @generated from field: required string participant_identity = 1;
|
|
940
447
|
*/
|
|
941
|
-
participantIdentity
|
|
448
|
+
participantIdentity: string;
|
|
942
449
|
|
|
943
450
|
/**
|
|
944
|
-
* @generated from field: int32 key_index = 2;
|
|
451
|
+
* @generated from field: required int32 key_index = 2;
|
|
945
452
|
*/
|
|
946
|
-
keyIndex
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
956
|
-
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
957
|
-
{ no: 2, name: "key_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
958
|
-
]);
|
|
959
|
-
|
|
960
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKeyRequest {
|
|
961
|
-
return new GetKeyRequest().fromBinary(bytes, options);
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKeyRequest {
|
|
965
|
-
return new GetKeyRequest().fromJson(jsonValue, options);
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyRequest {
|
|
969
|
-
return new GetKeyRequest().fromJsonString(jsonString, options);
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
static equals(a: GetKeyRequest | PlainMessage<GetKeyRequest> | undefined, b: GetKeyRequest | PlainMessage<GetKeyRequest> | undefined): boolean {
|
|
973
|
-
return proto3.util.equals(GetKeyRequest, a, b);
|
|
974
|
-
}
|
|
975
|
-
}
|
|
453
|
+
keyIndex: number;
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Describes the message livekit.proto.GetKeyRequest.
|
|
458
|
+
* Use `create(GetKeyRequestSchema)` to create a new message.
|
|
459
|
+
*/
|
|
460
|
+
export const GetKeyRequestSchema: GenMessage<GetKeyRequest> = /*@__PURE__*/
|
|
461
|
+
messageDesc(file_e2ee, 21);
|
|
976
462
|
|
|
977
463
|
/**
|
|
978
464
|
* @generated from message livekit.proto.GetKeyResponse
|
|
979
465
|
*/
|
|
980
|
-
export
|
|
466
|
+
export type GetKeyResponse = Message<"livekit.proto.GetKeyResponse"> & {
|
|
981
467
|
/**
|
|
982
468
|
* @generated from field: optional bytes key = 1;
|
|
983
469
|
*/
|
|
984
|
-
key
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
994
|
-
{ no: 1, name: "key", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
995
|
-
]);
|
|
996
|
-
|
|
997
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKeyResponse {
|
|
998
|
-
return new GetKeyResponse().fromBinary(bytes, options);
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKeyResponse {
|
|
1002
|
-
return new GetKeyResponse().fromJson(jsonValue, options);
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyResponse {
|
|
1006
|
-
return new GetKeyResponse().fromJsonString(jsonString, options);
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
static equals(a: GetKeyResponse | PlainMessage<GetKeyResponse> | undefined, b: GetKeyResponse | PlainMessage<GetKeyResponse> | undefined): boolean {
|
|
1010
|
-
return proto3.util.equals(GetKeyResponse, a, b);
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
470
|
+
key: Uint8Array;
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Describes the message livekit.proto.GetKeyResponse.
|
|
475
|
+
* Use `create(GetKeyResponseSchema)` to create a new message.
|
|
476
|
+
*/
|
|
477
|
+
export const GetKeyResponseSchema: GenMessage<GetKeyResponse> = /*@__PURE__*/
|
|
478
|
+
messageDesc(file_e2ee, 22);
|
|
1013
479
|
|
|
1014
480
|
/**
|
|
1015
481
|
* @generated from message livekit.proto.E2eeRequest
|
|
1016
482
|
*/
|
|
1017
|
-
export
|
|
483
|
+
export type E2eeRequest = Message<"livekit.proto.E2eeRequest"> & {
|
|
1018
484
|
/**
|
|
1019
|
-
* @generated from field: uint64 room_handle = 1;
|
|
485
|
+
* @generated from field: required uint64 room_handle = 1;
|
|
1020
486
|
*/
|
|
1021
|
-
roomHandle
|
|
487
|
+
roomHandle: bigint;
|
|
1022
488
|
|
|
1023
489
|
/**
|
|
1024
490
|
* @generated from oneof livekit.proto.E2eeRequest.message
|
|
@@ -1083,50 +549,20 @@ export class E2eeRequest extends Message<E2eeRequest> {
|
|
|
1083
549
|
*/
|
|
1084
550
|
value: GetKeyRequest;
|
|
1085
551
|
case: "getKey";
|
|
1086
|
-
} | { case: undefined; value?: undefined }
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1096
|
-
{ no: 1, name: "room_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1097
|
-
{ no: 2, name: "manager_set_enabled", kind: "message", T: E2eeManagerSetEnabledRequest, oneof: "message" },
|
|
1098
|
-
{ no: 3, name: "manager_get_frame_cryptors", kind: "message", T: E2eeManagerGetFrameCryptorsRequest, oneof: "message" },
|
|
1099
|
-
{ no: 4, name: "cryptor_set_enabled", kind: "message", T: FrameCryptorSetEnabledRequest, oneof: "message" },
|
|
1100
|
-
{ no: 5, name: "cryptor_set_key_index", kind: "message", T: FrameCryptorSetKeyIndexRequest, oneof: "message" },
|
|
1101
|
-
{ no: 6, name: "set_shared_key", kind: "message", T: SetSharedKeyRequest, oneof: "message" },
|
|
1102
|
-
{ no: 7, name: "ratchet_shared_key", kind: "message", T: RatchetSharedKeyRequest, oneof: "message" },
|
|
1103
|
-
{ no: 8, name: "get_shared_key", kind: "message", T: GetSharedKeyRequest, oneof: "message" },
|
|
1104
|
-
{ no: 9, name: "set_key", kind: "message", T: SetKeyRequest, oneof: "message" },
|
|
1105
|
-
{ no: 10, name: "ratchet_key", kind: "message", T: RatchetKeyRequest, oneof: "message" },
|
|
1106
|
-
{ no: 11, name: "get_key", kind: "message", T: GetKeyRequest, oneof: "message" },
|
|
1107
|
-
]);
|
|
1108
|
-
|
|
1109
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeRequest {
|
|
1110
|
-
return new E2eeRequest().fromBinary(bytes, options);
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeRequest {
|
|
1114
|
-
return new E2eeRequest().fromJson(jsonValue, options);
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeRequest {
|
|
1118
|
-
return new E2eeRequest().fromJsonString(jsonString, options);
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
static equals(a: E2eeRequest | PlainMessage<E2eeRequest> | undefined, b: E2eeRequest | PlainMessage<E2eeRequest> | undefined): boolean {
|
|
1122
|
-
return proto3.util.equals(E2eeRequest, a, b);
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
552
|
+
} | { case: undefined; value?: undefined };
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Describes the message livekit.proto.E2eeRequest.
|
|
557
|
+
* Use `create(E2eeRequestSchema)` to create a new message.
|
|
558
|
+
*/
|
|
559
|
+
export const E2eeRequestSchema: GenMessage<E2eeRequest> = /*@__PURE__*/
|
|
560
|
+
messageDesc(file_e2ee, 23);
|
|
1125
561
|
|
|
1126
562
|
/**
|
|
1127
563
|
* @generated from message livekit.proto.E2eeResponse
|
|
1128
564
|
*/
|
|
1129
|
-
export
|
|
565
|
+
export type E2eeResponse = Message<"livekit.proto.E2eeResponse"> & {
|
|
1130
566
|
/**
|
|
1131
567
|
* @generated from oneof livekit.proto.E2eeResponse.message
|
|
1132
568
|
*/
|
|
@@ -1190,42 +626,85 @@ export class E2eeResponse extends Message<E2eeResponse> {
|
|
|
1190
626
|
*/
|
|
1191
627
|
value: GetKeyResponse;
|
|
1192
628
|
case: "getKey";
|
|
1193
|
-
} | { case: undefined; value?: undefined }
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
629
|
+
} | { case: undefined; value?: undefined };
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Describes the message livekit.proto.E2eeResponse.
|
|
634
|
+
* Use `create(E2eeResponseSchema)` to create a new message.
|
|
635
|
+
*/
|
|
636
|
+
export const E2eeResponseSchema: GenMessage<E2eeResponse> = /*@__PURE__*/
|
|
637
|
+
messageDesc(file_e2ee, 24);
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* @generated from enum livekit.proto.EncryptionType
|
|
641
|
+
*/
|
|
642
|
+
export enum EncryptionType {
|
|
643
|
+
/**
|
|
644
|
+
* @generated from enum value: NONE = 0;
|
|
645
|
+
*/
|
|
646
|
+
NONE = 0,
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* @generated from enum value: GCM = 1;
|
|
650
|
+
*/
|
|
651
|
+
GCM = 1,
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* @generated from enum value: CUSTOM = 2;
|
|
655
|
+
*/
|
|
656
|
+
CUSTOM = 2,
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Describes the enum livekit.proto.EncryptionType.
|
|
661
|
+
*/
|
|
662
|
+
export const EncryptionTypeSchema: GenEnum<EncryptionType> = /*@__PURE__*/
|
|
663
|
+
enumDesc(file_e2ee, 0);
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* @generated from enum livekit.proto.EncryptionState
|
|
667
|
+
*/
|
|
668
|
+
export enum EncryptionState {
|
|
669
|
+
/**
|
|
670
|
+
* @generated from enum value: NEW = 0;
|
|
671
|
+
*/
|
|
672
|
+
NEW = 0,
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* @generated from enum value: OK = 1;
|
|
676
|
+
*/
|
|
677
|
+
OK = 1,
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* @generated from enum value: ENCRYPTION_FAILED = 2;
|
|
681
|
+
*/
|
|
682
|
+
ENCRYPTION_FAILED = 2,
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* @generated from enum value: DECRYPTION_FAILED = 3;
|
|
686
|
+
*/
|
|
687
|
+
DECRYPTION_FAILED = 3,
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* @generated from enum value: MISSING_KEY = 4;
|
|
691
|
+
*/
|
|
692
|
+
MISSING_KEY = 4,
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* @generated from enum value: KEY_RATCHETED = 5;
|
|
696
|
+
*/
|
|
697
|
+
KEY_RATCHETED = 5,
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* @generated from enum value: INTERNAL_ERROR = 6;
|
|
701
|
+
*/
|
|
702
|
+
INTERNAL_ERROR = 6,
|
|
1230
703
|
}
|
|
1231
704
|
|
|
705
|
+
/**
|
|
706
|
+
* Describes the enum livekit.proto.EncryptionState.
|
|
707
|
+
*/
|
|
708
|
+
export const EncryptionStateSchema: GenEnum<EncryptionState> = /*@__PURE__*/
|
|
709
|
+
enumDesc(file_e2ee, 1);
|
|
710
|
+
|