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 1.0.1 to 1.0.2

2

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

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

@@ -345,4 +345,8 @@ /* eslint-env node */

});
// FIXME: add headerExtensions, fecMechanismş and rtcp.
sdp += 'a=rtcp-mux\r\n';
caps.headerExtensions.forEach(function(extension) {
sdp += SDPUtils.writeExtmap(extension);
});
// FIXME: write fecMechanisms.
return sdp;

@@ -349,0 +353,0 @@ };

@@ -177,1 +177,15 @@ /* jshint node: true */

});
test('writeRtcpFb', function(t) {
var codec = { payloadType: 100,
rtcpFeedback: [
{ type: 'nack', parameter: 'pli' },
{ type: 'nack' }
]
};
var expected = 'a=rtcp-fb:100 nack pli\r\n' +
'a=rtcp-fb:100 nack\r\n';
console.log(SDPUtils.writeRtcpFb(codec));
t.ok(SDPUtils.writeRtcpFb(codec) === expected, 'wrote rtcp-fb');
t.end();
});
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc