Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
jingle
Advanced tools
Readme
var Jingle = require('jingle');
var conn = new RealtimeConnection(); // stanza.io, xmpp-ftw, strophe, etc
var jingle = new Jingle();
var attachMediaStream = require('attachmediastream');
var localMedia = require('localMedia');
localMedia.on('localStream', function (stream) {
attachMediaStream(stream, document.getElementById('localVideo'), {
mirror: true,
muted: true
});
});
// Capture incoming Jingle data and feed it to the Jingle
// session manager for processing
conn.on('data', function (data) {
jingle.process(data);
});
// Capture outgoing Jingle signaling traffic and send it via
// a realtime connection
jingle.on('send', function (data) {
conn.send(data);
});
jingle.on('peerStreamAdded', function (session, stream) {
attachMediaStream(stream, document.getElementById('remoteVideo'));
});
// Answering a call request.
jingle.on('incoming', function (session) {
// attach a media stream if desired
// session.addStream(localMedia.localStream);
session.accept(); // Or display an incoming call banner, etc
});
// Starting an A/V session.
localMedia.start(null, function (stream) {
var sess = jingle.createMediaSession('peer@example.com/resouce');
sess.addStream(stream);
sess.start();
});
stanza.io and strophe.jinglejs for integrations of this library.
$ npm install jingle
$ make build
The bundled and minified files will be in the generated build
directory.
MIT
If you like this, follow @lancestout or @hcornflower on twitter.
FAQs
Generic Jingle via WebRTC session manager.
The npm package jingle receives a total of 918 weekly downloads. As such, jingle popularity was classified as not popular.
We found that jingle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.