Socket
Socket
Sign inDemoInstall

jingle

Package Overview
Dependencies
28
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.3 to 1.2.0

hotfix.patch

18

lib/mediaSession.js

@@ -86,3 +86,10 @@ var _ = require('underscore');

this.state = 'active';
this.pc.answer(function (err, answer) {
var constraints = {
mandatory: {
OfferToReceiveAudio: true,
OfferToReceiveVideo: true
},
enableChromeNativeSimulcast: this.setGoogConferenceFlag
};
this.pc.answer(constraints, function (err, answer) {
if (err) {

@@ -178,2 +185,11 @@ log(self.sid + ': Could not create WebRTC answer', err);

this.pc.isInitiator = false;
// grumpy simulcast...
if (this.setGoogConferenceFlag) {
changes.contents.forEach(function (content) {
if (content.name === 'video') {
content.description.googConferenceFlag = true;
}
});
}
this.pc.handleOffer({type: 'offer', jingle: changes}, function (err) {

@@ -180,0 +196,0 @@ if (err) {

6

package.json
{
"name": "jingle",
"description": "Generic Jingle via WebRTC session manager.",
"version": "1.1.3",
"version": "1.2.0",
"author": "Lance Stout <lance@andyet.net>",

@@ -17,4 +17,4 @@ "bugs": "https://github.com/otalk/jingle.js/issues",

"mockconsole": "0.0.1",
"rtcpeerconnection": "^2.4.0",
"sdp-jingle-json": "^1.1.0",
"rtcpeerconnection": "^2.6.0",
"sdp-jingle-json": "^1.3.0",
"underscore": "^1.6.0",

@@ -21,0 +21,0 @@ "webrtcsupport": "^0.7.3",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc