https://github.com/jchavanton/sip-webrtc-tester
sip.js integration with getstats and puppetter
https://github.com/jchavanton/sip-webrtc-tester
Last synced: 9 months ago
JSON representation
sip.js integration with getstats and puppetter
- Host: GitHub
- URL: https://github.com/jchavanton/sip-webrtc-tester
- Owner: jchavanton
- Created: 2022-12-09T18:54:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T14:39:28.000Z (over 1 year ago)
- Last Synced: 2025-01-30T07:28:28.063Z (11 months ago)
- Language: JavaScript
- Size: 348 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository contains an integration example of [SIP.JS](https://github.com/onsip/sip.js/) sip over websocket which can be use with [Kamailio](https://www.kamailio.org/docs/modules/devel/modules/websocket.html) for example.
This SIP.js client will also get the [WebRTC stats](https://www.w3.org/TR/webrtc-stats/) , it will also compute MOS score and send it as an header in the BYE message of every call.
A Puppetter integration to test the code with an headless chrome is provided as well.

## how-to build locally
`npx webpack`
### test sip.js webrtc with getstats and puppeteer
`file:////dist/index.html`
## how-to build puppetter integration to test the code with an headless chrome
### build docker image with the headless chrome, puppetter and the integration using webpack
`./build.sh`
### run the puppetter test from a docker container
`./run.sh`