Skip to content

Commit

Permalink
Merge pull request #148 from RationalCoding/master
Browse files Browse the repository at this point in the history
fix conditional
  • Loading branch information
feross authored Feb 20, 2017
2 parents f44629f + 4d0845a commit 0eca1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ Peer.prototype._transformConstraints = function (constraints) {
return constraints
}

if ((constraints.mandatory || constraints.optional) && self._isChromium) {
if ((constraints.mandatory || constraints.optional) && !self._isChromium) {
// convert to new format

// Merge mandatory and optional objects, prioritizing mandatory
Expand Down

0 comments on commit 0eca1a1

Please sign in to comment.