diff --git a/web/app/assets/javascripts/fakeJamClient.js b/web/app/assets/javascripts/fakeJamClient.js index 0e21c3a63..87504b7e8 100644 --- a/web/app/assets/javascripts/fakeJamClient.js +++ b/web/app/assets/javascripts/fakeJamClient.js @@ -88,7 +88,10 @@ videoShared=false; } - function SessStartVideoSharing(bitrate=0) { + function SessStartVideoSharing(bitrate) { + if (!bitrate || typeof(bitrate)=="undefined") { + bitrate = 0 + } videoShared=true; }