Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
webrtcsupport
Advanced tools
Browser module to detect support for webrtc and extract proper constructors.
A tiny browser module for detecting support for WebRTC and also for extracting the necessary constructors such as PeerConnection
, SessionDescription
, and IceCandidate
.
Suitable for use with browserify/CommonJS on the client.
If you're not using browserify or you want AMD support use webrtcsupport.bundle.js
.
This tiny module is used by SimpleWebRTC, but obviously can be used by itself.
npm install webrtcsupport
Simply require it and it returns a simple object with support flags and useful support info and normalized constructors for various WebRTC related items.
var webrtcSupport = require('webrtcsupport');
// it returns an object with the following:
{
support: // boolean whether basic WebRTC support exists
dataChannel: // boolean whether WebRTC data channels are supported
prefix: // returns browser prefix (either moz or webkit for now)
screenSharing: // boolean guess of whether screensharing is supported,
webAudio: // A support for web audio API
AudioContext: // the audio context constructor from the web audio API
PeerConnection: // constructor for creating a peer connection
SessionDescription: // constructor for RTCSessionDescriptions
IceCandidate: // constructor for ice candidate
}
MIT
If you like this, follow: @HenrikJoreteg on twitter.
FAQs
Browser module to detect support for webrtc and extract proper constructors.
We found that webrtcsupport 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
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.