Skip to content

Commit

Permalink
Fixed leftover variable in janus.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Feb 22, 2022
1 parent 24ec58f commit 5827d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/janus.js
Original file line number Diff line number Diff line change
Expand Up @@ -2313,7 +2313,7 @@ function Janus(gatewayCallbacks) {
if(videoSupport && media) {
var simulcast = (callbacks.simulcast === true || callbacks.simulcast2 === true);
var svc = callbacks.svc;
if((simulcast || simulcast2 || svc) && !jsep && !media.video)
if((simulcast || svc) && !jsep && !media.video)
media.video = "hires";
if(media.video && media.video != 'screen' && media.video != 'window') {
if(typeof media.video === 'object') {
Expand Down

0 comments on commit 5827d5a

Please sign in to comment.