[mirotalksfu] - add default

main
Miroslav Pejic 4 years ago
parent 35c90bd2ca
commit 8b53101947

@ -1555,6 +1555,8 @@ function adaptAspectRatio(participantsCount) {
case 8: case 8:
desktop = 3; // (1:1) desktop = 3; // (1:1)
break; break;
default:
desktop = 0; // (0:0)
} }
// mobile aspect ratio // mobile aspect ratio
switch (participantsCount) { switch (participantsCount) {
@ -1575,6 +1577,8 @@ function adaptAspectRatio(participantsCount) {
case 6: case 6:
mobile = 3; // (1:1) mobile = 3; // (1:1)
break; break;
default:
mobile = 3; // (1:1)
} }
if (participantsCount > 11) { if (participantsCount > 11) {
desktop = 1; // (4:3) desktop = 1; // (4:3)

Loading…
Cancel
Save