From d9507c4c562f071ca036c4c364f078221e64a8f8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 4 Dec 2014 16:12:18 -0600 Subject: [PATCH] FS-7509: set min and max --- html5/verto/video_demo/verto.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html5/verto/video_demo/verto.js b/html5/verto/video_demo/verto.js index 9ce96b0c3e..dc9b7f1dd1 100644 --- a/html5/verto/video_demo/verto.js +++ b/html5/verto/video_demo/verto.js @@ -95,7 +95,7 @@ function check_vid_res() $("#webcam").height(vid_height); if (verto) { - verto.videoParams({"minWidth": vid_width, "minHeight": vid_height, "minFrameRate": 30}); + verto.videoParams({"minWidth": vid_width, "minHeight": vid_height, "maxWidth": vid_width, "maxHeight": vid_height, "minFrameRate": 30}); } } @@ -555,6 +555,8 @@ function init() { videoParams: { "minWidth": vid_width, "minHeight": vid_height, + "maxWidth": vid_width, + "maxHeight": vid_height, "minFrameRate": 30 }, audioParams: {