
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
simple-webrtc
Advanced tools
A simple WebRTC and MediaRecorder wrapper.
npm install --save simple-webrtc
var SimpleWebRtc = require('simple-webrtc');
var webRtc = SimpleWebRtc(rtcConfiguration, mediaConstraints);
getUserMedia
console.log(webRtc.hasUserMedia);
// true or false, depending on wether
// the browser supports any form of getUserMedia
MediaRecorder
console.log(webRtc.hasMediaRecorder);
// true or false, depending on wether
// the browser supports MediaRecorder
webRtc.hasCamera()
.then(function(hasCamera) {
console.log(hasCamera);
// true or false, depending on wether
// there is a camera or not
});
var connection = webRtc.createConnection();
var recorder = webRtc.createRecorder(constraints);
FAQs
A simple WebRTC and MediaRecorder wrapper.
The npm package simple-webrtc receives a total of 3 weekly downloads. As such, simple-webrtc popularity was classified as not popular.
We found that simple-webrtc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.