diff --git a/html5/verto/js/src/jquery.FSRTC.js b/html5/verto/js/src/jquery.FSRTC.js index c0785576ff..225c1b16ec 100644 --- a/html5/verto/js/src/jquery.FSRTC.js +++ b/html5/verto/js/src/jquery.FSRTC.js @@ -1089,7 +1089,7 @@ return [w, h]; } - var resList = [[320, 180], [320, 240], [640, 360], [640, 480], [1280, 720], [1920, 1080]]; + var resList = [[160, 120], [320, 180], [320, 240], [640, 360], [640, 480], [1280, 720], [1920, 1080]]; var resI = 0; var ttl = 0; diff --git a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js index 824e5e9e91..12583b4571 100644 --- a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js +++ b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js @@ -3,6 +3,11 @@ /* Controllers */ var videoQuality = []; var videoQualitySource = [{ + id: 'qqvga', + label: 'QQVGA 160x120', + width: 160, + height: 120 +}, { id: 'qvga', label: 'QVGA 320x240', width: 320, @@ -35,6 +40,10 @@ var videoQualitySource = [{ }, ]; var videoResolution = { + qqvga: { + width: 160, + height: 120 + }, qvga: { width: 320, height: 240 @@ -910,7 +919,10 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora storage.data.useDedenc = false; storage.data.vidQual = 'hd'; - if (upBand < 512) { + if (upBand < 256) { + storage.data.vidQual = 'qqvga'; + } + else if (upBand < 512) { storage.data.vidQual = 'qvga'; } else if (upBand < 1024) { diff --git a/html5/verto/video_demo/index.html b/html5/verto/video_demo/index.html index 74992e5807..229275e9cf 100644 --- a/html5/verto/video_demo/index.html +++ b/html5/verto/video_demo/index.html @@ -394,6 +394,10 @@ if ($('#devices').is(':visible')) {