зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1315318 - Fix reversed info lines in sdpUtils.js verifySdp. r=bwc
MozReview-Commit-ID: 7DBNaIkyTii --HG-- extra : rebase_source : 2ce5f918780074c048099d1f08825d1b7b2556aa
This commit is contained in:
Родитель
65d084b973
Коммит
3519361c90
|
@ -89,9 +89,9 @@ verifySdp: function(desc, expectedType, offerConstraintsList, offerOptions,
|
|||
ok(!desc.sdp.includes(LOOPBACK_ADDR), "loopback interface is absent from SDP");
|
||||
var requiresTrickleIce = !desc.sdp.includes("a=candidate");
|
||||
if (requiresTrickleIce) {
|
||||
info("at least one ICE candidate is present in SDP");
|
||||
} else {
|
||||
info("No ICE candidate in SDP -> requiring trickle ICE");
|
||||
} else {
|
||||
info("at least one ICE candidate is present in SDP");
|
||||
}
|
||||
|
||||
//TODO: how can we check for absence/presence of m=application?
|
||||
|
|
Загрузка…
Ссылка в новой задаче