@livekit/rtc-node 0.13.23 → 0.13.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/dist/audio_filter.cjs +2 -2
  2. package/dist/audio_filter.cjs.map +1 -1
  3. package/dist/audio_filter.js +1 -1
  4. package/dist/audio_filter.js.map +1 -1
  5. package/dist/audio_frame.cjs +11 -7
  6. package/dist/audio_frame.cjs.map +1 -1
  7. package/dist/audio_frame.d.cts +3 -8
  8. package/dist/audio_frame.d.ts +3 -8
  9. package/dist/audio_frame.d.ts.map +1 -1
  10. package/dist/audio_frame.js +10 -6
  11. package/dist/audio_frame.js.map +1 -1
  12. package/dist/audio_mixer.cjs +11 -4
  13. package/dist/audio_mixer.cjs.map +1 -1
  14. package/dist/audio_mixer.d.cts +1 -6
  15. package/dist/audio_mixer.d.ts +1 -6
  16. package/dist/audio_mixer.d.ts.map +1 -1
  17. package/dist/audio_mixer.js +11 -4
  18. package/dist/audio_mixer.js.map +1 -1
  19. package/dist/audio_resampler.cjs +20 -12
  20. package/dist/audio_resampler.cjs.map +1 -1
  21. package/dist/audio_resampler.d.cts +6 -6
  22. package/dist/audio_resampler.d.ts +6 -6
  23. package/dist/audio_resampler.d.ts.map +1 -1
  24. package/dist/audio_resampler.js +12 -4
  25. package/dist/audio_resampler.js.map +1 -1
  26. package/dist/audio_source.cjs +11 -7
  27. package/dist/audio_source.cjs.map +1 -1
  28. package/dist/audio_source.d.cts +1 -7
  29. package/dist/audio_source.d.ts +1 -7
  30. package/dist/audio_source.d.ts.map +1 -1
  31. package/dist/audio_source.js +8 -3
  32. package/dist/audio_source.js.map +1 -1
  33. package/dist/audio_stream.cjs +17 -5
  34. package/dist/audio_stream.cjs.map +1 -1
  35. package/dist/audio_stream.d.cts +1 -14
  36. package/dist/audio_stream.d.ts +1 -14
  37. package/dist/audio_stream.d.ts.map +1 -1
  38. package/dist/audio_stream.js +16 -4
  39. package/dist/audio_stream.js.map +1 -1
  40. package/dist/data_streams/index.d.cts +2 -10
  41. package/dist/data_streams/index.d.ts +2 -10
  42. package/dist/data_streams/stream_reader.cjs +8 -0
  43. package/dist/data_streams/stream_reader.cjs.map +1 -1
  44. package/dist/data_streams/stream_reader.d.cts +2 -10
  45. package/dist/data_streams/stream_reader.d.ts +2 -10
  46. package/dist/data_streams/stream_reader.d.ts.map +1 -1
  47. package/dist/data_streams/stream_reader.js +8 -0
  48. package/dist/data_streams/stream_reader.js.map +1 -1
  49. package/dist/data_streams/stream_writer.d.cts +2 -10
  50. package/dist/data_streams/stream_writer.d.ts +2 -10
  51. package/dist/data_streams/types.cjs.map +1 -1
  52. package/dist/data_streams/types.d.cts +2 -10
  53. package/dist/data_streams/types.d.ts +2 -10
  54. package/dist/data_streams/types.d.ts.map +1 -1
  55. package/dist/e2ee.cjs +21 -21
  56. package/dist/e2ee.cjs.map +1 -1
  57. package/dist/e2ee.d.cts +1 -2
  58. package/dist/e2ee.d.ts +1 -2
  59. package/dist/e2ee.d.ts.map +1 -1
  60. package/dist/e2ee.js +2 -2
  61. package/dist/e2ee.js.map +1 -1
  62. package/dist/ffi_client.cjs +11 -12
  63. package/dist/ffi_client.cjs.map +1 -1
  64. package/dist/ffi_client.d.cts +3 -16
  65. package/dist/ffi_client.d.ts +3 -16
  66. package/dist/ffi_client.d.ts.map +1 -1
  67. package/dist/ffi_client.js +5 -3
  68. package/dist/ffi_client.js.map +1 -1
  69. package/dist/frame_processor.cjs +13 -2
  70. package/dist/frame_processor.cjs.map +1 -1
  71. package/dist/frame_processor.d.cts +5 -8
  72. package/dist/frame_processor.d.ts +5 -8
  73. package/dist/frame_processor.d.ts.map +1 -1
  74. package/dist/frame_processor.js +10 -1
  75. package/dist/frame_processor.js.map +1 -1
  76. package/dist/index.cjs +25 -23
  77. package/dist/index.cjs.map +1 -1
  78. package/dist/index.d.cts +3 -16
  79. package/dist/index.d.ts +3 -16
  80. package/dist/index.d.ts.map +1 -1
  81. package/dist/index.js +9 -7
  82. package/dist/index.js.map +1 -1
  83. package/dist/log.cjs +1 -10
  84. package/dist/log.cjs.map +1 -1
  85. package/dist/log.d.cts +4 -0
  86. package/dist/log.d.ts +4 -0
  87. package/dist/log.d.ts.map +1 -1
  88. package/dist/log.js +1 -10
  89. package/dist/log.js.map +1 -1
  90. package/dist/participant.cjs +38 -38
  91. package/dist/participant.cjs.map +1 -1
  92. package/dist/participant.d.cts +2 -15
  93. package/dist/participant.d.ts +2 -15
  94. package/dist/participant.d.ts.map +1 -1
  95. package/dist/participant.js +12 -12
  96. package/dist/participant.js.map +1 -1
  97. package/dist/room.cjs +48 -30
  98. package/dist/room.cjs.map +1 -1
  99. package/dist/room.d.cts +11 -16
  100. package/dist/room.d.ts +11 -16
  101. package/dist/room.d.ts.map +1 -1
  102. package/dist/room.js +44 -26
  103. package/dist/room.js.map +1 -1
  104. package/dist/rpc.cjs.map +1 -1
  105. package/dist/rpc.d.cts +1 -2
  106. package/dist/rpc.d.ts +1 -2
  107. package/dist/rpc.d.ts.map +1 -1
  108. package/dist/rpc.js.map +1 -1
  109. package/dist/{stream_reader-Ch2zvjU3.d.cts → stream_reader-CuG4b8Y-.d.cts} +1 -1
  110. package/dist/{stream_reader-DRyR29vo.d.ts → stream_reader-CuG4b8Y-.d.ts} +1 -1
  111. package/dist/track.cjs +3 -3
  112. package/dist/track.cjs.map +1 -1
  113. package/dist/track.d.cts +1 -14
  114. package/dist/track.d.ts +1 -14
  115. package/dist/track.d.ts.map +1 -1
  116. package/dist/track.js +1 -1
  117. package/dist/track.js.map +1 -1
  118. package/dist/track_publication.cjs +4 -4
  119. package/dist/track_publication.cjs.map +1 -1
  120. package/dist/track_publication.d.cts +1 -14
  121. package/dist/track_publication.d.ts +1 -14
  122. package/dist/track_publication.d.ts.map +1 -1
  123. package/dist/track_publication.js +2 -2
  124. package/dist/track_publication.js.map +1 -1
  125. package/dist/version.cjs +1 -1
  126. package/dist/version.cjs.map +1 -1
  127. package/dist/version.d.cts +1 -1
  128. package/dist/version.d.ts +1 -1
  129. package/dist/version.js +1 -1
  130. package/dist/version.js.map +1 -1
  131. package/dist/video_frame.cjs +42 -42
  132. package/dist/video_frame.cjs.map +1 -1
  133. package/dist/video_frame.d.cts +1 -6
  134. package/dist/video_frame.d.ts +1 -6
  135. package/dist/video_frame.d.ts.map +1 -1
  136. package/dist/video_frame.js +2 -2
  137. package/dist/video_frame.js.map +1 -1
  138. package/dist/video_source.cjs +5 -5
  139. package/dist/video_source.cjs.map +1 -1
  140. package/dist/video_source.d.cts +1 -14
  141. package/dist/video_source.d.ts +1 -14
  142. package/dist/video_source.d.ts.map +1 -1
  143. package/dist/video_source.js +2 -2
  144. package/dist/video_source.js.map +1 -1
  145. package/dist/video_stream.cjs +12 -4
  146. package/dist/video_stream.cjs.map +1 -1
  147. package/dist/video_stream.d.cts +1 -14
  148. package/dist/video_stream.d.ts +1 -14
  149. package/dist/video_stream.d.ts.map +1 -1
  150. package/dist/video_stream.js +10 -2
  151. package/dist/video_stream.js.map +1 -1
  152. package/package.json +9 -35
  153. package/src/audio_filter.ts +2 -2
  154. package/src/audio_frame.ts +26 -7
  155. package/src/audio_mixer.ts +15 -4
  156. package/src/audio_resampler.ts +14 -4
  157. package/src/audio_source.ts +13 -5
  158. package/src/audio_stream.ts +21 -5
  159. package/src/data_streams/stream_reader.ts +19 -1
  160. package/src/data_streams/types.ts +1 -1
  161. package/src/e2ee.ts +3 -3
  162. package/src/ffi_client.ts +7 -5
  163. package/src/frame_processor.ts +21 -0
  164. package/src/index.ts +6 -5
  165. package/src/log.ts +14 -10
  166. package/src/participant.ts +17 -17
  167. package/src/room.ts +65 -38
  168. package/src/rpc.ts +1 -1
  169. package/src/tests/e2e.test.ts +517 -0
  170. package/src/track.ts +4 -4
  171. package/src/track_publication.ts +6 -6
  172. package/src/version.ts +1 -1
  173. package/src/video_frame.ts +3 -3
  174. package/src/video_source.ts +3 -3
  175. package/src/video_stream.ts +15 -3
  176. package/Cargo.toml +0 -25
  177. package/build.rs +0 -9
  178. package/dist/napi/native.cjs +0 -301
  179. package/dist/napi/native.d.cjs +0 -17
  180. package/dist/napi/native.d.cjs.map +0 -1
  181. package/dist/napi/native.d.d.cts +0 -21
  182. package/dist/napi/native.d.d.ts +0 -21
  183. package/dist/napi/native.d.js +0 -1
  184. package/dist/napi/native.d.js.map +0 -1
  185. package/dist/napi/native.d.ts +0 -19
  186. package/dist/napi/native.js +0 -15
  187. package/dist/native.cjs +0 -301
  188. package/dist/native.d.ts +0 -19
  189. package/dist/native.js +0 -15
  190. package/dist/proto/audio_frame_pb.cjs +0 -1357
  191. package/dist/proto/audio_frame_pb.cjs.map +0 -1
  192. package/dist/proto/audio_frame_pb.d.cts +0 -1183
  193. package/dist/proto/audio_frame_pb.d.ts +0 -1183
  194. package/dist/proto/audio_frame_pb.d.ts.map +0 -1
  195. package/dist/proto/audio_frame_pb.js +0 -1283
  196. package/dist/proto/audio_frame_pb.js.map +0 -1
  197. package/dist/proto/data_stream_pb.cjs +0 -1638
  198. package/dist/proto/data_stream_pb.cjs.map +0 -1
  199. package/dist/proto/data_stream_pb.d.cts +0 -1449
  200. package/dist/proto/data_stream_pb.d.ts +0 -1449
  201. package/dist/proto/data_stream_pb.d.ts.map +0 -1
  202. package/dist/proto/data_stream_pb.js +0 -1559
  203. package/dist/proto/data_stream_pb.js.map +0 -1
  204. package/dist/proto/e2ee_pb.cjs +0 -746
  205. package/dist/proto/e2ee_pb.cjs.map +0 -1
  206. package/dist/proto/e2ee_pb.d.cts +0 -653
  207. package/dist/proto/e2ee_pb.d.ts +0 -653
  208. package/dist/proto/e2ee_pb.d.ts.map +0 -1
  209. package/dist/proto/e2ee_pb.js +0 -696
  210. package/dist/proto/e2ee_pb.js.map +0 -1
  211. package/dist/proto/ffi_pb.cjs +0 -477
  212. package/dist/proto/ffi_pb.cjs.map +0 -1
  213. package/dist/proto/ffi_pb.d.cts +0 -1321
  214. package/dist/proto/ffi_pb.d.ts +0 -1321
  215. package/dist/proto/ffi_pb.d.ts.map +0 -1
  216. package/dist/proto/ffi_pb.js +0 -444
  217. package/dist/proto/ffi_pb.js.map +0 -1
  218. package/dist/proto/handle_pb.cjs +0 -53
  219. package/dist/proto/handle_pb.cjs.map +0 -1
  220. package/dist/proto/handle_pb.d.cts +0 -31
  221. package/dist/proto/handle_pb.d.ts +0 -31
  222. package/dist/proto/handle_pb.d.ts.map +0 -1
  223. package/dist/proto/handle_pb.js +0 -29
  224. package/dist/proto/handle_pb.js.map +0 -1
  225. package/dist/proto/participant_pb.cjs +0 -173
  226. package/dist/proto/participant_pb.cjs.map +0 -1
  227. package/dist/proto/participant_pb.d.cts +0 -218
  228. package/dist/proto/participant_pb.d.ts +0 -218
  229. package/dist/proto/participant_pb.d.ts.map +0 -1
  230. package/dist/proto/participant_pb.js +0 -145
  231. package/dist/proto/participant_pb.js.map +0 -1
  232. package/dist/proto/room_pb.cjs +0 -3374
  233. package/dist/proto/room_pb.cjs.map +0 -1
  234. package/dist/proto/room_pb.d.cts +0 -3028
  235. package/dist/proto/room_pb.d.ts +0 -3028
  236. package/dist/proto/room_pb.d.ts.map +0 -1
  237. package/dist/proto/room_pb.js +0 -3232
  238. package/dist/proto/room_pb.js.map +0 -1
  239. package/dist/proto/rpc_pb.cjs +0 -328
  240. package/dist/proto/rpc_pb.cjs.map +0 -1
  241. package/dist/proto/rpc_pb.d.cts +0 -267
  242. package/dist/proto/rpc_pb.d.ts +0 -267
  243. package/dist/proto/rpc_pb.d.ts.map +0 -1
  244. package/dist/proto/rpc_pb.js +0 -294
  245. package/dist/proto/rpc_pb.js.map +0 -1
  246. package/dist/proto/stats_pb.cjs +0 -1370
  247. package/dist/proto/stats_pb.cjs.map +0 -1
  248. package/dist/proto/stats_pb.d.cts +0 -1764
  249. package/dist/proto/stats_pb.d.ts +0 -1764
  250. package/dist/proto/stats_pb.d.ts.map +0 -1
  251. package/dist/proto/stats_pb.js +0 -1300
  252. package/dist/proto/stats_pb.js.map +0 -1
  253. package/dist/proto/track_pb.cjs +0 -630
  254. package/dist/proto/track_pb.cjs.map +0 -1
  255. package/dist/proto/track_pb.d.cts +0 -542
  256. package/dist/proto/track_pb.d.ts +0 -542
  257. package/dist/proto/track_pb.d.ts.map +0 -1
  258. package/dist/proto/track_pb.js +0 -584
  259. package/dist/proto/track_pb.js.map +0 -1
  260. package/dist/proto/track_publication_pb.cjs +0 -194
  261. package/dist/proto/track_publication_pb.cjs.map +0 -1
  262. package/dist/proto/track_publication_pb.d.cts +0 -135
  263. package/dist/proto/track_publication_pb.d.ts +0 -135
  264. package/dist/proto/track_publication_pb.d.ts.map +0 -1
  265. package/dist/proto/track_publication_pb.js +0 -164
  266. package/dist/proto/track_publication_pb.js.map +0 -1
  267. package/dist/proto/video_frame_pb.cjs +0 -723
  268. package/dist/proto/video_frame_pb.cjs.map +0 -1
  269. package/dist/proto/video_frame_pb.d.cts +0 -667
  270. package/dist/proto/video_frame_pb.d.ts +0 -667
  271. package/dist/proto/video_frame_pb.d.ts.map +0 -1
  272. package/dist/proto/video_frame_pb.js +0 -673
  273. package/dist/proto/video_frame_pb.js.map +0 -1
  274. package/src/lib.rs +0 -9
  275. package/src/napi/native.cjs +0 -301
  276. package/src/napi/native.d.ts +0 -19
  277. package/src/napi/native.js +0 -15
  278. package/src/nodejs.rs +0 -134
  279. package/src/proto/audio_frame_pb.ts +0 -2270
  280. package/src/proto/data_stream_pb.ts +0 -2674
  281. package/src/proto/e2ee_pb.ts +0 -1231
  282. package/src/proto/ffi_pb.ts +0 -1700
  283. package/src/proto/handle_pb.ts +0 -69
  284. package/src/proto/participant_pb.ts +0 -351
  285. package/src/proto/room_pb.ts +0 -5661
  286. package/src/proto/rpc_pb.ts +0 -539
  287. package/src/proto/stats_pb.ts +0 -3050
  288. package/src/proto/track_pb.ts +0 -1040
  289. package/src/proto/track_publication_pb.ts +0 -284
  290. package/src/proto/video_frame_pb.ts +0 -1236
