Comparing version 1.5.2 to 1.5.4
{ | ||
"name": "sdp", | ||
"version": "1.5.2", | ||
"version": "1.5.4", | ||
"description": "SDP parsing and serialization utilities", | ||
@@ -5,0 +5,0 @@ "main": "sdp.js", |
@@ -51,3 +51,3 @@ /* eslint-env node */ | ||
foundation: parts[0], | ||
component: parseInt(parts[1], 10), | ||
component: parts[1], | ||
protocol: parts[2].toLowerCase(), | ||
@@ -491,3 +491,3 @@ priority: parseInt(parts[3], 10), | ||
// parses either a=msid: or a=ssrc:... msid lines an returns | ||
// parses either a=msid: or a=ssrc:... msid lines and returns | ||
// the id of the MediaStream and MediaStreamTrack. | ||
@@ -494,0 +494,0 @@ SDPUtils.parseMsid = function(mediaSection) { |
@@ -284,3 +284,3 @@ /* jshint node: true */ | ||
t.ok(candidate.foundation === '702786350', 'parsed foundation'); | ||
t.ok(candidate.component === 2, 'parsed component'); | ||
t.ok(candidate.component === '2', 'parsed component'); | ||
t.ok(candidate.priority === 41819902, 'parsed priority'); | ||
@@ -287,0 +287,0 @@ t.ok(candidate.ip === '8.8.8.8', 'parsed ip'); |
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
33779