Fixes local video when simulcast is disabled.

pull/169/head
George Politis 11 years ago
parent 71c08450bb
commit 0b2a3e19e7
  1. 5
      simulcast.js

@ -828,7 +828,10 @@ function Simulcast() {
};
Simulcast.prototype.getLocalVideoStream = function() {
return displayedLocalVideoStream;
return (displayedLocalVideoStream)
? displayedLocalVideoStream
// in case we have no simulcast at all, i.e. we didn't perform the GUM
: connection.jingle.localVideo;
};
$(document).bind('simulcastlayerschanged', function (event, endpointSimulcastLayers) {

Loading…
Cancel
Save