@livekit/rtc-node 0.10.3 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -2
- package/build.rs +1 -1
- package/dist/audio_frame.d.ts +1 -1
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +4 -4
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +8 -7
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -4
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts +1 -1
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +4 -3
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +25 -25
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.d.ts +3 -3
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +9 -7
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -4
- package/dist/index.js.map +1 -1
- package/dist/napi/native.d.ts +1 -0
- package/dist/participant.d.ts +52 -6
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +155 -32
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.d.ts +451 -526
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +200 -1179
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.d.ts +264 -333
- package/dist/proto/e2ee_pb.d.ts.map +1 -1
- package/dist/proto/e2ee_pb.js +136 -810
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.d.ts +175 -129
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +58 -395
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.d.ts +14 -13
- package/dist/proto/handle_pb.d.ts.map +1 -1
- package/dist/proto/handle_pb.js +8 -39
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.d.ts +54 -52
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +18 -90
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.d.ts +1042 -1187
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +470 -2938
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/rpc_pb.d.ts +235 -0
- package/dist/proto/rpc_pb.d.ts.map +1 -0
- package/dist/proto/rpc_pb.js +74 -0
- package/dist/proto/rpc_pb.js.map +1 -0
- package/dist/proto/stats_pb.d.ts +738 -800
- package/dist/proto/stats_pb.d.ts.map +1 -1
- package/dist/proto/stats_pb.js +218 -1960
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.d.ts +225 -258
- package/dist/proto/track_pb.d.ts.map +1 -1
- package/dist/proto/track_pb.js +98 -591
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.d.ts +357 -390
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +137 -790
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.d.ts +21 -7
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +134 -54
- package/dist/room.js.map +1 -1
- package/dist/rpc.d.ts +78 -0
- package/dist/rpc.d.ts.map +1 -0
- package/dist/rpc.js +69 -0
- package/dist/rpc.js.map +1 -0
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +7 -3
- package/dist/track.js.map +1 -1
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +3 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/video_frame.d.ts +2 -2
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +47 -25
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +4 -3
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.d.ts +1 -1
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +7 -3
- package/dist/video_stream.js.map +1 -1
- package/package.json +13 -10
- package/src/audio_frame.ts +6 -6
- package/src/audio_resampler.ts +10 -9
- package/src/audio_source.ts +9 -8
- package/src/audio_stream.ts +7 -6
- package/src/e2ee.ts +34 -34
- package/src/ffi_client.ts +23 -10
- package/src/index.ts +61 -2
- package/src/napi/native.d.ts +1 -0
- package/src/nodejs.rs +6 -3
- package/src/participant.ts +219 -55
- package/src/proto/audio_frame_pb.ts +562 -1279
- package/src/proto/e2ee_pb.ts +365 -886
- package/src/proto/ffi_pb.ts +206 -405
- package/src/proto/handle_pb.ts +21 -35
- package/src/proto/participant_pb.ts +71 -112
- package/src/proto/room_pb.ts +1284 -2995
- package/src/proto/rpc_pb.ts +310 -0
- package/src/proto/stats_pb.ts +1028 -1947
- package/src/proto/track_pb.ts +287 -621
- package/src/proto/video_frame_pb.ts +445 -905
- package/src/room.ts +181 -75
- package/src/rpc.ts +121 -0
- package/src/track.ts +8 -7
- package/src/track_publication.ts +5 -4
- package/src/version.ts +1 -0
- package/src/video_frame.ts +54 -27
- package/src/video_source.ts +7 -6
- package/src/video_stream.ts +7 -6
- package/dist/utils.d.ts +0 -7
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js +0 -48
- package/dist/utils.js.map +0 -1
- package/src/utils.test.ts +0 -47
- package/src/utils.ts +0 -44
package/dist/proto/e2ee_pb.d.ts
CHANGED
|
@@ -1,496 +1,375 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Describes the file e2ee.proto.
|
|
5
5
|
*/
|
|
6
|
-
export declare
|
|
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
|
|
22
|
-
*/
|
|
23
|
-
export 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
|
-
}
|
|
6
|
+
export declare const file_e2ee: GenFile;
|
|
53
7
|
/**
|
|
54
8
|
* @generated from message livekit.proto.FrameCryptor
|
|
55
9
|
*/
|
|
56
|
-
export
|
|
10
|
+
export type FrameCryptor = Message<"livekit.proto.FrameCryptor"> & {
|
|
57
11
|
/**
|
|
58
|
-
* @generated from field: string participant_identity = 1;
|
|
12
|
+
* @generated from field: required string participant_identity = 1;
|
|
59
13
|
*/
|
|
60
14
|
participantIdentity: string;
|
|
61
15
|
/**
|
|
62
|
-
* @generated from field: string track_sid = 2;
|
|
16
|
+
* @generated from field: required string track_sid = 2;
|
|
63
17
|
*/
|
|
64
18
|
trackSid: string;
|
|
65
19
|
/**
|
|
66
|
-
* @generated from field: int32 key_index = 3;
|
|
20
|
+
* @generated from field: required int32 key_index = 3;
|
|
67
21
|
*/
|
|
68
22
|
keyIndex: number;
|
|
69
23
|
/**
|
|
70
|
-
* @generated from field: bool enabled = 4;
|
|
24
|
+
* @generated from field: required bool enabled = 4;
|
|
71
25
|
*/
|
|
72
26
|
enabled: boolean;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptor;
|
|
80
|
-
static equals(a: FrameCryptor | PlainMessage<FrameCryptor> | undefined, b: FrameCryptor | PlainMessage<FrameCryptor> | undefined): boolean;
|
|
81
|
-
}
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message livekit.proto.FrameCryptor.
|
|
30
|
+
* Use `create(FrameCryptorSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export declare const FrameCryptorSchema: GenMessage<FrameCryptor>;
|
|
82
33
|
/**
|
|
83
34
|
* @generated from message livekit.proto.KeyProviderOptions
|
|
84
35
|
*/
|
|
85
|
-
export
|
|
36
|
+
export type KeyProviderOptions = Message<"livekit.proto.KeyProviderOptions"> & {
|
|
86
37
|
/**
|
|
87
38
|
* Only specify if you want to use a shared_key
|
|
88
39
|
*
|
|
89
40
|
* @generated from field: optional bytes shared_key = 1;
|
|
90
41
|
*/
|
|
91
|
-
sharedKey
|
|
42
|
+
sharedKey: Uint8Array;
|
|
92
43
|
/**
|
|
93
|
-
* @generated from field: int32 ratchet_window_size = 2;
|
|
44
|
+
* @generated from field: required int32 ratchet_window_size = 2;
|
|
94
45
|
*/
|
|
95
46
|
ratchetWindowSize: number;
|
|
96
47
|
/**
|
|
97
|
-
* @generated from field: bytes ratchet_salt = 3;
|
|
48
|
+
* @generated from field: required bytes ratchet_salt = 3;
|
|
98
49
|
*/
|
|
99
50
|
ratchetSalt: Uint8Array;
|
|
100
51
|
/**
|
|
101
|
-
* -1 = no
|
|
52
|
+
* -1 = no tolerance
|
|
102
53
|
*
|
|
103
|
-
* @generated from field: int32 failure_tolerance = 4;
|
|
54
|
+
* @generated from field: required int32 failure_tolerance = 4;
|
|
104
55
|
*/
|
|
105
56
|
failureTolerance: number;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KeyProviderOptions;
|
|
113
|
-
static equals(a: KeyProviderOptions | PlainMessage<KeyProviderOptions> | undefined, b: KeyProviderOptions | PlainMessage<KeyProviderOptions> | undefined): boolean;
|
|
114
|
-
}
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message livekit.proto.KeyProviderOptions.
|
|
60
|
+
* Use `create(KeyProviderOptionsSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export declare const KeyProviderOptionsSchema: GenMessage<KeyProviderOptions>;
|
|
115
63
|
/**
|
|
116
64
|
* @generated from message livekit.proto.E2eeOptions
|
|
117
65
|
*/
|
|
118
|
-
export
|
|
66
|
+
export type E2eeOptions = Message<"livekit.proto.E2eeOptions"> & {
|
|
119
67
|
/**
|
|
120
|
-
* @generated from field: livekit.proto.EncryptionType encryption_type = 1;
|
|
68
|
+
* @generated from field: required livekit.proto.EncryptionType encryption_type = 1;
|
|
121
69
|
*/
|
|
122
70
|
encryptionType: EncryptionType;
|
|
123
71
|
/**
|
|
124
|
-
* @generated from field: livekit.proto.KeyProviderOptions key_provider_options = 2;
|
|
72
|
+
* @generated from field: required livekit.proto.KeyProviderOptions key_provider_options = 2;
|
|
125
73
|
*/
|
|
126
74
|
keyProviderOptions?: KeyProviderOptions;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeOptions;
|
|
134
|
-
static equals(a: E2eeOptions | PlainMessage<E2eeOptions> | undefined, b: E2eeOptions | PlainMessage<E2eeOptions> | undefined): boolean;
|
|
135
|
-
}
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message livekit.proto.E2eeOptions.
|
|
78
|
+
* Use `create(E2eeOptionsSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export declare const E2eeOptionsSchema: GenMessage<E2eeOptions>;
|
|
136
81
|
/**
|
|
137
82
|
* @generated from message livekit.proto.E2eeManagerSetEnabledRequest
|
|
138
83
|
*/
|
|
139
|
-
export
|
|
84
|
+
export type E2eeManagerSetEnabledRequest = Message<"livekit.proto.E2eeManagerSetEnabledRequest"> & {
|
|
140
85
|
/**
|
|
141
|
-
* @generated from field: bool enabled = 1;
|
|
86
|
+
* @generated from field: required bool enabled = 1;
|
|
142
87
|
*/
|
|
143
88
|
enabled: boolean;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeManagerSetEnabledRequest;
|
|
151
|
-
static equals(a: E2eeManagerSetEnabledRequest | PlainMessage<E2eeManagerSetEnabledRequest> | undefined, b: E2eeManagerSetEnabledRequest | PlainMessage<E2eeManagerSetEnabledRequest> | undefined): boolean;
|
|
152
|
-
}
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message livekit.proto.E2eeManagerSetEnabledRequest.
|
|
92
|
+
* Use `create(E2eeManagerSetEnabledRequestSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export declare const E2eeManagerSetEnabledRequestSchema: GenMessage<E2eeManagerSetEnabledRequest>;
|
|
153
95
|
/**
|
|
154
96
|
* @generated from message livekit.proto.E2eeManagerSetEnabledResponse
|
|
155
97
|
*/
|
|
156
|
-
export
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
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
|
-
}
|
|
98
|
+
export type E2eeManagerSetEnabledResponse = Message<"livekit.proto.E2eeManagerSetEnabledResponse"> & {};
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message livekit.proto.E2eeManagerSetEnabledResponse.
|
|
101
|
+
* Use `create(E2eeManagerSetEnabledResponseSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export declare const E2eeManagerSetEnabledResponseSchema: GenMessage<E2eeManagerSetEnabledResponse>;
|
|
166
104
|
/**
|
|
167
105
|
* @generated from message livekit.proto.E2eeManagerGetFrameCryptorsRequest
|
|
168
106
|
*/
|
|
169
|
-
export
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
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
|
-
}
|
|
107
|
+
export type E2eeManagerGetFrameCryptorsRequest = Message<"livekit.proto.E2eeManagerGetFrameCryptorsRequest"> & {};
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message livekit.proto.E2eeManagerGetFrameCryptorsRequest.
|
|
110
|
+
* Use `create(E2eeManagerGetFrameCryptorsRequestSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export declare const E2eeManagerGetFrameCryptorsRequestSchema: GenMessage<E2eeManagerGetFrameCryptorsRequest>;
|
|
179
113
|
/**
|
|
180
114
|
* @generated from message livekit.proto.E2eeManagerGetFrameCryptorsResponse
|
|
181
115
|
*/
|
|
182
|
-
export
|
|
116
|
+
export type E2eeManagerGetFrameCryptorsResponse = Message<"livekit.proto.E2eeManagerGetFrameCryptorsResponse"> & {
|
|
183
117
|
/**
|
|
184
118
|
* @generated from field: repeated livekit.proto.FrameCryptor frame_cryptors = 1;
|
|
185
119
|
*/
|
|
186
120
|
frameCryptors: FrameCryptor[];
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeManagerGetFrameCryptorsResponse;
|
|
194
|
-
static equals(a: E2eeManagerGetFrameCryptorsResponse | PlainMessage<E2eeManagerGetFrameCryptorsResponse> | undefined, b: E2eeManagerGetFrameCryptorsResponse | PlainMessage<E2eeManagerGetFrameCryptorsResponse> | undefined): boolean;
|
|
195
|
-
}
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message livekit.proto.E2eeManagerGetFrameCryptorsResponse.
|
|
124
|
+
* Use `create(E2eeManagerGetFrameCryptorsResponseSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export declare const E2eeManagerGetFrameCryptorsResponseSchema: GenMessage<E2eeManagerGetFrameCryptorsResponse>;
|
|
196
127
|
/**
|
|
197
128
|
* @generated from message livekit.proto.FrameCryptorSetEnabledRequest
|
|
198
129
|
*/
|
|
199
|
-
export
|
|
130
|
+
export type FrameCryptorSetEnabledRequest = Message<"livekit.proto.FrameCryptorSetEnabledRequest"> & {
|
|
200
131
|
/**
|
|
201
|
-
* @generated from field: string participant_identity = 1;
|
|
132
|
+
* @generated from field: required string participant_identity = 1;
|
|
202
133
|
*/
|
|
203
134
|
participantIdentity: string;
|
|
204
135
|
/**
|
|
205
|
-
* @generated from field: string track_sid = 2;
|
|
136
|
+
* @generated from field: required string track_sid = 2;
|
|
206
137
|
*/
|
|
207
138
|
trackSid: string;
|
|
208
139
|
/**
|
|
209
|
-
* @generated from field: bool enabled = 3;
|
|
140
|
+
* @generated from field: required bool enabled = 3;
|
|
210
141
|
*/
|
|
211
142
|
enabled: boolean;
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptorSetEnabledRequest;
|
|
219
|
-
static equals(a: FrameCryptorSetEnabledRequest | PlainMessage<FrameCryptorSetEnabledRequest> | undefined, b: FrameCryptorSetEnabledRequest | PlainMessage<FrameCryptorSetEnabledRequest> | undefined): boolean;
|
|
220
|
-
}
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message livekit.proto.FrameCryptorSetEnabledRequest.
|
|
146
|
+
* Use `create(FrameCryptorSetEnabledRequestSchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export declare const FrameCryptorSetEnabledRequestSchema: GenMessage<FrameCryptorSetEnabledRequest>;
|
|
221
149
|
/**
|
|
222
150
|
* @generated from message livekit.proto.FrameCryptorSetEnabledResponse
|
|
223
151
|
*/
|
|
224
|
-
export
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
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
|
-
}
|
|
152
|
+
export type FrameCryptorSetEnabledResponse = Message<"livekit.proto.FrameCryptorSetEnabledResponse"> & {};
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message livekit.proto.FrameCryptorSetEnabledResponse.
|
|
155
|
+
* Use `create(FrameCryptorSetEnabledResponseSchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export declare const FrameCryptorSetEnabledResponseSchema: GenMessage<FrameCryptorSetEnabledResponse>;
|
|
234
158
|
/**
|
|
235
159
|
* @generated from message livekit.proto.FrameCryptorSetKeyIndexRequest
|
|
236
160
|
*/
|
|
237
|
-
export
|
|
161
|
+
export type FrameCryptorSetKeyIndexRequest = Message<"livekit.proto.FrameCryptorSetKeyIndexRequest"> & {
|
|
238
162
|
/**
|
|
239
|
-
* @generated from field: string participant_identity = 1;
|
|
163
|
+
* @generated from field: required string participant_identity = 1;
|
|
240
164
|
*/
|
|
241
165
|
participantIdentity: string;
|
|
242
166
|
/**
|
|
243
|
-
* @generated from field: string track_sid = 2;
|
|
167
|
+
* @generated from field: required string track_sid = 2;
|
|
244
168
|
*/
|
|
245
169
|
trackSid: string;
|
|
246
170
|
/**
|
|
247
|
-
* @generated from field: int32 key_index = 3;
|
|
171
|
+
* @generated from field: required int32 key_index = 3;
|
|
248
172
|
*/
|
|
249
173
|
keyIndex: number;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FrameCryptorSetKeyIndexRequest;
|
|
257
|
-
static equals(a: FrameCryptorSetKeyIndexRequest | PlainMessage<FrameCryptorSetKeyIndexRequest> | undefined, b: FrameCryptorSetKeyIndexRequest | PlainMessage<FrameCryptorSetKeyIndexRequest> | undefined): boolean;
|
|
258
|
-
}
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message livekit.proto.FrameCryptorSetKeyIndexRequest.
|
|
177
|
+
* Use `create(FrameCryptorSetKeyIndexRequestSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export declare const FrameCryptorSetKeyIndexRequestSchema: GenMessage<FrameCryptorSetKeyIndexRequest>;
|
|
259
180
|
/**
|
|
260
181
|
* @generated from message livekit.proto.FrameCryptorSetKeyIndexResponse
|
|
261
182
|
*/
|
|
262
|
-
export
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
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
|
-
}
|
|
183
|
+
export type FrameCryptorSetKeyIndexResponse = Message<"livekit.proto.FrameCryptorSetKeyIndexResponse"> & {};
|
|
184
|
+
/**
|
|
185
|
+
* Describes the message livekit.proto.FrameCryptorSetKeyIndexResponse.
|
|
186
|
+
* Use `create(FrameCryptorSetKeyIndexResponseSchema)` to create a new message.
|
|
187
|
+
*/
|
|
188
|
+
export declare const FrameCryptorSetKeyIndexResponseSchema: GenMessage<FrameCryptorSetKeyIndexResponse>;
|
|
272
189
|
/**
|
|
273
190
|
* @generated from message livekit.proto.SetSharedKeyRequest
|
|
274
191
|
*/
|
|
275
|
-
export
|
|
192
|
+
export type SetSharedKeyRequest = Message<"livekit.proto.SetSharedKeyRequest"> & {
|
|
276
193
|
/**
|
|
277
|
-
* @generated from field: bytes shared_key = 1;
|
|
194
|
+
* @generated from field: required bytes shared_key = 1;
|
|
278
195
|
*/
|
|
279
196
|
sharedKey: Uint8Array;
|
|
280
197
|
/**
|
|
281
|
-
* @generated from field: int32 key_index = 2;
|
|
198
|
+
* @generated from field: required int32 key_index = 2;
|
|
282
199
|
*/
|
|
283
200
|
keyIndex: number;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetSharedKeyRequest;
|
|
291
|
-
static equals(a: SetSharedKeyRequest | PlainMessage<SetSharedKeyRequest> | undefined, b: SetSharedKeyRequest | PlainMessage<SetSharedKeyRequest> | undefined): boolean;
|
|
292
|
-
}
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Describes the message livekit.proto.SetSharedKeyRequest.
|
|
204
|
+
* Use `create(SetSharedKeyRequestSchema)` to create a new message.
|
|
205
|
+
*/
|
|
206
|
+
export declare const SetSharedKeyRequestSchema: GenMessage<SetSharedKeyRequest>;
|
|
293
207
|
/**
|
|
294
208
|
* @generated from message livekit.proto.SetSharedKeyResponse
|
|
295
209
|
*/
|
|
296
|
-
export
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
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
|
-
}
|
|
210
|
+
export type SetSharedKeyResponse = Message<"livekit.proto.SetSharedKeyResponse"> & {};
|
|
211
|
+
/**
|
|
212
|
+
* Describes the message livekit.proto.SetSharedKeyResponse.
|
|
213
|
+
* Use `create(SetSharedKeyResponseSchema)` to create a new message.
|
|
214
|
+
*/
|
|
215
|
+
export declare const SetSharedKeyResponseSchema: GenMessage<SetSharedKeyResponse>;
|
|
306
216
|
/**
|
|
307
217
|
* @generated from message livekit.proto.RatchetSharedKeyRequest
|
|
308
218
|
*/
|
|
309
|
-
export
|
|
219
|
+
export type RatchetSharedKeyRequest = Message<"livekit.proto.RatchetSharedKeyRequest"> & {
|
|
310
220
|
/**
|
|
311
|
-
* @generated from field: int32 key_index = 1;
|
|
221
|
+
* @generated from field: required int32 key_index = 1;
|
|
312
222
|
*/
|
|
313
223
|
keyIndex: number;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetSharedKeyRequest;
|
|
321
|
-
static equals(a: RatchetSharedKeyRequest | PlainMessage<RatchetSharedKeyRequest> | undefined, b: RatchetSharedKeyRequest | PlainMessage<RatchetSharedKeyRequest> | undefined): boolean;
|
|
322
|
-
}
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* Describes the message livekit.proto.RatchetSharedKeyRequest.
|
|
227
|
+
* Use `create(RatchetSharedKeyRequestSchema)` to create a new message.
|
|
228
|
+
*/
|
|
229
|
+
export declare const RatchetSharedKeyRequestSchema: GenMessage<RatchetSharedKeyRequest>;
|
|
323
230
|
/**
|
|
324
231
|
* @generated from message livekit.proto.RatchetSharedKeyResponse
|
|
325
232
|
*/
|
|
326
|
-
export
|
|
233
|
+
export type RatchetSharedKeyResponse = Message<"livekit.proto.RatchetSharedKeyResponse"> & {
|
|
327
234
|
/**
|
|
328
235
|
* @generated from field: optional bytes new_key = 1;
|
|
329
236
|
*/
|
|
330
|
-
newKey
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetSharedKeyResponse;
|
|
338
|
-
static equals(a: RatchetSharedKeyResponse | PlainMessage<RatchetSharedKeyResponse> | undefined, b: RatchetSharedKeyResponse | PlainMessage<RatchetSharedKeyResponse> | undefined): boolean;
|
|
339
|
-
}
|
|
237
|
+
newKey: Uint8Array;
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Describes the message livekit.proto.RatchetSharedKeyResponse.
|
|
241
|
+
* Use `create(RatchetSharedKeyResponseSchema)` to create a new message.
|
|
242
|
+
*/
|
|
243
|
+
export declare const RatchetSharedKeyResponseSchema: GenMessage<RatchetSharedKeyResponse>;
|
|
340
244
|
/**
|
|
341
245
|
* @generated from message livekit.proto.GetSharedKeyRequest
|
|
342
246
|
*/
|
|
343
|
-
export
|
|
247
|
+
export type GetSharedKeyRequest = Message<"livekit.proto.GetSharedKeyRequest"> & {
|
|
344
248
|
/**
|
|
345
|
-
* @generated from field: int32 key_index = 1;
|
|
249
|
+
* @generated from field: required int32 key_index = 1;
|
|
346
250
|
*/
|
|
347
251
|
keyIndex: number;
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSharedKeyRequest;
|
|
355
|
-
static equals(a: GetSharedKeyRequest | PlainMessage<GetSharedKeyRequest> | undefined, b: GetSharedKeyRequest | PlainMessage<GetSharedKeyRequest> | undefined): boolean;
|
|
356
|
-
}
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* Describes the message livekit.proto.GetSharedKeyRequest.
|
|
255
|
+
* Use `create(GetSharedKeyRequestSchema)` to create a new message.
|
|
256
|
+
*/
|
|
257
|
+
export declare const GetSharedKeyRequestSchema: GenMessage<GetSharedKeyRequest>;
|
|
357
258
|
/**
|
|
358
259
|
* @generated from message livekit.proto.GetSharedKeyResponse
|
|
359
260
|
*/
|
|
360
|
-
export
|
|
261
|
+
export type GetSharedKeyResponse = Message<"livekit.proto.GetSharedKeyResponse"> & {
|
|
361
262
|
/**
|
|
362
263
|
* @generated from field: optional bytes key = 1;
|
|
363
264
|
*/
|
|
364
|
-
key
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSharedKeyResponse;
|
|
372
|
-
static equals(a: GetSharedKeyResponse | PlainMessage<GetSharedKeyResponse> | undefined, b: GetSharedKeyResponse | PlainMessage<GetSharedKeyResponse> | undefined): boolean;
|
|
373
|
-
}
|
|
265
|
+
key: Uint8Array;
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* Describes the message livekit.proto.GetSharedKeyResponse.
|
|
269
|
+
* Use `create(GetSharedKeyResponseSchema)` to create a new message.
|
|
270
|
+
*/
|
|
271
|
+
export declare const GetSharedKeyResponseSchema: GenMessage<GetSharedKeyResponse>;
|
|
374
272
|
/**
|
|
375
273
|
* @generated from message livekit.proto.SetKeyRequest
|
|
376
274
|
*/
|
|
377
|
-
export
|
|
275
|
+
export type SetKeyRequest = Message<"livekit.proto.SetKeyRequest"> & {
|
|
378
276
|
/**
|
|
379
|
-
* @generated from field: string participant_identity = 1;
|
|
277
|
+
* @generated from field: required string participant_identity = 1;
|
|
380
278
|
*/
|
|
381
279
|
participantIdentity: string;
|
|
382
280
|
/**
|
|
383
|
-
* @generated from field: bytes key = 2;
|
|
281
|
+
* @generated from field: required bytes key = 2;
|
|
384
282
|
*/
|
|
385
283
|
key: Uint8Array;
|
|
386
284
|
/**
|
|
387
|
-
* @generated from field: int32 key_index = 3;
|
|
285
|
+
* @generated from field: required int32 key_index = 3;
|
|
388
286
|
*/
|
|
389
287
|
keyIndex: number;
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetKeyRequest;
|
|
397
|
-
static equals(a: SetKeyRequest | PlainMessage<SetKeyRequest> | undefined, b: SetKeyRequest | PlainMessage<SetKeyRequest> | undefined): boolean;
|
|
398
|
-
}
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* Describes the message livekit.proto.SetKeyRequest.
|
|
291
|
+
* Use `create(SetKeyRequestSchema)` to create a new message.
|
|
292
|
+
*/
|
|
293
|
+
export declare const SetKeyRequestSchema: GenMessage<SetKeyRequest>;
|
|
399
294
|
/**
|
|
400
295
|
* @generated from message livekit.proto.SetKeyResponse
|
|
401
296
|
*/
|
|
402
|
-
export
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
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
|
-
}
|
|
297
|
+
export type SetKeyResponse = Message<"livekit.proto.SetKeyResponse"> & {};
|
|
298
|
+
/**
|
|
299
|
+
* Describes the message livekit.proto.SetKeyResponse.
|
|
300
|
+
* Use `create(SetKeyResponseSchema)` to create a new message.
|
|
301
|
+
*/
|
|
302
|
+
export declare const SetKeyResponseSchema: GenMessage<SetKeyResponse>;
|
|
412
303
|
/**
|
|
413
304
|
* @generated from message livekit.proto.RatchetKeyRequest
|
|
414
305
|
*/
|
|
415
|
-
export
|
|
306
|
+
export type RatchetKeyRequest = Message<"livekit.proto.RatchetKeyRequest"> & {
|
|
416
307
|
/**
|
|
417
|
-
* @generated from field: string participant_identity = 1;
|
|
308
|
+
* @generated from field: required string participant_identity = 1;
|
|
418
309
|
*/
|
|
419
310
|
participantIdentity: string;
|
|
420
311
|
/**
|
|
421
|
-
* @generated from field: int32 key_index = 2;
|
|
312
|
+
* @generated from field: required int32 key_index = 2;
|
|
422
313
|
*/
|
|
423
314
|
keyIndex: number;
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetKeyRequest;
|
|
431
|
-
static equals(a: RatchetKeyRequest | PlainMessage<RatchetKeyRequest> | undefined, b: RatchetKeyRequest | PlainMessage<RatchetKeyRequest> | undefined): boolean;
|
|
432
|
-
}
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Describes the message livekit.proto.RatchetKeyRequest.
|
|
318
|
+
* Use `create(RatchetKeyRequestSchema)` to create a new message.
|
|
319
|
+
*/
|
|
320
|
+
export declare const RatchetKeyRequestSchema: GenMessage<RatchetKeyRequest>;
|
|
433
321
|
/**
|
|
434
322
|
* @generated from message livekit.proto.RatchetKeyResponse
|
|
435
323
|
*/
|
|
436
|
-
export
|
|
324
|
+
export type RatchetKeyResponse = Message<"livekit.proto.RatchetKeyResponse"> & {
|
|
437
325
|
/**
|
|
438
326
|
* @generated from field: optional bytes new_key = 1;
|
|
439
327
|
*/
|
|
440
|
-
newKey
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RatchetKeyResponse;
|
|
448
|
-
static equals(a: RatchetKeyResponse | PlainMessage<RatchetKeyResponse> | undefined, b: RatchetKeyResponse | PlainMessage<RatchetKeyResponse> | undefined): boolean;
|
|
449
|
-
}
|
|
328
|
+
newKey: Uint8Array;
|
|
329
|
+
};
|
|
330
|
+
/**
|
|
331
|
+
* Describes the message livekit.proto.RatchetKeyResponse.
|
|
332
|
+
* Use `create(RatchetKeyResponseSchema)` to create a new message.
|
|
333
|
+
*/
|
|
334
|
+
export declare const RatchetKeyResponseSchema: GenMessage<RatchetKeyResponse>;
|
|
450
335
|
/**
|
|
451
336
|
* @generated from message livekit.proto.GetKeyRequest
|
|
452
337
|
*/
|
|
453
|
-
export
|
|
338
|
+
export type GetKeyRequest = Message<"livekit.proto.GetKeyRequest"> & {
|
|
454
339
|
/**
|
|
455
|
-
* @generated from field: string participant_identity = 1;
|
|
340
|
+
* @generated from field: required string participant_identity = 1;
|
|
456
341
|
*/
|
|
457
342
|
participantIdentity: string;
|
|
458
343
|
/**
|
|
459
|
-
* @generated from field: int32 key_index = 2;
|
|
344
|
+
* @generated from field: required int32 key_index = 2;
|
|
460
345
|
*/
|
|
461
346
|
keyIndex: number;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyRequest;
|
|
469
|
-
static equals(a: GetKeyRequest | PlainMessage<GetKeyRequest> | undefined, b: GetKeyRequest | PlainMessage<GetKeyRequest> | undefined): boolean;
|
|
470
|
-
}
|
|
347
|
+
};
|
|
348
|
+
/**
|
|
349
|
+
* Describes the message livekit.proto.GetKeyRequest.
|
|
350
|
+
* Use `create(GetKeyRequestSchema)` to create a new message.
|
|
351
|
+
*/
|
|
352
|
+
export declare const GetKeyRequestSchema: GenMessage<GetKeyRequest>;
|
|
471
353
|
/**
|
|
472
354
|
* @generated from message livekit.proto.GetKeyResponse
|
|
473
355
|
*/
|
|
474
|
-
export
|
|
356
|
+
export type GetKeyResponse = Message<"livekit.proto.GetKeyResponse"> & {
|
|
475
357
|
/**
|
|
476
358
|
* @generated from field: optional bytes key = 1;
|
|
477
359
|
*/
|
|
478
|
-
key
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetKeyResponse;
|
|
486
|
-
static equals(a: GetKeyResponse | PlainMessage<GetKeyResponse> | undefined, b: GetKeyResponse | PlainMessage<GetKeyResponse> | undefined): boolean;
|
|
487
|
-
}
|
|
360
|
+
key: Uint8Array;
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Describes the message livekit.proto.GetKeyResponse.
|
|
364
|
+
* Use `create(GetKeyResponseSchema)` to create a new message.
|
|
365
|
+
*/
|
|
366
|
+
export declare const GetKeyResponseSchema: GenMessage<GetKeyResponse>;
|
|
488
367
|
/**
|
|
489
368
|
* @generated from message livekit.proto.E2eeRequest
|
|
490
369
|
*/
|
|
491
|
-
export
|
|
370
|
+
export type E2eeRequest = Message<"livekit.proto.E2eeRequest"> & {
|
|
492
371
|
/**
|
|
493
|
-
* @generated from field: uint64 room_handle = 1;
|
|
372
|
+
* @generated from field: required uint64 room_handle = 1;
|
|
494
373
|
*/
|
|
495
374
|
roomHandle: bigint;
|
|
496
375
|
/**
|
|
@@ -560,19 +439,16 @@ export declare class E2eeRequest extends Message<E2eeRequest> {
|
|
|
560
439
|
case: undefined;
|
|
561
440
|
value?: undefined;
|
|
562
441
|
};
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeRequest;
|
|
570
|
-
static equals(a: E2eeRequest | PlainMessage<E2eeRequest> | undefined, b: E2eeRequest | PlainMessage<E2eeRequest> | undefined): boolean;
|
|
571
|
-
}
|
|
442
|
+
};
|
|
443
|
+
/**
|
|
444
|
+
* Describes the message livekit.proto.E2eeRequest.
|
|
445
|
+
* Use `create(E2eeRequestSchema)` to create a new message.
|
|
446
|
+
*/
|
|
447
|
+
export declare const E2eeRequestSchema: GenMessage<E2eeRequest>;
|
|
572
448
|
/**
|
|
573
449
|
* @generated from message livekit.proto.E2eeResponse
|
|
574
450
|
*/
|
|
575
|
-
export
|
|
451
|
+
export type E2eeResponse = Message<"livekit.proto.E2eeResponse"> & {
|
|
576
452
|
/**
|
|
577
453
|
* @generated from oneof livekit.proto.E2eeResponse.message
|
|
578
454
|
*/
|
|
@@ -640,13 +516,68 @@ export declare class E2eeResponse extends Message<E2eeResponse> {
|
|
|
640
516
|
case: undefined;
|
|
641
517
|
value?: undefined;
|
|
642
518
|
};
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
519
|
+
};
|
|
520
|
+
/**
|
|
521
|
+
* Describes the message livekit.proto.E2eeResponse.
|
|
522
|
+
* Use `create(E2eeResponseSchema)` to create a new message.
|
|
523
|
+
*/
|
|
524
|
+
export declare const E2eeResponseSchema: GenMessage<E2eeResponse>;
|
|
525
|
+
/**
|
|
526
|
+
* @generated from enum livekit.proto.EncryptionType
|
|
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
|
|
651
578
|
}
|
|
579
|
+
/**
|
|
580
|
+
* Describes the enum livekit.proto.EncryptionState.
|
|
581
|
+
*/
|
|
582
|
+
export declare const EncryptionStateSchema: GenEnum<EncryptionState>;
|
|
652
583
|
//# sourceMappingURL=e2ee_pb.d.ts.map
|