sdp-jingle-json
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -159,3 +159,8 @@ exports.lines = function (sdp) { | ||
exports.candidate = function (line) { | ||
var parts = line.substring(12).split(' '); | ||
var parts; | ||
if (line.indexOf('a=candidate:') === 0) { | ||
parts = line.substring(12).split(' '); | ||
} else { // no a=candidate | ||
parts = line.substring(10).split(' '); | ||
} | ||
@@ -162,0 +167,0 @@ var candidate = { |
@@ -194,3 +194,8 @@ var senders = { | ||
// FIXME: apparently this is wrong per spec | ||
// but then, we need this when actually putting this into | ||
// SDP so it's going to stay. | ||
// decision needs to be revisited when browsers dont | ||
// accept this any longer | ||
return 'a=candidate:' + sdp.join(' '); | ||
}; |
{ | ||
"name": "sdp-jingle-json", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
46686
992
0