Skip to content

Commit

Permalink
fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
t-mullen committed Feb 20, 2017
1 parent fd7496a commit 4d0845a
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 @@ -694,7 +694,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 4d0845a

Please sign in to comment.