Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixes local video when simulcast is disabled.

George Politis0b2a3e19e7ad
diff --git a/simulcast.js b/simulcast.js
index 0eef3ee389..dbda1c4d3d 100644
--- a/simulcast.js
+++ b/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) {