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 3.0.2 to 3.0.3

15

lib/tosdp.js

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

if (desc.sources && desc.sources.length) {
(desc.sources[0].parameters || []).forEach(function (param) {
if (param.key === 'msid') {
sdp.push('a=msid:' + param.value);
}
var streams = {};
desc.sources.forEach(function (source) {
(source.parameters || []).forEach(function (param) {
if (param.key === 'msid') {
streams[param.value] = 1;
}
});
});
streams = Object.keys(streams);
if (streams.length === 1) {
sdp.push('a=msid:' + streams[0]);
}
}

@@ -126,0 +133,0 @@

{
"name": "sdp-jingle-json",
"version": "3.0.2",
"version": "3.0.3",
"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",

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