mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1435013: Sync transceivers before creating offers/answers. r=jib
MozReview-Commit-ID: EORXVc8Hnky --HG-- extra : rebase_source : 1ea186ac38f44b83f247b51224dd83be0b09df42
This commit is contained in:
parent
7642763ce5
commit
63e00f7ce5
@ -847,6 +847,7 @@ class RTCPeerConnection {
|
||||
|
||||
async _createOffer(options) {
|
||||
this._checkClosed();
|
||||
this._syncTransceivers();
|
||||
let origin = Cu.getWebIDLCallerPrincipal().origin;
|
||||
return this._chain(async () => {
|
||||
let haveAssertion;
|
||||
@ -878,6 +879,7 @@ class RTCPeerConnection {
|
||||
|
||||
async _createAnswer(options) {
|
||||
this._checkClosed();
|
||||
this._syncTransceivers();
|
||||
let origin = Cu.getWebIDLCallerPrincipal().origin;
|
||||
return this._chain(async () => {
|
||||
// We give up line-numbers in errors by doing this here, but do all
|
||||
|
Loading…
Reference in New Issue
Block a user