Extractor Development Toolkits for WebRTC Samples
-
- Make sure we have type script installed in the system
- npm install -g typescript`
- Install package dependencies
npm ci
- Build the library
npm run build
( developer version )npm run build-dev
( production version )
Once build is complete it will create
observer.js
( developer) orobserver.min.js
( production ) library in thedist
folder. - Make sure we have type script installed in the system
-
Old version that does not use WebWorker(s).
- Developer version
<script src="https://observertc.github.io/webextrapp/dist/observer.js"></script>
- Production version
<script src="https://observertc.github.io/webextrapp/dist/observer.min.js"></script>
-
New version that use WebWorker. It's recommend using this version
- Developer version
<script src="https://observertc.github.io/webextrapp/dist/v0.3.5/observer.js"></script>
- Production version
<script src="https://observertc.github.io/webextrapp/dist/v0.3.5/observer.min.js"></script>
- Goto
example-demo
folder from__test__
cd __test__/example-demo
- Install npm dependency
npm install
- Run the demo
npm run start-server
and access the server from http://localhost:9090
- Goto integration.js and change server address
- Change the current websocket server address
- Run the demo
npm run start-server
and access the server from http://localhost:9090