medooze / whip-whep-js

WHIP and WHEP clients javascript module
MIT License
65 stars 15 forks source link

Show how to use the npm package #16

Open rgl opened 11 months ago

rgl commented 11 months ago

The current examples are not using the whip-whep npm package and I think they should.

For example, this is how I've used it:

npm install --save whip-whep

And from a node application:

// NB please notice that this import is different than what is in the README.md file.
import { WHEPClient } from 'whip-whep/whep'; 

const whep = new WHEPClient();
...
jasan-s commented 10 months ago

a working demo would be helpful