
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
webrtc-troubleshoot
Advanced tools
This provides diagnostic tests for basic WebRTC functionality. See the test-page directory for usage.
git clone
this repositorynpm install
npm test
npm start
and navigating to http://localhost:8080/test-pageTo develop diagnostic tests this repo has a utility ./test-page/index.html that pulls in the tests and runs them in the browser. For WebRTC connections, most of the tests force the use of relay
since the tests make peer connections to the same host.
npm start
will run webpack with the --watch
flag and serve the test-page using stupid server.
test-page/index.html for console output of 6 tests to ensure webrtc is properly functioning
Here is a stringified version of google's STUN servers for quick reference. Granted, you will still need an active TURN server for some of these tests to pass, but this will get the tests started.
[{"type":"stun","urls":"stun:stun.l.google.com:19302"}]
The tests now use Jest!
Test names must match the
*.spec.ts
or*.spec.js
naming convention. This is configured in jest.config.js
npm test
will run both linting, all the unit-test, and report coverage in text form in the command line.npm run test:watch
will run only the unit-tests and watch the files for changes (it also skips code coverage reporting).FAQs
A way to add webrtc troubleshooting to your app
The npm package webrtc-troubleshoot receives a total of 6 weekly downloads. As such, webrtc-troubleshoot popularity was classified as not popular.
We found that webrtc-troubleshoot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.