LiveDigital SDK
Use the package manager npm or yarn to install livedigital-client.
yarn add @livedigital/client
import Client from '@livedigital/client';
const client = new Client();
Now you can use the noise reduction and virtual backgrounds functionality. To do this, copy all the files from the /files directory to the root directory of your project. Or your can specify the path in Client param staticFilesPath And add tsvb-web.js scripts to your index.html
<script src="%PUBLIC_URL%/esdk/3.4.3/tsvb-web.js"></script>
LiveDigital client uses the debug module to log to the browser console.
There are three log severities:
- debug: verbose information logged to console.info
- warn: warning messages logged to console.warn
- error: error messages logged to console.error
All the logs generated by LiveDigital client have a namespace starting with “LiveDigital” plus colon, followed by the log severity in upper case plus colon (just if “warn” or “error”), and followed by the internal component name (if any) and the log message.
By default, logging is turned off. In order to enable it, the debug key in the browser's localStorage must be set.
Check the debug module documentation for further information regarding how to filter specific log messages based on namespace matching rules.
Within the
section of your HTML app:<script>
window.localStorage.setItem('debug', 'LiveDigital:*');
</script>
<script src='/js/your-bundled-app.js'></script>
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.