зеркало из https://github.com/mozilla/gecko-dev.git
Bug 817429: Accept candidate messages that are zero numbered r=jesup
This commit is contained in:
Родитель
9163749e2d
Коммит
31a68e5a48
|
@ -133,7 +133,8 @@ IceCandidate.prototype = {
|
|||
if (candidateInitDict !== undefined) {
|
||||
this.candidate = candidateInitDict.candidate || null;
|
||||
this.sdpMid = candidateInitDict.sdbMid || null;
|
||||
this.sdpMLineIndex = candidateInitDict.sdpMLineIndex || null;
|
||||
this.sdpMLineIndex = candidateInitDict.sdpMLineIndex === null ?
|
||||
null : candidateInitDict.sdpMLineIndex + 1;
|
||||
} else {
|
||||
this.candidate = this.sdpMid = this.sdpMLineIndex = null;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче