@livedigital/client
TypeScript icon, indicating that this package has built-in type declarations

3.16.0 • Public • Published

GitHub license npm version release

Installation

Use the package manager npm or yarn to install livedigital-client.

yarn add @livedigital/client

Usage

import Client from '@livedigital/client';

const client = new Client();

Plugins

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, and add tsvb-web.js scripts to your index.html

<script src="%PUBLIC_URL%/esdk/2.8.6/tsvb-web.js"></script>

Debugging

Log Levels

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.

Enable Logging

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.

Example

Within the

section of your HTML app:
<script>
  window.localStorage.setItem('debug', 'LiveDigital:*');
</script>

<script src='/js/your-bundled-app.js'></script>

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @livedigital/client

Weekly Downloads

170

Version

3.16.0

License

MIT

Unpacked Size

1.39 MB

Total Files

135

Last publish

Collaborators

  • jasondesh
  • vlprojects