@@ -1,653 +0,0 @@
1
- import { Message, PartialMessage, proto2, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
-
3
- /**
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
22
- */
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
- }
53
- /**
54
- * @generated from message livekit.proto.FrameCryptor
55
- */
56
- declare class FrameCryptor extends Message<FrameCryptor> {
57
- /**
58
- * @generated from field: required string participant_identity = 1;
59
- */
60
- participantIdentity?: string;
61
- /**
62
- * @generated from field: required string track_sid = 2;
63
- */
64
- trackSid?: string;
65
- /**
66
- * @generated from field: required int32 key_index = 3;
67
- */
68
- keyIndex?: number;
69
- /**
70
- * @generated from field: required bool enabled = 4;
71
- */
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
- }
82
- /**
83
- * @generated from message livekit.proto.KeyProviderOptions
84
- */
85
- declare class KeyProviderOptions extends Message<KeyProviderOptions> {
86
- /**
87
- * Only specify if you want to use a shared_key
88
- *
89
- * @generated from field: optional bytes shared_key = 1;
90
- */
91
- sharedKey?: Uint8Array;
92
- /**
93
- * @generated from field: required int32 ratchet_window_size = 2;
94
- */
95
- ratchetWindowSize?: number;
96
- /**
97
- * @generated from field: required bytes ratchet_salt = 3;
98
- */
99
- ratchetSalt?: Uint8Array;
100
- /**
101
- * -1 = no tolerance
102
- *
103
- * @generated from field: required int32 failure_tolerance = 4;
104
- */
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
- }
115
- /**
116
- * @generated from message livekit.proto.E2eeOptions
117
- */
118
- declare class E2eeOptions extends Message<E2eeOptions> {
119
- /**
120
- * @generated from field: required livekit.proto.EncryptionType encryption_type = 1;
121
- */
122
- encryptionType?: EncryptionType;
123
- /**
124
- * @generated from field: required livekit.proto.KeyProviderOptions key_provider_options = 2;
125
- */
126
- keyProviderOptions?: KeyProviderOptions;
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
- }
136
- /**
137
- * @generated from message livekit.proto.E2eeManagerSetEnabledRequest
138
- */
139
- declare class E2eeManagerSetEnabledRequest extends Message<E2eeManagerSetEnabledRequest> {
140
- /**
141
- * @generated from field: required bool enabled = 1;
142
- */
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
- }
153
- /**
154
- * @generated from message livekit.proto.E2eeManagerSetEnabledResponse
155
- */
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
- }
166
- /**
167
- * @generated from message livekit.proto.E2eeManagerGetFrameCryptorsRequest
168
- */
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
- }
179
- /**
180
- * @generated from message livekit.proto.E2eeManagerGetFrameCryptorsResponse
181
- */
182
- declare class E2eeManagerGetFrameCryptorsResponse extends Message<E2eeManagerGetFrameCryptorsResponse> {
183
- /**
184
- * @generated from field: repeated livekit.proto.FrameCryptor frame_cryptors = 1;
185
- */
186
- frameCryptors: FrameCryptor[];
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
- }
196
- /**
197
- * @generated from message livekit.proto.FrameCryptorSetEnabledRequest
198
- */
199
- declare class FrameCryptorSetEnabledRequest extends Message<FrameCryptorSetEnabledRequest> {
200
- /**
201
- * @generated from field: required string participant_identity = 1;
202
- */
203
- participantIdentity?: string;
204
- /**
205
- * @generated from field: required string track_sid = 2;
206
- */
207
- trackSid?: string;
208
- /**
209
- * @generated from field: required bool enabled = 3;
210
- */
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
- }
221
- /**
222
- * @generated from message livekit.proto.FrameCryptorSetEnabledResponse
223
- */
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
- }
234
- /**
235
- * @generated from message livekit.proto.FrameCryptorSetKeyIndexRequest
236
- */
237
- declare class FrameCryptorSetKeyIndexRequest extends Message<FrameCryptorSetKeyIndexRequest> {
238
- /**
239
- * @generated from field: required string participant_identity = 1;
240
- */
241
- participantIdentity?: string;
242
- /**
243
- * @generated from field: required string track_sid = 2;
244
- */
245
- trackSid?: string;
246
- /**
247
- * @generated from field: required int32 key_index = 3;
248
- */
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
- }
259
- /**
260
- * @generated from message livekit.proto.FrameCryptorSetKeyIndexResponse
261
- */
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
- }
272
- /**
273
- * @generated from message livekit.proto.SetSharedKeyRequest
274
- */
275
- declare class SetSharedKeyRequest extends Message<SetSharedKeyRequest> {
276
- /**
277
- * @generated from field: required bytes shared_key = 1;
278
- */
279
- sharedKey?: Uint8Array;
280
- /**
281
- * @generated from field: required int32 key_index = 2;
282
- */
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
- }
293
- /**
294
- * @generated from message livekit.proto.SetSharedKeyResponse
295
- */
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
- }
306
- /**
307
- * @generated from message livekit.proto.RatchetSharedKeyRequest
308
- */
309
- declare class RatchetSharedKeyRequest extends Message<RatchetSharedKeyRequest> {
310
- /**
311
- * @generated from field: required int32 key_index = 1;
312
- */
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
- }
323
- /**
324
- * @generated from message livekit.proto.RatchetSharedKeyResponse
325
- */
326
- declare class RatchetSharedKeyResponse extends Message<RatchetSharedKeyResponse> {
327
- /**
328
- * @generated from field: optional bytes new_key = 1;
329
- */
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
- }
340
- /**
341
- * @generated from message livekit.proto.GetSharedKeyRequest
342
- */
343
- declare class GetSharedKeyRequest extends Message<GetSharedKeyRequest> {
344
- /**
345
- * @generated from field: required int32 key_index = 1;
346
- */
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
- }
357
- /**
358
- * @generated from message livekit.proto.GetSharedKeyResponse
359
- */
360
- declare class GetSharedKeyResponse extends Message<GetSharedKeyResponse> {
361
- /**
362
- * @generated from field: optional bytes key = 1;
363
- */
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
- }
374
- /**
375
- * @generated from message livekit.proto.SetKeyRequest
376
- */
377
- declare class SetKeyRequest extends Message<SetKeyRequest> {
378
- /**
379
- * @generated from field: required string participant_identity = 1;
380
- */
381
- participantIdentity?: string;
382
- /**
383
- * @generated from field: required bytes key = 2;
384
- */
385
- key?: Uint8Array;
386
- /**
387
- * @generated from field: required int32 key_index = 3;
388
- */
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
- }
399
- /**
400
- * @generated from message livekit.proto.SetKeyResponse
401
- */
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
- }
412
- /**
413
- * @generated from message livekit.proto.RatchetKeyRequest
414
- */
415
- declare class RatchetKeyRequest extends Message<RatchetKeyRequest> {
416
- /**
417
- * @generated from field: required string participant_identity = 1;
418
- */
419
- participantIdentity?: string;
420
- /**
421
- * @generated from field: required int32 key_index = 2;
422
- */
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
- }
433
- /**
434
- * @generated from message livekit.proto.RatchetKeyResponse
435
- */
436
- declare class RatchetKeyResponse extends Message<RatchetKeyResponse> {
437
- /**
438
- * @generated from field: optional bytes new_key = 1;
439
- */
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
- }
450
- /**
451
- * @generated from message livekit.proto.GetKeyRequest
452
- */
453
- declare class GetKeyRequest extends Message<GetKeyRequest> {
454
- /**
455
- * @generated from field: required string participant_identity = 1;
456
- */
457
- participantIdentity?: string;
458
- /**
459
- * @generated from field: required int32 key_index = 2;
460
- */
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
- }
471
- /**
472
- * @generated from message livekit.proto.GetKeyResponse
473
- */
474
- declare class GetKeyResponse extends Message<GetKeyResponse> {
475
- /**
476
- * @generated from field: optional bytes key = 1;
477
- */
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
- }
488
- /**
489
- * @generated from message livekit.proto.E2eeRequest
490
- */
491
- declare class E2eeRequest extends Message<E2eeRequest> {
492
- /**
493
- * @generated from field: required uint64 room_handle = 1;
494
- */
495
- roomHandle?: bigint;
496
- /**
497
- * @generated from oneof livekit.proto.E2eeRequest.message
498
- */
499
- message: {
500
- /**
501
- * @generated from field: livekit.proto.E2eeManagerSetEnabledRequest manager_set_enabled = 2;
502
- */
503
- value: E2eeManagerSetEnabledRequest;
504
- case: "managerSetEnabled";
505
- } | {
506
- /**
507
- * @generated from field: livekit.proto.E2eeManagerGetFrameCryptorsRequest manager_get_frame_cryptors = 3;
508
- */
509
- value: E2eeManagerGetFrameCryptorsRequest;
510
- case: "managerGetFrameCryptors";
511
- } | {
512
- /**
513
- * @generated from field: livekit.proto.FrameCryptorSetEnabledRequest cryptor_set_enabled = 4;
514
- */
515
- value: FrameCryptorSetEnabledRequest;
516
- case: "cryptorSetEnabled";
517
- } | {
518
- /**
519
- * @generated from field: livekit.proto.FrameCryptorSetKeyIndexRequest cryptor_set_key_index = 5;
520
- */
521
- value: FrameCryptorSetKeyIndexRequest;
522
- case: "cryptorSetKeyIndex";
523
- } | {
524
- /**
525
- * @generated from field: livekit.proto.SetSharedKeyRequest set_shared_key = 6;
526
- */
527
- value: SetSharedKeyRequest;
528
- case: "setSharedKey";
529
- } | {
530
- /**
531
- * @generated from field: livekit.proto.RatchetSharedKeyRequest ratchet_shared_key = 7;
532
- */
533
- value: RatchetSharedKeyRequest;
534
- case: "ratchetSharedKey";
535
- } | {
536
- /**
537
- * @generated from field: livekit.proto.GetSharedKeyRequest get_shared_key = 8;
538
- */
539
- value: GetSharedKeyRequest;
540
- case: "getSharedKey";
541
- } | {
542
- /**
543
- * @generated from field: livekit.proto.SetKeyRequest set_key = 9;
544
- */
545
- value: SetKeyRequest;
546
- case: "setKey";
547
- } | {
548
- /**
549
- * @generated from field: livekit.proto.RatchetKeyRequest ratchet_key = 10;
550
- */
551
- value: RatchetKeyRequest;
552
- case: "ratchetKey";
553
- } | {
554
- /**
555
- * @generated from field: livekit.proto.GetKeyRequest get_key = 11;
556
- */
557
- value: GetKeyRequest;
558
- case: "getKey";
559
- } | {
560
- case: undefined;
561
- value?: undefined;
562
- };
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
- }
572
- /**
573
- * @generated from message livekit.proto.E2eeResponse
574
- */
575
- declare class E2eeResponse extends Message<E2eeResponse> {
576
- /**
577
- * @generated from oneof livekit.proto.E2eeResponse.message
578
- */
579
- message: {
580
- /**
581
- * @generated from field: livekit.proto.E2eeManagerSetEnabledResponse manager_set_enabled = 1;
582
- */
583
- value: E2eeManagerSetEnabledResponse;
584
- case: "managerSetEnabled";
585
- } | {
586
- /**
587
- * @generated from field: livekit.proto.E2eeManagerGetFrameCryptorsResponse manager_get_frame_cryptors = 2;
588
- */
589
- value: E2eeManagerGetFrameCryptorsResponse;
590
- case: "managerGetFrameCryptors";
591
- } | {
592
- /**
593
- * @generated from field: livekit.proto.FrameCryptorSetEnabledResponse cryptor_set_enabled = 3;
594
- */
595
- value: FrameCryptorSetEnabledResponse;
596
- case: "cryptorSetEnabled";
597
- } | {
598
- /**
599
- * @generated from field: livekit.proto.FrameCryptorSetKeyIndexResponse cryptor_set_key_index = 4;
600
- */
601
- value: FrameCryptorSetKeyIndexResponse;
602
- case: "cryptorSetKeyIndex";
603
- } | {
604
- /**
605
- * @generated from field: livekit.proto.SetSharedKeyResponse set_shared_key = 5;
606
- */
607
- value: SetSharedKeyResponse;
608
- case: "setSharedKey";
609
- } | {
610
- /**
611
- * @generated from field: livekit.proto.RatchetSharedKeyResponse ratchet_shared_key = 6;
612
- */
613
- value: RatchetSharedKeyResponse;
614
- case: "ratchetSharedKey";
615
- } | {
616
- /**
617
- * @generated from field: livekit.proto.GetSharedKeyResponse get_shared_key = 7;
618
- */
619
- value: GetSharedKeyResponse;
620
- case: "getSharedKey";
621
- } | {
622
- /**
623
- * @generated from field: livekit.proto.SetKeyResponse set_key = 8;
624
- */
625
- value: SetKeyResponse;
626
- case: "setKey";
627
- } | {
628
- /**
629
- * @generated from field: livekit.proto.RatchetKeyResponse ratchet_key = 9;
630
- */
631
- value: RatchetKeyResponse;
632
- case: "ratchetKey";
633
- } | {
634
- /**
635
- * @generated from field: livekit.proto.GetKeyResponse get_key = 10;
636
- */
637
- value: GetKeyResponse;
638
- case: "getKey";
639
- } | {
640
- case: undefined;
641
- value?: undefined;
642
- };
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;
651
- }
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 };