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: {