Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jchavanton/sip-webrtc-tester
sip.js integration with getstats and puppetter
https://github.com/jchavanton/sip-webrtc-tester
Last synced: 24 days 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-25T13:45:33.000Z (8 months ago)
- Last Synced: 2024-04-21T17:03:07.964Z (7 months ago)
- Language: JavaScript
- Size: 289 KB
- Stars: 0
- 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.
![image](https://github.com/jchavanton/sip-webrtc-tester/assets/3736014/1cb3dee5-6574-439f-9651-c329e9da292d)
## 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`