@livekit/rtc-node 0.12.1 → 0.13.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/dist/audio_frame.cjs +2 -2
- package/dist/audio_frame.cjs.map +1 -1
- package/dist/audio_frame.d.cts +31 -0
- package/dist/audio_frame.d.ts +11 -5
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +3 -3
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_resampler.cjs +10 -7
- package/dist/audio_resampler.cjs.map +1 -1
- package/dist/audio_resampler.d.cts +59 -0
- package/dist/audio_resampler.d.ts +11 -3
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +13 -10
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.cjs +6 -4
- package/dist/audio_source.cjs.map +1 -1
- package/dist/audio_source.d.cts +37 -0
- package/dist/audio_source.d.ts +13 -5
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +9 -7
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.cjs +1 -2
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +37 -0
- package/dist/audio_stream.d.ts +16 -5
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +2 -3
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.cjs +19 -20
- package/dist/e2ee.cjs.map +1 -1
- package/dist/e2ee.d.cts +47 -0
- package/dist/e2ee.d.ts +11 -8
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +29 -30
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.cjs +6 -5
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +35 -0
- package/dist/ffi_client.d.ts +23 -11
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +6 -10
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.cjs +16 -49
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -0
- package/dist/index.d.ts +20 -41
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -46
- package/dist/index.js.map +1 -1
- package/dist/napi/native.d.cjs.map +1 -1
- package/dist/napi/native.d.d.cts +21 -0
- package/dist/napi/native.d.d.ts +21 -0
- package/dist/napi/native.d.ts +5 -5
- package/dist/native.d.ts +5 -5
- package/dist/participant.cjs +57 -34
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +126 -0
- package/dist/participant.d.ts +34 -20
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +75 -50
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.cjs +977 -125
- package/dist/proto/audio_frame_pb.cjs.map +1 -1
- package/dist/proto/audio_frame_pb.d.cts +898 -0
- package/dist/proto/audio_frame_pb.d.ts +506 -417
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +943 -85
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.cjs +700 -85
- package/dist/proto/e2ee_pb.cjs.map +1 -1
- package/dist/proto/e2ee_pb.d.cts +653 -0
- package/dist/proto/e2ee_pb.d.ts +333 -263
- package/dist/proto/e2ee_pb.d.ts.map +1 -1
- package/dist/proto/e2ee_pb.js +675 -57
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.cjs +369 -36
- package/dist/proto/ffi_pb.cjs.map +1 -1
- package/dist/proto/ffi_pb.d.cts +898 -0
- package/dist/proto/ffi_pb.d.ts +164 -112
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +364 -29
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.cjs +27 -7
- package/dist/proto/handle_pb.cjs.map +1 -1
- package/dist/proto/handle_pb.d.cts +31 -0
- package/dist/proto/handle_pb.d.ts +15 -15
- package/dist/proto/handle_pb.d.ts.map +1 -1
- package/dist/proto/handle_pb.js +26 -5
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.cjs +112 -15
- package/dist/proto/participant_pb.cjs.map +1 -1
- package/dist/proto/participant_pb.d.cts +181 -0
- package/dist/proto/participant_pb.d.ts +143 -53
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +109 -11
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.cjs +2693 -302
- package/dist/proto/room_pb.cjs.map +1 -1
- package/dist/proto/room_pb.d.cts +2475 -0
- package/dist/proto/room_pb.d.ts +1269 -864
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +2603 -210
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/rpc_pb.cjs +302 -37
- package/dist/proto/rpc_pb.cjs.map +1 -1
- package/dist/proto/rpc_pb.d.cts +267 -0
- package/dist/proto/rpc_pb.d.ts +140 -108
- package/dist/proto/rpc_pb.d.ts.map +1 -1
- package/dist/proto/rpc_pb.js +291 -25
- package/dist/proto/rpc_pb.js.map +1 -1
- package/dist/proto/stats_pb.cjs +1253 -139
- package/dist/proto/stats_pb.cjs.map +1 -1
- package/dist/proto/stats_pb.d.cts +1764 -0
- package/dist/proto/stats_pb.d.ts +806 -693
- package/dist/proto/stats_pb.d.ts.map +1 -1
- package/dist/proto/stats_pb.js +1216 -93
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.cjs +462 -64
- package/dist/proto/track_pb.cjs.map +1 -1
- package/dist/proto/track_pb.d.cts +434 -0
- package/dist/proto/track_pb.d.ts +254 -220
- package/dist/proto/track_pb.d.ts.map +1 -1
- package/dist/proto/track_pb.js +447 -45
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/track_publication_pb.cjs +130 -0
- package/dist/proto/track_publication_pb.cjs.map +1 -0
- package/dist/proto/track_publication_pb.d.cts +80 -0
- package/dist/proto/track_publication_pb.d.ts +80 -0
- package/dist/proto/track_publication_pb.d.ts.map +1 -0
- package/dist/proto/track_publication_pb.js +103 -0
- package/dist/proto/track_publication_pb.js.map +1 -0
- package/dist/proto/video_frame_pb.cjs +648 -88
- package/dist/proto/video_frame_pb.cjs.map +1 -1
- package/dist/proto/video_frame_pb.d.cts +660 -0
- package/dist/proto/video_frame_pb.d.ts +375 -328
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +626 -60
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.cjs +93 -125
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +123 -0
- package/dist/room.d.ts +37 -34
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +92 -122
- package/dist/room.js.map +1 -1
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.cts +81 -0
- package/dist/rpc.d.ts +10 -7
- package/dist/rpc.js.map +1 -1
- package/dist/track.cjs +12 -8
- package/dist/track.cjs.map +1 -1
- package/dist/track.d.cts +45 -0
- package/dist/track.d.ts +30 -20
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +13 -9
- package/dist/track.js.map +1 -1
- package/dist/track_publication.cjs +21 -12
- package/dist/track_publication.cjs.map +1 -1
- package/dist/track_publication.d.cts +47 -0
- package/dist/track_publication.d.ts +30 -19
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +22 -13
- package/dist/track_publication.js.map +1 -1
- package/dist/transcription.d.cts +15 -0
- package/dist/transcription.d.ts +4 -3
- package/dist/types.d.cts +9 -0
- package/dist/types.d.ts +3 -2
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +3 -0
- package/dist/version.d.ts +3 -2
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/video_frame.cjs +26 -45
- package/dist/video_frame.cjs.map +1 -1
- package/dist/video_frame.d.cts +24 -0
- package/dist/video_frame.d.ts +10 -4
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +29 -48
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.cjs +7 -4
- package/dist/video_source.cjs.map +1 -1
- package/dist/video_source.d.cts +22 -0
- package/dist/video_source.d.ts +14 -7
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +9 -6
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.cjs +16 -5
- package/dist/video_stream.cjs.map +1 -1
- package/dist/video_stream.d.cts +40 -0
- package/dist/video_stream.d.ts +18 -7
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +17 -6
- package/dist/video_stream.js.map +1 -1
- package/package.json +17 -12
- package/src/audio_frame.ts +10 -10
- package/src/audio_resampler.ts +15 -13
- package/src/audio_source.ts +11 -8
- package/src/audio_stream.ts +3 -4
- package/src/e2ee.ts +36 -37
- package/src/ffi_client.ts +8 -16
- package/src/index.ts +5 -68
- package/src/napi/native.d.ts +5 -5
- package/src/participant.ts +100 -72
- package/src/proto/audio_frame_pb.ts +1220 -496
- package/src/proto/e2ee_pb.ts +858 -337
- package/src/proto/ffi_pb.ts +442 -135
- package/src/proto/handle_pb.ts +33 -19
- package/src/proto/participant_pb.ts +225 -60
- package/src/proto/room_pb.ts +3149 -1013
- package/src/proto/rpc_pb.ts +358 -129
- package/src/proto/stats_pb.ts +1891 -877
- package/src/proto/track_pb.ts +587 -253
- package/src/proto/track_publication_pb.ts +180 -0
- package/src/proto/video_frame_pb.ts +861 -394
- package/src/room.ts +143 -188
- package/src/rpc.ts +1 -1
- package/src/track.ts +16 -17
- package/src/track_publication.ts +25 -26
- package/src/version.ts +1 -1
- package/src/video_frame.ts +48 -72
- package/src/video_source.ts +11 -8
- package/src/video_stream.ts +18 -8
package/dist/proto/e2ee_pb.d.ts
CHANGED
|
@@ -1,377 +1,498 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Message, PartialMessage, proto2, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
+
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* @generated from enum livekit.proto.EncryptionType
|
|
5
|
+
*/
|
|
6
|
+
declare enum EncryptionType {
|
|
7
|
+
/**
|
|
8
|
+
* @generated from enum value: NONE = 0;
|
|
9
|
+
*/
|
|
10
|
+
NONE = 0,
|
|
11
|
+
/**
|
|
12
|
+
* @generated from enum value: GCM = 1;
|
|
13
|
+
*/
|
|
14
|
+
GCM = 1,
|
|
15
|
+
/**
|
|
16
|
+
* @generated from enum value: CUSTOM = 2;
|
|
17
|
+
*/
|
|
18
|
+
CUSTOM = 2
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @generated from enum livekit.proto.EncryptionState
|
|
5
22
|
*/
|
|
6
|
-
|
|
23
|
+
declare enum EncryptionState {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: NEW = 0;
|
|
26
|
+
*/
|
|
27
|
+
NEW = 0,
|
|
28
|
+
/**
|
|
29
|
+
* @generated from enum value: OK = 1;
|
|
30
|
+
*/
|
|
31
|
+
OK = 1,
|
|
32
|
+
/**
|
|
33
|
+
* @generated from enum value: ENCRYPTION_FAILED = 2;
|
|
34
|
+
*/
|
|
35
|
+
ENCRYPTION_FAILED = 2,
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum value: DECRYPTION_FAILED = 3;
|
|
38
|
+
*/
|
|
39
|
+
DECRYPTION_FAILED = 3,
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: MISSING_KEY = 4;
|
|
42
|
+
*/
|
|
43
|
+
MISSING_KEY = 4,
|
|
44
|
+
/**
|
|
45
|
+
* @generated from enum value: KEY_RATCHETED = 5;
|
|
46
|
+
*/
|
|
47
|
+
KEY_RATCHETED = 5,
|
|
48
|
+
/**
|
|
49
|
+
* @generated from enum value: INTERNAL_ERROR = 6;
|
|
50
|
+
*/
|
|
51
|
+
INTERNAL_ERROR = 6
|
|
52
|
+
}
|
|
7
53
|
/**
|
|
8
54
|
* @generated from message livekit.proto.FrameCryptor
|
|
9
55
|
*/
|
|
10
|
-
|
|
56
|
+
declare class FrameCryptor extends Message<FrameCryptor> {
|
|
11
57
|
/**
|
|
12
58
|
* @generated from field: required string participant_identity = 1;
|
|
13
59
|
*/
|
|
14
|
-
participantIdentity
|
|
60
|
+
participantIdentity?: string;
|
|
15
61
|
/**
|
|
16
62
|
* @generated from field: required string track_sid = 2;
|
|
17
63
|
*/
|
|
18
|
-
trackSid
|
|
64
|
+
trackSid?: string;
|
|
19
65
|
/**
|
|
20
66
|
* @generated from field: required int32 key_index = 3;
|
|
21
67
|
*/
|
|
22
|
-
keyIndex
|
|
68
|
+
keyIndex?: number;
|
|
23
69
|
/**
|
|
24
70
|
* @generated from field: required bool enabled = 4;
|
|
25
71
|
*/
|
|
26
|
-
enabled
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
72
|
+
enabled?: boolean;
|
|
73
|
+
constructor(data?: PartialMessage<FrameCryptor>);
|
|
74
|
+
static readonly runtime: typeof proto2;
|
|
75
|
+
static readonly typeName = "livekit.proto.FrameCryptor";
|
|
76
|
+
static readonly fields: FieldList;
|
|
77
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameCryptor;
|
|
78
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameCryptor;
|
|
79
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptor;
|
|
80
|
+
static equals(a: FrameCryptor | PlainMessage<FrameCryptor> | undefined, b: FrameCryptor | PlainMessage<FrameCryptor> | undefined): boolean;
|
|
81
|
+
}
|
|
33
82
|
/**
|
|
34
83
|
* @generated from message livekit.proto.KeyProviderOptions
|
|
35
84
|
*/
|
|
36
|
-
|
|
85
|
+
declare class KeyProviderOptions extends Message<KeyProviderOptions> {
|
|
37
86
|
/**
|
|
38
87
|
* Only specify if you want to use a shared_key
|
|
39
88
|
*
|
|
40
89
|
* @generated from field: optional bytes shared_key = 1;
|
|
41
90
|
*/
|
|
42
|
-
sharedKey
|
|
91
|
+
sharedKey?: Uint8Array;
|
|
43
92
|
/**
|
|
44
93
|
* @generated from field: required int32 ratchet_window_size = 2;
|
|
45
94
|
*/
|
|
46
|
-
ratchetWindowSize
|
|
95
|
+
ratchetWindowSize?: number;
|
|
47
96
|
/**
|
|
48
97
|
* @generated from field: required bytes ratchet_salt = 3;
|
|
49
98
|
*/
|
|
50
|
-
ratchetSalt
|
|
99
|
+
ratchetSalt?: Uint8Array;
|
|
51
100
|
/**
|
|
52
101
|
* -1 = no tolerance
|
|
53
102
|
*
|
|
54
103
|
* @generated from field: required int32 failure_tolerance = 4;
|
|
55
104
|
*/
|
|
56
|
-
failureTolerance
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
105
|
+
failureTolerance?: number;
|
|
106
|
+
constructor(data?: PartialMessage<KeyProviderOptions>);
|
|
107
|
+
static readonly runtime: typeof proto2;
|
|
108
|
+
static readonly typeName = "livekit.proto.KeyProviderOptions";
|
|
109
|
+
static readonly fields: FieldList;
|
|
110
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KeyProviderOptions;
|
|
111
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KeyProviderOptions;
|
|
112
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KeyProviderOptions;
|
|
113
|
+
static equals(a: KeyProviderOptions | PlainMessage<KeyProviderOptions> | undefined, b: KeyProviderOptions | PlainMessage<KeyProviderOptions> | undefined): boolean;
|
|
114
|
+
}
|
|
63
115
|
/**
|
|
64
116
|
* @generated from message livekit.proto.E2eeOptions
|
|
65
117
|
*/
|
|
66
|
-
|
|
118
|
+
declare class E2eeOptions extends Message<E2eeOptions> {
|
|
67
119
|
/**
|
|
68
120
|
* @generated from field: required livekit.proto.EncryptionType encryption_type = 1;
|
|
69
121
|
*/
|
|
70
|
-
encryptionType
|
|
122
|
+
encryptionType?: EncryptionType;
|
|
71
123
|
/**
|
|
72
124
|
* @generated from field: required livekit.proto.KeyProviderOptions key_provider_options = 2;
|
|
73
125
|
*/
|
|
74
126
|
keyProviderOptions?: KeyProviderOptions;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
127
|
+
constructor(data?: PartialMessage<E2eeOptions>);
|
|
128
|
+
static readonly runtime: typeof proto2;
|
|
129
|
+
static readonly typeName = "livekit.proto.E2eeOptions";
|
|
130
|
+
static readonly fields: FieldList;
|
|
131
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeOptions;
|
|
132
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeOptions;
|
|
133
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeOptions;
|
|
134
|
+
static equals(a: E2eeOptions | PlainMessage<E2eeOptions> | undefined, b: E2eeOptions | PlainMessage<E2eeOptions> | undefined): boolean;
|
|
135
|
+
}
|
|
81
136
|
/**
|
|
82
137
|
* @generated from message livekit.proto.E2eeManagerSetEnabledRequest
|
|
83
138
|
*/
|
|
84
|
-
|
|
139
|
+
declare class E2eeManagerSetEnabledRequest extends Message<E2eeManagerSetEnabledRequest> {
|
|
85
140
|
/**
|
|
86
141
|
* @generated from field: required bool enabled = 1;
|
|
87
142
|
*/
|
|
88
|
-
enabled
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
143
|
+
enabled?: boolean;
|
|
144
|
+
constructor(data?: PartialMessage<E2eeManagerSetEnabledRequest>);
|
|
145
|
+
static readonly runtime: typeof proto2;
|
|
146
|
+
static readonly typeName = "livekit.proto.E2eeManagerSetEnabledRequest";
|
|
147
|
+
static readonly fields: FieldList;
|
|
148
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeManagerSetEnabledRequest;
|
|
149
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeManagerSetEnabledRequest;
|
|
150
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeManagerSetEnabledRequest;
|
|
151
|
+
static equals(a: E2eeManagerSetEnabledRequest | PlainMessage<E2eeManagerSetEnabledRequest> | undefined, b: E2eeManagerSetEnabledRequest | PlainMessage<E2eeManagerSetEnabledRequest> | undefined): boolean;
|
|
152
|
+
}
|
|
95
153
|
/**
|
|
96
154
|
* @generated from message livekit.proto.E2eeManagerSetEnabledResponse
|
|
97
155
|
*/
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
156
|
+
declare class E2eeManagerSetEnabledResponse extends Message<E2eeManagerSetEnabledResponse> {
|
|
157
|
+
constructor(data?: PartialMessage<E2eeManagerSetEnabledResponse>);
|
|
158
|
+
static readonly runtime: typeof proto2;
|
|
159
|
+
static readonly typeName = "livekit.proto.E2eeManagerSetEnabledResponse";
|
|
160
|
+
static readonly fields: FieldList;
|
|
161
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeManagerSetEnabledResponse;
|
|
162
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeManagerSetEnabledResponse;
|
|
163
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeManagerSetEnabledResponse;
|
|
164
|
+
static equals(a: E2eeManagerSetEnabledResponse | PlainMessage<E2eeManagerSetEnabledResponse> | undefined, b: E2eeManagerSetEnabledResponse | PlainMessage<E2eeManagerSetEnabledResponse> | undefined): boolean;
|
|
165
|
+
}
|
|
104
166
|
/**
|
|
105
167
|
* @generated from message livekit.proto.E2eeManagerGetFrameCryptorsRequest
|
|
106
168
|
*/
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
169
|
+
declare class E2eeManagerGetFrameCryptorsRequest extends Message<E2eeManagerGetFrameCryptorsRequest> {
|
|
170
|
+
constructor(data?: PartialMessage<E2eeManagerGetFrameCryptorsRequest>);
|
|
171
|
+
static readonly runtime: typeof proto2;
|
|
172
|
+
static readonly typeName = "livekit.proto.E2eeManagerGetFrameCryptorsRequest";
|
|
173
|
+
static readonly fields: FieldList;
|
|
174
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeManagerGetFrameCryptorsRequest;
|
|
175
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeManagerGetFrameCryptorsRequest;
|
|
176
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeManagerGetFrameCryptorsRequest;
|
|
177
|
+
static equals(a: E2eeManagerGetFrameCryptorsRequest | PlainMessage<E2eeManagerGetFrameCryptorsRequest> | undefined, b: E2eeManagerGetFrameCryptorsRequest | PlainMessage<E2eeManagerGetFrameCryptorsRequest> | undefined): boolean;
|
|
178
|
+
}
|
|
113
179
|
/**
|
|
114
180
|
* @generated from message livekit.proto.E2eeManagerGetFrameCryptorsResponse
|
|
115
181
|
*/
|
|
116
|
-
|
|
182
|
+
declare class E2eeManagerGetFrameCryptorsResponse extends Message<E2eeManagerGetFrameCryptorsResponse> {
|
|
117
183
|
/**
|
|
118
184
|
* @generated from field: repeated livekit.proto.FrameCryptor frame_cryptors = 1;
|
|
119
185
|
*/
|
|
120
186
|
frameCryptors: FrameCryptor[];
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
187
|
+
constructor(data?: PartialMessage<E2eeManagerGetFrameCryptorsResponse>);
|
|
188
|
+
static readonly runtime: typeof proto2;
|
|
189
|
+
static readonly typeName = "livekit.proto.E2eeManagerGetFrameCryptorsResponse";
|
|
190
|
+
static readonly fields: FieldList;
|
|
191
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeManagerGetFrameCryptorsResponse;
|
|
192
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeManagerGetFrameCryptorsResponse;
|
|
193
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeManagerGetFrameCryptorsResponse;
|
|
194
|
+
static equals(a: E2eeManagerGetFrameCryptorsResponse | PlainMessage<E2eeManagerGetFrameCryptorsResponse> | undefined, b: E2eeManagerGetFrameCryptorsResponse | PlainMessage<E2eeManagerGetFrameCryptorsResponse> | undefined): boolean;
|
|
195
|
+
}
|
|
127
196
|
/**
|
|
128
197
|
* @generated from message livekit.proto.FrameCryptorSetEnabledRequest
|
|
129
198
|
*/
|
|
130
|
-
|
|
199
|
+
declare class FrameCryptorSetEnabledRequest extends Message<FrameCryptorSetEnabledRequest> {
|
|
131
200
|
/**
|
|
132
201
|
* @generated from field: required string participant_identity = 1;
|
|
133
202
|
*/
|
|
134
|
-
participantIdentity
|
|
203
|
+
participantIdentity?: string;
|
|
135
204
|
/**
|
|
136
205
|
* @generated from field: required string track_sid = 2;
|
|
137
206
|
*/
|
|
138
|
-
trackSid
|
|
207
|
+
trackSid?: string;
|
|
139
208
|
/**
|
|
140
209
|
* @generated from field: required bool enabled = 3;
|
|
141
210
|
*/
|
|
142
|
-
enabled
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
211
|
+
enabled?: boolean;
|
|
212
|
+
constructor(data?: PartialMessage<FrameCryptorSetEnabledRequest>);
|
|
213
|
+
static readonly runtime: typeof proto2;
|
|
214
|
+
static readonly typeName = "livekit.proto.FrameCryptorSetEnabledRequest";
|
|
215
|
+
static readonly fields: FieldList;
|
|
216
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameCryptorSetEnabledRequest;
|
|
217
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameCryptorSetEnabledRequest;
|
|
218
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptorSetEnabledRequest;
|
|
219
|
+
static equals(a: FrameCryptorSetEnabledRequest | PlainMessage<FrameCryptorSetEnabledRequest> | undefined, b: FrameCryptorSetEnabledRequest | PlainMessage<FrameCryptorSetEnabledRequest> | undefined): boolean;
|
|
220
|
+
}
|
|
149
221
|
/**
|
|
150
222
|
* @generated from message livekit.proto.FrameCryptorSetEnabledResponse
|
|
151
223
|
*/
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
224
|
+
declare class FrameCryptorSetEnabledResponse extends Message<FrameCryptorSetEnabledResponse> {
|
|
225
|
+
constructor(data?: PartialMessage<FrameCryptorSetEnabledResponse>);
|
|
226
|
+
static readonly runtime: typeof proto2;
|
|
227
|
+
static readonly typeName = "livekit.proto.FrameCryptorSetEnabledResponse";
|
|
228
|
+
static readonly fields: FieldList;
|
|
229
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameCryptorSetEnabledResponse;
|
|
230
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameCryptorSetEnabledResponse;
|
|
231
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptorSetEnabledResponse;
|
|
232
|
+
static equals(a: FrameCryptorSetEnabledResponse | PlainMessage<FrameCryptorSetEnabledResponse> | undefined, b: FrameCryptorSetEnabledResponse | PlainMessage<FrameCryptorSetEnabledResponse> | undefined): boolean;
|
|
233
|
+
}
|
|
158
234
|
/**
|
|
159
235
|
* @generated from message livekit.proto.FrameCryptorSetKeyIndexRequest
|
|
160
236
|
*/
|
|
161
|
-
|
|
237
|
+
declare class FrameCryptorSetKeyIndexRequest extends Message<FrameCryptorSetKeyIndexRequest> {
|
|
162
238
|
/**
|
|
163
239
|
* @generated from field: required string participant_identity = 1;
|
|
164
240
|
*/
|
|
165
|
-
participantIdentity
|
|
241
|
+
participantIdentity?: string;
|
|
166
242
|
/**
|
|
167
243
|
* @generated from field: required string track_sid = 2;
|
|
168
244
|
*/
|
|
169
|
-
trackSid
|
|
245
|
+
trackSid?: string;
|
|
170
246
|
/**
|
|
171
247
|
* @generated from field: required int32 key_index = 3;
|
|
172
248
|
*/
|
|
173
|
-
keyIndex
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
249
|
+
keyIndex?: number;
|
|
250
|
+
constructor(data?: PartialMessage<FrameCryptorSetKeyIndexRequest>);
|
|
251
|
+
static readonly runtime: typeof proto2;
|
|
252
|
+
static readonly typeName = "livekit.proto.FrameCryptorSetKeyIndexRequest";
|
|
253
|
+
static readonly fields: FieldList;
|
|
254
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameCryptorSetKeyIndexRequest;
|
|
255
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameCryptorSetKeyIndexRequest;
|
|
256
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptorSetKeyIndexRequest;
|
|
257
|
+
static equals(a: FrameCryptorSetKeyIndexRequest | PlainMessage<FrameCryptorSetKeyIndexRequest> | undefined, b: FrameCryptorSetKeyIndexRequest | PlainMessage<FrameCryptorSetKeyIndexRequest> | undefined): boolean;
|
|
258
|
+
}
|
|
180
259
|
/**
|
|
181
260
|
* @generated from message livekit.proto.FrameCryptorSetKeyIndexResponse
|
|
182
261
|
*/
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
262
|
+
declare class FrameCryptorSetKeyIndexResponse extends Message<FrameCryptorSetKeyIndexResponse> {
|
|
263
|
+
constructor(data?: PartialMessage<FrameCryptorSetKeyIndexResponse>);
|
|
264
|
+
static readonly runtime: typeof proto2;
|
|
265
|
+
static readonly typeName = "livekit.proto.FrameCryptorSetKeyIndexResponse";
|
|
266
|
+
static readonly fields: FieldList;
|
|
267
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FrameCryptorSetKeyIndexResponse;
|
|
268
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FrameCryptorSetKeyIndexResponse;
|
|
269
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptorSetKeyIndexResponse;
|
|
270
|
+
static equals(a: FrameCryptorSetKeyIndexResponse | PlainMessage<FrameCryptorSetKeyIndexResponse> | undefined, b: FrameCryptorSetKeyIndexResponse | PlainMessage<FrameCryptorSetKeyIndexResponse> | undefined): boolean;
|
|
271
|
+
}
|
|
189
272
|
/**
|
|
190
273
|
* @generated from message livekit.proto.SetSharedKeyRequest
|
|
191
274
|
*/
|
|
192
|
-
|
|
275
|
+
declare class SetSharedKeyRequest extends Message<SetSharedKeyRequest> {
|
|
193
276
|
/**
|
|
194
277
|
* @generated from field: required bytes shared_key = 1;
|
|
195
278
|
*/
|
|
196
|
-
sharedKey
|
|
279
|
+
sharedKey?: Uint8Array;
|
|
197
280
|
/**
|
|
198
281
|
* @generated from field: required int32 key_index = 2;
|
|
199
282
|
*/
|
|
200
|
-
keyIndex
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
283
|
+
keyIndex?: number;
|
|
284
|
+
constructor(data?: PartialMessage<SetSharedKeyRequest>);
|
|
285
|
+
static readonly runtime: typeof proto2;
|
|
286
|
+
static readonly typeName = "livekit.proto.SetSharedKeyRequest";
|
|
287
|
+
static readonly fields: FieldList;
|
|
288
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetSharedKeyRequest;
|
|
289
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetSharedKeyRequest;
|
|
290
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetSharedKeyRequest;
|
|
291
|
+
static equals(a: SetSharedKeyRequest | PlainMessage<SetSharedKeyRequest> | undefined, b: SetSharedKeyRequest | PlainMessage<SetSharedKeyRequest> | undefined): boolean;
|
|
292
|
+
}
|
|
207
293
|
/**
|
|
208
294
|
* @generated from message livekit.proto.SetSharedKeyResponse
|
|
209
295
|
*/
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
296
|
+
declare class SetSharedKeyResponse extends Message<SetSharedKeyResponse> {
|
|
297
|
+
constructor(data?: PartialMessage<SetSharedKeyResponse>);
|
|
298
|
+
static readonly runtime: typeof proto2;
|
|
299
|
+
static readonly typeName = "livekit.proto.SetSharedKeyResponse";
|
|
300
|
+
static readonly fields: FieldList;
|
|
301
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetSharedKeyResponse;
|
|
302
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetSharedKeyResponse;
|
|
303
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetSharedKeyResponse;
|
|
304
|
+
static equals(a: SetSharedKeyResponse | PlainMessage<SetSharedKeyResponse> | undefined, b: SetSharedKeyResponse | PlainMessage<SetSharedKeyResponse> | undefined): boolean;
|
|
305
|
+
}
|
|
216
306
|
/**
|
|
217
307
|
* @generated from message livekit.proto.RatchetSharedKeyRequest
|
|
218
308
|
*/
|
|
219
|
-
|
|
309
|
+
declare class RatchetSharedKeyRequest extends Message<RatchetSharedKeyRequest> {
|
|
220
310
|
/**
|
|
221
311
|
* @generated from field: required int32 key_index = 1;
|
|
222
312
|
*/
|
|
223
|
-
keyIndex
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
313
|
+
keyIndex?: number;
|
|
314
|
+
constructor(data?: PartialMessage<RatchetSharedKeyRequest>);
|
|
315
|
+
static readonly runtime: typeof proto2;
|
|
316
|
+
static readonly typeName = "livekit.proto.RatchetSharedKeyRequest";
|
|
317
|
+
static readonly fields: FieldList;
|
|
318
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RatchetSharedKeyRequest;
|
|
319
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RatchetSharedKeyRequest;
|
|
320
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetSharedKeyRequest;
|
|
321
|
+
static equals(a: RatchetSharedKeyRequest | PlainMessage<RatchetSharedKeyRequest> | undefined, b: RatchetSharedKeyRequest | PlainMessage<RatchetSharedKeyRequest> | undefined): boolean;
|
|
322
|
+
}
|
|
230
323
|
/**
|
|
231
324
|
* @generated from message livekit.proto.RatchetSharedKeyResponse
|
|
232
325
|
*/
|
|
233
|
-
|
|
326
|
+
declare class RatchetSharedKeyResponse extends Message<RatchetSharedKeyResponse> {
|
|
234
327
|
/**
|
|
235
328
|
* @generated from field: optional bytes new_key = 1;
|
|
236
329
|
*/
|
|
237
|
-
newKey
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
330
|
+
newKey?: Uint8Array;
|
|
331
|
+
constructor(data?: PartialMessage<RatchetSharedKeyResponse>);
|
|
332
|
+
static readonly runtime: typeof proto2;
|
|
333
|
+
static readonly typeName = "livekit.proto.RatchetSharedKeyResponse";
|
|
334
|
+
static readonly fields: FieldList;
|
|
335
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RatchetSharedKeyResponse;
|
|
336
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RatchetSharedKeyResponse;
|
|
337
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetSharedKeyResponse;
|
|
338
|
+
static equals(a: RatchetSharedKeyResponse | PlainMessage<RatchetSharedKeyResponse> | undefined, b: RatchetSharedKeyResponse | PlainMessage<RatchetSharedKeyResponse> | undefined): boolean;
|
|
339
|
+
}
|
|
244
340
|
/**
|
|
245
341
|
* @generated from message livekit.proto.GetSharedKeyRequest
|
|
246
342
|
*/
|
|
247
|
-
|
|
343
|
+
declare class GetSharedKeyRequest extends Message<GetSharedKeyRequest> {
|
|
248
344
|
/**
|
|
249
345
|
* @generated from field: required int32 key_index = 1;
|
|
250
346
|
*/
|
|
251
|
-
keyIndex
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
347
|
+
keyIndex?: number;
|
|
348
|
+
constructor(data?: PartialMessage<GetSharedKeyRequest>);
|
|
349
|
+
static readonly runtime: typeof proto2;
|
|
350
|
+
static readonly typeName = "livekit.proto.GetSharedKeyRequest";
|
|
351
|
+
static readonly fields: FieldList;
|
|
352
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSharedKeyRequest;
|
|
353
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSharedKeyRequest;
|
|
354
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSharedKeyRequest;
|
|
355
|
+
static equals(a: GetSharedKeyRequest | PlainMessage<GetSharedKeyRequest> | undefined, b: GetSharedKeyRequest | PlainMessage<GetSharedKeyRequest> | undefined): boolean;
|
|
356
|
+
}
|
|
258
357
|
/**
|
|
259
358
|
* @generated from message livekit.proto.GetSharedKeyResponse
|
|
260
359
|
*/
|
|
261
|
-
|
|
360
|
+
declare class GetSharedKeyResponse extends Message<GetSharedKeyResponse> {
|
|
262
361
|
/**
|
|
263
362
|
* @generated from field: optional bytes key = 1;
|
|
264
363
|
*/
|
|
265
|
-
key
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
364
|
+
key?: Uint8Array;
|
|
365
|
+
constructor(data?: PartialMessage<GetSharedKeyResponse>);
|
|
366
|
+
static readonly runtime: typeof proto2;
|
|
367
|
+
static readonly typeName = "livekit.proto.GetSharedKeyResponse";
|
|
368
|
+
static readonly fields: FieldList;
|
|
369
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSharedKeyResponse;
|
|
370
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSharedKeyResponse;
|
|
371
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSharedKeyResponse;
|
|
372
|
+
static equals(a: GetSharedKeyResponse | PlainMessage<GetSharedKeyResponse> | undefined, b: GetSharedKeyResponse | PlainMessage<GetSharedKeyResponse> | undefined): boolean;
|
|
373
|
+
}
|
|
272
374
|
/**
|
|
273
375
|
* @generated from message livekit.proto.SetKeyRequest
|
|
274
376
|
*/
|
|
275
|
-
|
|
377
|
+
declare class SetKeyRequest extends Message<SetKeyRequest> {
|
|
276
378
|
/**
|
|
277
379
|
* @generated from field: required string participant_identity = 1;
|
|
278
380
|
*/
|
|
279
|
-
participantIdentity
|
|
381
|
+
participantIdentity?: string;
|
|
280
382
|
/**
|
|
281
383
|
* @generated from field: required bytes key = 2;
|
|
282
384
|
*/
|
|
283
|
-
key
|
|
385
|
+
key?: Uint8Array;
|
|
284
386
|
/**
|
|
285
387
|
* @generated from field: required int32 key_index = 3;
|
|
286
388
|
*/
|
|
287
|
-
keyIndex
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
389
|
+
keyIndex?: number;
|
|
390
|
+
constructor(data?: PartialMessage<SetKeyRequest>);
|
|
391
|
+
static readonly runtime: typeof proto2;
|
|
392
|
+
static readonly typeName = "livekit.proto.SetKeyRequest";
|
|
393
|
+
static readonly fields: FieldList;
|
|
394
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetKeyRequest;
|
|
395
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetKeyRequest;
|
|
396
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetKeyRequest;
|
|
397
|
+
static equals(a: SetKeyRequest | PlainMessage<SetKeyRequest> | undefined, b: SetKeyRequest | PlainMessage<SetKeyRequest> | undefined): boolean;
|
|
398
|
+
}
|
|
294
399
|
/**
|
|
295
400
|
* @generated from message livekit.proto.SetKeyResponse
|
|
296
401
|
*/
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
402
|
+
declare class SetKeyResponse extends Message<SetKeyResponse> {
|
|
403
|
+
constructor(data?: PartialMessage<SetKeyResponse>);
|
|
404
|
+
static readonly runtime: typeof proto2;
|
|
405
|
+
static readonly typeName = "livekit.proto.SetKeyResponse";
|
|
406
|
+
static readonly fields: FieldList;
|
|
407
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetKeyResponse;
|
|
408
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetKeyResponse;
|
|
409
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetKeyResponse;
|
|
410
|
+
static equals(a: SetKeyResponse | PlainMessage<SetKeyResponse> | undefined, b: SetKeyResponse | PlainMessage<SetKeyResponse> | undefined): boolean;
|
|
411
|
+
}
|
|
303
412
|
/**
|
|
304
413
|
* @generated from message livekit.proto.RatchetKeyRequest
|
|
305
414
|
*/
|
|
306
|
-
|
|
415
|
+
declare class RatchetKeyRequest extends Message<RatchetKeyRequest> {
|
|
307
416
|
/**
|
|
308
417
|
* @generated from field: required string participant_identity = 1;
|
|
309
418
|
*/
|
|
310
|
-
participantIdentity
|
|
419
|
+
participantIdentity?: string;
|
|
311
420
|
/**
|
|
312
421
|
* @generated from field: required int32 key_index = 2;
|
|
313
422
|
*/
|
|
314
|
-
keyIndex
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
423
|
+
keyIndex?: number;
|
|
424
|
+
constructor(data?: PartialMessage<RatchetKeyRequest>);
|
|
425
|
+
static readonly runtime: typeof proto2;
|
|
426
|
+
static readonly typeName = "livekit.proto.RatchetKeyRequest";
|
|
427
|
+
static readonly fields: FieldList;
|
|
428
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RatchetKeyRequest;
|
|
429
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RatchetKeyRequest;
|
|
430
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetKeyRequest;
|
|
431
|
+
static equals(a: RatchetKeyRequest | PlainMessage<RatchetKeyRequest> | undefined, b: RatchetKeyRequest | PlainMessage<RatchetKeyRequest> | undefined): boolean;
|
|
432
|
+
}
|
|
321
433
|
/**
|
|
322
434
|
* @generated from message livekit.proto.RatchetKeyResponse
|
|
323
435
|
*/
|
|
324
|
-
|
|
436
|
+
declare class RatchetKeyResponse extends Message<RatchetKeyResponse> {
|
|
325
437
|
/**
|
|
326
438
|
* @generated from field: optional bytes new_key = 1;
|
|
327
439
|
*/
|
|
328
|
-
newKey
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
440
|
+
newKey?: Uint8Array;
|
|
441
|
+
constructor(data?: PartialMessage<RatchetKeyResponse>);
|
|
442
|
+
static readonly runtime: typeof proto2;
|
|
443
|
+
static readonly typeName = "livekit.proto.RatchetKeyResponse";
|
|
444
|
+
static readonly fields: FieldList;
|
|
445
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RatchetKeyResponse;
|
|
446
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RatchetKeyResponse;
|
|
447
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetKeyResponse;
|
|
448
|
+
static equals(a: RatchetKeyResponse | PlainMessage<RatchetKeyResponse> | undefined, b: RatchetKeyResponse | PlainMessage<RatchetKeyResponse> | undefined): boolean;
|
|
449
|
+
}
|
|
335
450
|
/**
|
|
336
451
|
* @generated from message livekit.proto.GetKeyRequest
|
|
337
452
|
*/
|
|
338
|
-
|
|
453
|
+
declare class GetKeyRequest extends Message<GetKeyRequest> {
|
|
339
454
|
/**
|
|
340
455
|
* @generated from field: required string participant_identity = 1;
|
|
341
456
|
*/
|
|
342
|
-
participantIdentity
|
|
457
|
+
participantIdentity?: string;
|
|
343
458
|
/**
|
|
344
459
|
* @generated from field: required int32 key_index = 2;
|
|
345
460
|
*/
|
|
346
|
-
keyIndex
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
461
|
+
keyIndex?: number;
|
|
462
|
+
constructor(data?: PartialMessage<GetKeyRequest>);
|
|
463
|
+
static readonly runtime: typeof proto2;
|
|
464
|
+
static readonly typeName = "livekit.proto.GetKeyRequest";
|
|
465
|
+
static readonly fields: FieldList;
|
|
466
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKeyRequest;
|
|
467
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKeyRequest;
|
|
468
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyRequest;
|
|
469
|
+
static equals(a: GetKeyRequest | PlainMessage<GetKeyRequest> | undefined, b: GetKeyRequest | PlainMessage<GetKeyRequest> | undefined): boolean;
|
|
470
|
+
}
|
|
353
471
|
/**
|
|
354
472
|
* @generated from message livekit.proto.GetKeyResponse
|
|
355
473
|
*/
|
|
356
|
-
|
|
474
|
+
declare class GetKeyResponse extends Message<GetKeyResponse> {
|
|
357
475
|
/**
|
|
358
476
|
* @generated from field: optional bytes key = 1;
|
|
359
477
|
*/
|
|
360
|
-
key
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
478
|
+
key?: Uint8Array;
|
|
479
|
+
constructor(data?: PartialMessage<GetKeyResponse>);
|
|
480
|
+
static readonly runtime: typeof proto2;
|
|
481
|
+
static readonly typeName = "livekit.proto.GetKeyResponse";
|
|
482
|
+
static readonly fields: FieldList;
|
|
483
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetKeyResponse;
|
|
484
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetKeyResponse;
|
|
485
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyResponse;
|
|
486
|
+
static equals(a: GetKeyResponse | PlainMessage<GetKeyResponse> | undefined, b: GetKeyResponse | PlainMessage<GetKeyResponse> | undefined): boolean;
|
|
487
|
+
}
|
|
367
488
|
/**
|
|
368
489
|
* @generated from message livekit.proto.E2eeRequest
|
|
369
490
|
*/
|
|
370
|
-
|
|
491
|
+
declare class E2eeRequest extends Message<E2eeRequest> {
|
|
371
492
|
/**
|
|
372
493
|
* @generated from field: required uint64 room_handle = 1;
|
|
373
494
|
*/
|
|
374
|
-
roomHandle
|
|
495
|
+
roomHandle?: bigint;
|
|
375
496
|
/**
|
|
376
497
|
* @generated from oneof livekit.proto.E2eeRequest.message
|
|
377
498
|
*/
|
|
@@ -439,16 +560,19 @@ export type E2eeRequest = Message<"livekit.proto.E2eeRequest"> & {
|
|
|
439
560
|
case: undefined;
|
|
440
561
|
value?: undefined;
|
|
441
562
|
};
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
563
|
+
constructor(data?: PartialMessage<E2eeRequest>);
|
|
564
|
+
static readonly runtime: typeof proto2;
|
|
565
|
+
static readonly typeName = "livekit.proto.E2eeRequest";
|
|
566
|
+
static readonly fields: FieldList;
|
|
567
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeRequest;
|
|
568
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeRequest;
|
|
569
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeRequest;
|
|
570
|
+
static equals(a: E2eeRequest | PlainMessage<E2eeRequest> | undefined, b: E2eeRequest | PlainMessage<E2eeRequest> | undefined): boolean;
|
|
571
|
+
}
|
|
448
572
|
/**
|
|
449
573
|
* @generated from message livekit.proto.E2eeResponse
|
|
450
574
|
*/
|
|
451
|
-
|
|
575
|
+
declare class E2eeResponse extends Message<E2eeResponse> {
|
|
452
576
|
/**
|
|
453
577
|
* @generated from oneof livekit.proto.E2eeResponse.message
|
|
454
578
|
*/
|
|
@@ -516,68 +640,14 @@ export type E2eeResponse = Message<"livekit.proto.E2eeResponse"> & {
|
|
|
516
640
|
case: undefined;
|
|
517
641
|
value?: undefined;
|
|
518
642
|
};
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
*/
|
|
528
|
-
export declare enum EncryptionType {
|
|
529
|
-
/**
|
|
530
|
-
* @generated from enum value: NONE = 0;
|
|
531
|
-
*/
|
|
532
|
-
NONE = 0,
|
|
533
|
-
/**
|
|
534
|
-
* @generated from enum value: GCM = 1;
|
|
535
|
-
*/
|
|
536
|
-
GCM = 1,
|
|
537
|
-
/**
|
|
538
|
-
* @generated from enum value: CUSTOM = 2;
|
|
539
|
-
*/
|
|
540
|
-
CUSTOM = 2
|
|
541
|
-
}
|
|
542
|
-
/**
|
|
543
|
-
* Describes the enum livekit.proto.EncryptionType.
|
|
544
|
-
*/
|
|
545
|
-
export declare const EncryptionTypeSchema: GenEnum<EncryptionType>;
|
|
546
|
-
/**
|
|
547
|
-
* @generated from enum livekit.proto.EncryptionState
|
|
548
|
-
*/
|
|
549
|
-
export declare enum EncryptionState {
|
|
550
|
-
/**
|
|
551
|
-
* @generated from enum value: NEW = 0;
|
|
552
|
-
*/
|
|
553
|
-
NEW = 0,
|
|
554
|
-
/**
|
|
555
|
-
* @generated from enum value: OK = 1;
|
|
556
|
-
*/
|
|
557
|
-
OK = 1,
|
|
558
|
-
/**
|
|
559
|
-
* @generated from enum value: ENCRYPTION_FAILED = 2;
|
|
560
|
-
*/
|
|
561
|
-
ENCRYPTION_FAILED = 2,
|
|
562
|
-
/**
|
|
563
|
-
* @generated from enum value: DECRYPTION_FAILED = 3;
|
|
564
|
-
*/
|
|
565
|
-
DECRYPTION_FAILED = 3,
|
|
566
|
-
/**
|
|
567
|
-
* @generated from enum value: MISSING_KEY = 4;
|
|
568
|
-
*/
|
|
569
|
-
MISSING_KEY = 4,
|
|
570
|
-
/**
|
|
571
|
-
* @generated from enum value: KEY_RATCHETED = 5;
|
|
572
|
-
*/
|
|
573
|
-
KEY_RATCHETED = 5,
|
|
574
|
-
/**
|
|
575
|
-
* @generated from enum value: INTERNAL_ERROR = 6;
|
|
576
|
-
*/
|
|
577
|
-
INTERNAL_ERROR = 6
|
|
643
|
+
constructor(data?: PartialMessage<E2eeResponse>);
|
|
644
|
+
static readonly runtime: typeof proto2;
|
|
645
|
+
static readonly typeName = "livekit.proto.E2eeResponse";
|
|
646
|
+
static readonly fields: FieldList;
|
|
647
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeResponse;
|
|
648
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeResponse;
|
|
649
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeResponse;
|
|
650
|
+
static equals(a: E2eeResponse | PlainMessage<E2eeResponse> | undefined, b: E2eeResponse | PlainMessage<E2eeResponse> | undefined): boolean;
|
|
578
651
|
}
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
*/
|
|
582
|
-
export declare const EncryptionStateSchema: GenEnum<EncryptionState>;
|
|
583
|
-
//# sourceMappingURL=e2ee_pb.d.ts.map
|
|
652
|
+
|
|
653
|
+
export { E2eeManagerGetFrameCryptorsRequest, E2eeManagerGetFrameCryptorsResponse, E2eeManagerSetEnabledRequest, E2eeManagerSetEnabledResponse, E2eeOptions, E2eeRequest, E2eeResponse, EncryptionState, EncryptionType, FrameCryptor, FrameCryptorSetEnabledRequest, FrameCryptorSetEnabledResponse, FrameCryptorSetKeyIndexRequest, FrameCryptorSetKeyIndexResponse, GetKeyRequest, GetKeyResponse, GetSharedKeyRequest, GetSharedKeyResponse, KeyProviderOptions, RatchetKeyRequest, RatchetKeyResponse, RatchetSharedKeyRequest, RatchetSharedKeyResponse, SetKeyRequest, SetKeyResponse, SetSharedKeyRequest, SetSharedKeyResponse };
|