The Compress NodeJS library provides access to the Compress API for encoding videos, restreamers
You can install Compress Node.js using npm or yarn:
npm install compress-nodejs
# or
yarn add compress-nodejs
Here's a basic example of how to use Compress Node.js:
var apiKey = apiKeyInput.value;
var customerName = customerNameInput.value;
if (!apiKey) {
alert("Please enter an API Key");
return;
}
if (!customerName) {
alert("Please enter a Customer Name");
return;
}
window.tangram = new TangramClient(apiKey, customerName);
Check also example.js
and index.html
We welcome contributions from the open-source community. To contribute to this project, please follow our Contribution Guidelines.
This project is licensed under the MIT License. You are free to use, modify, and distribute it as per the terms of the license.
For any questions or issues, please create an issue on GitHub.