Closed MayamaTakeshi closed 1 year ago
Currently, 'npm i sip-lab' takes a lot of time because we download pjproject, bcg729, spandsp and rapidjson and build the addon. Instead we should prebuilt the addon so that installation will be fast.
See: https://nodeaddons.com/cross-platform-addons-with-node-pre-gyp/ https://github.com/mapbox/node-pre-gyp and: https://github.com/prebuild/node-gyp-build
We used the https://github.com/prebuild/node-gyp-build approach.
Currently, 'npm i sip-lab' takes a lot of time because we download pjproject, bcg729, spandsp and rapidjson and build the addon. Instead we should prebuilt the addon so that installation will be fast.
See: https://nodeaddons.com/cross-platform-addons-with-node-pre-gyp/ https://github.com/mapbox/node-pre-gyp and: https://github.com/prebuild/node-gyp-build