Visualize and debug media tracks
npm install @wireapp/avs-debuggerVisualize and debug media tracks in web
``shell`
npm install @wireapp/avs-debugger
The only way to use it currently is to build from source code and then link to your project
`shell`
git clone git@github.com:wireapp/wire-avs-debugger.git
npm install
npm run build
npm link
Go to your Project and run:
`shell`
npm link @wireapp/avs-debugger
#### Integrate as JS WebComponent
`html
`
#### Integrate as TypeScript WebComponent
`typescript
import {AvsDebugger} from "@wireapp/avs-debugger";
avsTrackLogger
from
'@wireapp/avs-debugger';
// init web component
AvsDebugger.initTrackDebugger();
// API
AvsDebugger.addTrack(id, name, track);
AvsDebugger.removeTrack(id);
AvsDebugger.hasTrack(id);
AvsDebugger.reset();
// destruct web component
AvsDebugger.destructTrackDebugger();
`
`shell`
npm install
npm start
`shell`
npm install
npm run build
The generated artifacts are located in dist`
A successful Github release automatically triggers an NPM release.