mediasoup 3.12.14 → 3.12.15

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.
@@ -90,7 +90,7 @@ class Worker extends EnhancedEventEmitter_1.EnhancedEventEmitter {
90
90
  // options
91
91
  {
92
92
  env: {
93
- MEDIASOUP_VERSION: '3.12.14',
93
+ MEDIASOUP_VERSION: '3.12.15',
94
94
  // Let the worker process inherit all environment variables, useful
95
95
  // if a custom and not in the path GCC is used so the user can set
96
96
  // LD_LIBRARY_PATH environment variable for runtime.
@@ -10,7 +10,7 @@ export { types };
10
10
  /**
11
11
  * Expose mediasoup version.
12
12
  */
13
- export declare const version = "3.12.14";
13
+ export declare const version = "3.12.15";
14
14
  /**
15
15
  * Expose parseScalabilityMode() function.
16
16
  */
package/node/lib/index.js CHANGED
@@ -12,7 +12,7 @@ exports.types = types;
12
12
  /**
13
13
  * Expose mediasoup version.
14
14
  */
15
- exports.version = '3.12.14';
15
+ exports.version = '3.12.15';
16
16
  /**
17
17
  * Expose parseScalabilityMode() function.
18
18
  */
package/npm-scripts.mjs CHANGED
@@ -445,7 +445,9 @@ function installMsysMake()
445
445
  pythonPath = String(res.stdout).trim();
446
446
  }
447
447
 
448
- executeCmd(`${pythonPath} worker\\scripts\\getmake.py`);
448
+ const dir = path.resolve('worker/out/msys');
449
+
450
+ executeCmd(`${pythonPath} worker\\scripts\\getmake.py --dir="${dir}"`);
449
451
  }
450
452
 
451
453
  function ensureDir(dir)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediasoup",
3
- "version": "3.12.14",
3
+ "version": "3.12.15",
4
4
  "description": "Cutting Edge WebRTC Video Conferencing",
5
5
  "contributors": [
6
6
  "Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)",
@@ -1,10 +1,21 @@
1
- import io, hashlib, tarfile, urllib.request
1
+ import argparse, io, hashlib, tarfile, urllib.request
2
+
3
+ argParser = argparse.ArgumentParser()
4
+
5
+ argParser.add_argument(
6
+ '--dir',
7
+ type=str,
8
+ required=True,
9
+ help='absolute path of the directoy in which fetched content will be placed'
10
+ )
11
+
12
+ args = argParser.parse_args()
2
13
 
3
14
  def get(url, digest):
4
15
  data = urllib.request.urlopen(url).read()
5
16
  assert hashlib.sha256(data).hexdigest() == digest
6
17
  tar = tarfile.open(fileobj=io.BytesIO(data))
7
- tar.extractall('worker/out/msys')
18
+ tar.extractall(args.dir)
8
19
  tar.close()
9
20
 
10
21
  get('https://sourceforge.net/projects/mingw/files/MSYS/Base/msys-core/msys-1.0.19-1/msysCORE-1.0.19-1-msys-1.0.19-bin.tar.xz/download', '8c4157d739a460f85563bc4451e9f1bbd42b13c4f63770d43b9f45a781f07858')