Comparing version 1.2.0 to 1.2.1
@@ -69,2 +69,10 @@ var _ = require('underscore'); | ||
} | ||
sessDesc.jingle.contents.forEach(function (content) { | ||
var sources = content.description.sources || []; | ||
sources.forEach(function (source) { | ||
source.parameters = source.parameters.filter(function (parameter) { | ||
return !(parameter.key === 'mslabel' || parameter.key === 'label'); | ||
}); | ||
}); | ||
}); | ||
self.send('session-initiate', sessDesc.jingle); | ||
@@ -99,2 +107,11 @@ }); | ||
} | ||
// remove mslabel and label ssrc-specific attributes | ||
answer.jingle.contents.forEach(function (content) { | ||
var sources = content.description.sources || []; | ||
sources.forEach(function (source) { | ||
source.parameters = source.parameters.filter(function (parameter) { | ||
return !(parameter.key === 'mslabel' || parameter.key === 'label'); | ||
}); | ||
}); | ||
}); | ||
self.send('session-accept', answer.jingle); | ||
@@ -101,0 +118,0 @@ }); |
{ | ||
"name": "jingle", | ||
"description": "Generic Jingle via WebRTC session manager.", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": "Lance Stout <lance@andyet.net>", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/otalk/jingle.js/issues", |
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
48264
1105