Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sdp-jingle-json

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sdp-jingle-json - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

4

index.js

@@ -92,3 +92,3 @@ var toSDP = require('./lib/tosdp');

return toJSON.toMediaJSON(sdp, {
role: 'initiator',
role: 'responder',
direction: 'incoming',

@@ -100,3 +100,3 @@ creator: creator

return toJSON.toMediaJSON(sdp, {
role: 'responder',
role: 'initiator',
direction: 'outgoing',

@@ -103,0 +103,0 @@ creator: creator

@@ -114,5 +114,7 @@ var SENDERS = require('./senders');

var payload = parsers.rtpmap(line);
payload.parameters = [];
payload.feedback = [];
var fmtpLines = parsers.findLines('a=fmtp:' + payload.id, lines);
// There should only be one fmtp line per payload
fmtpLines.forEach(function (line) {

@@ -119,0 +121,0 @@ payload.parameters = parsers.fmtp(line);

{
"name": "sdp-jingle-json",
"version": "2.1.1",
"version": "2.1.2",
"description": "A parser/serializer for SDP to JSON. Useful for converting SDP to other formats like Jingle for WebRTC signalling",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,3 +28,4 @@ module.exports = {

"channels": "1",
"feedback": []
"feedback": [],
"parameters": []
},

@@ -36,3 +37,4 @@ {

"channels": "1",
"feedback": []
"feedback": [],
"parameters": []
},

@@ -44,3 +46,4 @@ {

"channels": "1",
"feedback": []
"feedback": [],
"parameters": []
},

@@ -52,3 +55,4 @@ {

"channels": "1",
"feedback": []
"feedback": [],
"parameters": []
},

@@ -60,3 +64,4 @@ {

"channels": "1",
"feedback": []
"feedback": [],
"parameters": []
},

@@ -68,3 +73,4 @@ {

"channels": "1",
"feedback": []
"feedback": [],
"parameters": []
},

@@ -76,3 +82,4 @@ {

"channels": "1",
"feedback": []
"feedback": [],
"parameters": []
},

@@ -84,3 +91,4 @@ {

"channels": "1",
"feedback": []
"feedback": [],
"parameters": []
},

@@ -92,3 +100,4 @@ {

"channels": "1",
"feedback": []
"feedback": [],
"parameters": []
}

@@ -197,3 +206,4 @@ ],

}
]
],
"parameters": []
},

@@ -205,3 +215,4 @@ {

"channels": "1",
"feedback": []
"feedback": [],
"parameters": []
},

@@ -213,3 +224,4 @@ {

"channels": "1",
"feedback": []
"feedback": [],
"parameters": []
}

@@ -216,0 +228,0 @@ ],

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc