@wireapp/avs-debugger
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -1,2 +0,1 @@ | ||
export * from './init'; | ||
export * from './track'; | ||
export * from './avs-debugger'; |
@@ -20,4 +20,3 @@ "use strict"; | ||
*/ | ||
__exportStar(require("./init"), exports); | ||
__exportStar(require("./track"), exports); | ||
__exportStar(require("./avs-debugger"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@wireapp/avs-debugger", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Visualize and debug media tracks", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -36,3 +36,2 @@ # Wire Track Debugger | ||
<script type="application/javascript" src="dist/index.js"></script> | ||
<track-debugger id="avs-debugger"></track-debugger> | ||
@@ -60,20 +59,20 @@ <script> | ||
```html | ||
<track-debugger id='avs-debugger'></track-debugger> | ||
``` | ||
```typescript | ||
import * as avsTrackLogger from '@wireapp/avs-debugger'; | ||
import {AvsDebugger} from "@wireapp/avs-debugger"; | ||
avsTrackLogger | ||
from | ||
'@wireapp/avs-debugger'; | ||
// init web component | ||
avsTrackLogger.initTrackDebugger(); | ||
AvsDebugger.initTrackDebugger(); | ||
// API | ||
avsTrackLogger.addTrack(id, name, track); | ||
avsTrackLogger.removeTrack(id); | ||
avsTrackLogger.hasTrack(id); | ||
avsTrackLogger.reset(); | ||
AvsDebugger.addTrack(id, name, track); | ||
AvsDebugger.removeTrack(id); | ||
AvsDebugger.hasTrack(id); | ||
AvsDebugger.reset(); | ||
// destruct web component | ||
avsTrackLogger.destructTrackDebugger(); | ||
AvsDebugger.destructTrackDebugger(); | ||
``` | ||
@@ -80,0 +79,0 @@ |
Sorry, the diff of this file is not supported yet
100656
54
1162
99