Socket
Socket
Sign inDemoInstall

sdp

Package Overview
Dependencies
0
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.7.3 to 2.7.4

2

package.json
{
"name": "sdp",
"version": "2.7.3",
"version": "2.7.4",
"description": "SDP parsing and serialization utilities",

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

@@ -405,5 +405,7 @@ /* eslint-env node */

caps.headerExtensions.forEach(function(extension) {
sdp += SDPUtils.writeExtmap(extension);
});
if (caps.headerExtensions) {
caps.headerExtensions.forEach(function(extension) {
sdp += SDPUtils.writeExtmap(extension);
});
}
// FIXME: write fecMechanisms.

@@ -410,0 +412,0 @@ return sdp;

@@ -799,3 +799,3 @@ /* jshint node: true */

it('does not generate extmap lines if there are no headerExtensions', () => {
it('does not generate extmap lines if headerExtensions is empty', () => {
parameters.headerExtensions = [];

@@ -805,2 +805,8 @@ const serialized = SDPUtils.writeRtpDescription(kind, parameters);

});
it('does not generate extmap lines if there are no headerExtensions', () => {
delete parameters.headerExtensions;
const serialized = SDPUtils.writeRtpDescription(kind, parameters);
expect(serialized).not.to.contain('a=extmap:');
});
});

@@ -807,0 +813,0 @@

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