Kurento Utils for Node.js and Browsers
This library is not actively maintained. It was written to simplify the Kurento Tutorials and has several shortcomings for more advanced uses.
curl -sSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt-get install -y nodejs sudo npm install -g bower
To install the library, it's recommended to do that from the NPM repository:
npm install kurento-utils
Alternatively, you can download the code using git and install manually its dependencies:
git clone https://github.com/Kurento/kurento.git cd kurento/browser/kurento-utils-js/ npm install
Screen and window sharing depends on the privative module
kurento-browser-extensions. To enable its support, you'll need to install
the package dependency manually or use a
getScreenConstraints function yourself on runtime. If it's not available, when trying to share the screen or a window content it will throw an exception.
To build the browser version of the library you'll only need to exec the grunt task runner and they will be generated on the
dist folder. Alternatively, if you don't have it globally installed, you can run a local copy by executing: