mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1355259: only filter out udp candidates if force_tcp is set. r=mjf
MozReview-Commit-ID: AKv0N74epZ1 --HG-- extra : rebase_source : 9a77174afca8fd45b614ec49f4eb86f04ced888a
This commit is contained in:
parent
9b51c27976
commit
37ee2e02bb
@ -510,7 +510,8 @@ PeerConnectionMedia::ActivateOrRemoveTransports(const JsepSession& aSession,
|
||||
candidates.erase(std::remove_if(candidates.begin(),
|
||||
candidates.end(),
|
||||
[](const std::string & s) {
|
||||
return s.find(" UDP "); }),
|
||||
return s.find(" UDP ") != std::string::npos ||
|
||||
s.find(" udp ") != std::string::npos; }),
|
||||
candidates.end());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user