Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wireapp/avs-debugger

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wireapp/avs-debugger

Visualize and debug media tracks

  • 0.0.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
46
increased by39.39%
Maintainers
0
Weekly downloads
 
Created
Source

Wire Track Debugger

Visualize and debug media tracks in web

Use it

NPM

npm install @wireapp/avs-debugger

From Source

The only way to use it currently is to build from source code and then link to your project

git clone git@github.com:wireapp/wire-avs-debugger.git
npm install
npm run build
npm link

Go to your Project and run:

npm link @wireapp/avs-debugger

Integrate

Integrate as JS WebComponent

<script type="application/javascript" src="dist/index.js"></script>

<script>
  document.onreadystatechange = function () {
    const state = document.readyState;
    if (state == 'complete') {
      // init web component
      window.initTrackDebugger();

      // API
      document.getElementById('avs-debugger').addTrack(id, name, track);
      document.getElementById('avs-debugger').removeTrack(id);
      document.getElementById('avs-debugger').hasTrack(id);
      document.getElementById('avs-debugger').reset();

      // destruct web component
      window.destructTrackDebugger();
    }
  }
</script>
Integrate as TypeScript WebComponent
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();

Develop

npm install
npm start

Build

npm install
npm run build

The generated artifacts are located in dist

Release

A successful Github release automatically triggers an NPM release.

Keywords

FAQs

Package last updated on 06 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc