update libflac.js to 4 and use proper fork
This commit is contained in:
parent
473ba28171
commit
5daa91ec1b
6
Makefile
6
Makefile
|
@ -2,7 +2,7 @@ BUILD_DIR = build
|
||||||
CLEANCSS = ./node_modules/.bin/cleancss
|
CLEANCSS = ./node_modules/.bin/cleancss
|
||||||
DEPLOY_DIR = libs
|
DEPLOY_DIR = libs
|
||||||
LIBJITSIMEET_DIR = node_modules/lib-jitsi-meet/
|
LIBJITSIMEET_DIR = node_modules/lib-jitsi-meet/
|
||||||
LIBFLAC_DIR = node_modules/libflac/dist/
|
LIBFLAC_DIR = node_modules/libflac/dist/min/
|
||||||
NODE_SASS = ./node_modules/.bin/node-sass
|
NODE_SASS = ./node_modules/.bin/node-sass
|
||||||
NPM = npm
|
NPM = npm
|
||||||
OUTPUT_DIR = .
|
OUTPUT_DIR = .
|
||||||
|
@ -55,8 +55,8 @@ deploy-lib-jitsi-meet:
|
||||||
|
|
||||||
deploy-libflac:
|
deploy-libflac:
|
||||||
cp \
|
cp \
|
||||||
$(LIBFLAC_DIR)/libflac3-1.3.2.min.js \
|
$(LIBFLAC_DIR)/libflac4-1.3.2.min.js \
|
||||||
$(LIBFLAC_DIR)/libflac3-1.3.2.min.js.mem \
|
$(LIBFLAC_DIR)/libflac4-1.3.2.min.js.mem \
|
||||||
$(DEPLOY_DIR)
|
$(DEPLOY_DIR)
|
||||||
|
|
||||||
deploy-css:
|
deploy-css:
|
||||||
|
|
|
@ -9737,8 +9737,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"libflac": {
|
"libflac": {
|
||||||
"version": "git+https://github.com/ztl8702/libflac.git#31368097eaf9dcb5ef59365ef60b259cb7b97f07",
|
"version": "github:ztl8702/libflac.js#ec24bfdab68d22b736b83e327aa32b5aee5943f6",
|
||||||
"from": "git+https://github.com/ztl8702/libflac.git#31368097eaf9dcb5ef59365ef60b259cb7b97f07"
|
"from": "github:ztl8702/libflac.js#ec24bfdab68d22b736b83e327aa32b5aee5943f6"
|
||||||
},
|
},
|
||||||
"load-json-file": {
|
"load-json-file": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
"jsc-android": "224109.1.0",
|
"jsc-android": "224109.1.0",
|
||||||
"jwt-decode": "2.2.0",
|
"jwt-decode": "2.2.0",
|
||||||
"lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#e097a1189ed99838605d90b959e129155bc0e50a",
|
"lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#e097a1189ed99838605d90b959e129155bc0e50a",
|
||||||
"libflac": "git+https://github.com/ztl8702/libflac.git#31368097eaf9dcb5ef59365ef60b259cb7b97f07",
|
"libflac": "github:ztl8702/libflac.js#ec24bfdab68d22b736b83e327aa32b5aee5943f6",
|
||||||
"lodash": "4.17.4",
|
"lodash": "4.17.4",
|
||||||
"moment": "2.19.4",
|
"moment": "2.19.4",
|
||||||
"moment-duration-format": "2.2.2",
|
"moment-duration-format": "2.2.2",
|
||||||
|
|
|
@ -10,8 +10,9 @@ import {
|
||||||
* WebWorker that does FLAC encoding using libflac.js
|
* WebWorker that does FLAC encoding using libflac.js
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
self.FLAC_SCRIPT_LOCATION = '/libs/';
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
importScripts('/libs/libflac3-1.3.2.min.js');
|
importScripts('/libs/libflac4-1.3.2.min.js');
|
||||||
/* eslint-enable */
|
/* eslint-enable */
|
||||||
|
|
||||||
// There is a number of API calls to libflac.js, which does not conform
|
// There is a number of API calls to libflac.js, which does not conform
|
||||||
|
|
Loading…
Reference in New Issue