|
@@ -23,17 +23,8 @@ const kJitsiE2EE = Symbol('kJitsiE2EE');
|
23
|
23
|
export default class E2EEcontext {
|
24
|
24
|
/**
|
25
|
25
|
* Build a new E2EE context instance, which will be used in a given conference.
|
26
|
|
- *
|
27
|
|
- * @param {string} options.salt - Salt to be used for key deviation.
|
28
|
|
- * FIXME: We currently use the MUC room name for this which has the same lifetime
|
29
|
|
- * as this context. While not (pseudo)random as recommended in
|
30
|
|
- * https://developer.mozilla.org/en-US/docs/Web/API/Pbkdf2Params
|
31
|
|
- * this is easily available and the same for all participants.
|
32
|
|
- * We currently do not enforce a minimum length of 16 bytes either.
|
33
|
26
|
*/
|
34
|
|
- constructor(options) {
|
35
|
|
- this._options = options;
|
36
|
|
-
|
|
27
|
+ constructor() {
|
37
|
28
|
// Determine the URL for the worker script. Relative URLs are relative to
|
38
|
29
|
// the entry point, not the script that launches the worker.
|
39
|
30
|
let baseUrl = '';
|