diff --git a/static/js/mediastream/peercall.js b/static/js/mediastream/peercall.js index 7dc4308b..0c1c2041 100644 --- a/static/js/mediastream/peercall.js +++ b/static/js/mediastream/peercall.js @@ -152,6 +152,7 @@ define(['jquery', 'underscore', 'mediastream/utils', 'mediastream/peerconnection } }, this)); if (streams === 0 && this.sdpConstraints.mandatory && (this.sdpConstraints.mandatory.OfferToReceiveAudio || this.sdpConstraints.mandatory.OfferToReceiveVideo)) { + // We assume that we will eventually receive a stream, so we trigger the event to let the UI prepare for it. this.e.triggerHandler("remoteStreamAdded", [null, this]); } }, this));