Tidy up resolution menu

This commit is contained in:
perroned 2015-10-08 13:14:49 -07:00
parent 6b1cc6549d
commit 859c1f2965

View File

@ -4,6 +4,7 @@ this.makeDeskshareResolutions = function () {
v = videoConstraints[i];
$("#deskshareResolutions").append("<input type='radio' name='deskshareQuality' id='deskshareQuality_" + i + "' value='" + i + "'>");
$("#deskshareResolutions").append("<label for='deskshareQuality_" + i + "'>" + v.name + " " + v.constraints.minWidth + "x" + v.constraints.minHeight + "</label>");
$("#deskshareResolutions").append("<br/>");
}
$("#deskshareQuality_qvga").prop("checked", true);
}