Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
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 0 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.