diff --git a/bootstrap.sh b/bootstrap.sh
index 97237d7a95..f3bed2d4e1 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -159,7 +159,7 @@ check_lt_ver() {
check_libtoolize() {
# check libtoolize availability
if [ -n "${LIBTOOL}" ]; then
- libtoolize=${LIBTOOLIZE:-`dirname "${libtool}"`/libtoolize}
+ libtoolize=${LIBTOOLIZE:-`dirname "${LIBTOOL}"`/libtoolize}
else
libtoolize=${LIBTOOLIZE:-`${LIBDIR}/apr/build/PrintPath glibtoolize libtoolize libtoolize22 libtoolize15 libtoolize14`}
fi
@@ -190,7 +190,7 @@ check_make() {
make=`which make`
if [ -x "$make" ]; then
- make_version=`$make --version | grep GNU`
+ make_version=`$make --version || true | grep GNU`
if [ $? -ne 0 ]; then
make=`which gmake`
if [ -x "$make" ]; then
diff --git a/build/modules.conf.in b/build/modules.conf.in
index 9c1a6d4ac0..a3ee343f05 100644
--- a/build/modules.conf.in
+++ b/build/modules.conf.in
@@ -40,6 +40,7 @@ applications/mod_httapi
#applications/mod_redis
#applications/mod_rss
applications/mod_sms
+#applications/mod_sms_flowroute
#applications/mod_snapshot
#applications/mod_snom
#applications/mod_sonar
diff --git a/conf/vanilla/autoload_configs/conference.conf.xml b/conf/vanilla/autoload_configs/conference.conf.xml
index d289bb5712..2df467b6d7 100644
--- a/conf/vanilla/autoload_configs/conference.conf.xml
+++ b/conf/vanilla/autoload_configs/conference.conf.xml
@@ -238,7 +238,7 @@
-
+
diff --git a/conf/vanilla/autoload_configs/modules.conf.xml b/conf/vanilla/autoload_configs/modules.conf.xml
index c850d7365f..2c465d1231 100644
--- a/conf/vanilla/autoload_configs/modules.conf.xml
+++ b/conf/vanilla/autoload_configs/modules.conf.xml
@@ -71,6 +71,7 @@
+
@@ -100,6 +101,7 @@
+
diff --git a/conf/vanilla/autoload_configs/sms_flowroute.conf.xml b/conf/vanilla/autoload_configs/sms_flowroute.conf.xml
new file mode 100644
index 0000000000..43d1c3eb06
--- /dev/null
+++ b/conf/vanilla/autoload_configs/sms_flowroute.conf.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/conf/vanilla/autoload_configs/verto.conf.xml b/conf/vanilla/autoload_configs/verto.conf.xml
index 8b839dedf8..7714053083 100644
--- a/conf/vanilla/autoload_configs/verto.conf.xml
+++ b/conf/vanilla/autoload_configs/verto.conf.xml
@@ -2,6 +2,12 @@
+
+
+
+
+
+
diff --git a/conf/vanilla/chatplan/default.xml b/conf/vanilla/chatplan/default.xml
index b67bb638fa..22d34da552 100644
--- a/conf/vanilla/chatplan/default.xml
+++ b/conf/vanilla/chatplan/default.xml
@@ -6,7 +6,7 @@
-
+
diff --git a/conf/vanilla/dialplan/default.xml b/conf/vanilla/dialplan/default.xml
index 3ffe2871ca..d4ae8e711a 100644
--- a/conf/vanilla/dialplan/default.xml
+++ b/conf/vanilla/dialplan/default.xml
@@ -382,6 +382,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/configure.ac b/configure.ac
index 500e68bc66..1f3f14c909 100644
--- a/configure.ac
+++ b/configure.ac
@@ -597,7 +597,7 @@ AC_SUBST(SYS_XMLRPC_CFLAGS)
AC_SUBST(SYS_XMLRPC_LDFLAGS)
AM_CONDITIONAL([SYSTEM_XMLRPCC],[test "${enable_xmlrpcc}" = "yes"])
-for luaversion in lua5.2 lua-5.2 lua5.1 lua-5.1 lua; do
+for luaversion in lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua; do
PKG_CHECK_MODULES([LUA],[${luaversion}],[have_lua=yes],[have_lua=no])
if test ${have_lua} = yes; then
break
@@ -793,7 +793,7 @@ case "$host" in
;;
*openbsd*)
APR_ADDTO(CPPFLAGS, -I/usr/local/include)
- APR_ADDTO(LDFLAGS, -L/usr/local/lib)
+ APR_ADDTO(LDFLAGS, -L/usr/local/lib -ltermcap)
APR_ADDTO(SWITCH_AM_CFLAGS, -I/usr/local/include)
;;
*netbsd*)
@@ -1413,6 +1413,18 @@ PKG_CHECK_MODULES([AMQP], [librabbitmq >= 0.5.2],[
AM_CONDITIONAL([HAVE_AMQP],[true])],[
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_AMQP],[false])])
+PKG_CHECK_MODULES([H2O], [libh2o-evloop >= 0.11.0],[
+ AM_CONDITIONAL([HAVE_H2O],[true])],[
+ AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_H2O],[false])])
+
+PKG_CHECK_MODULES([BROTLIENC], [libbrotlienc >= 0.1.0],[
+ AM_CONDITIONAL([HAVE_BROTLIENC],[true])],[
+ AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_BROTLIENC],[false])])
+
+PKG_CHECK_MODULES([BROTLIDEC], [libbrotlidec >= 0.1.0],[
+ AM_CONDITIONAL([HAVE_BROTLIDEC],[true])],[
+ AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_BROTLIDEC],[false])])
+
PKG_CHECK_MODULES([TAP], [tap >= 0.1.0],[
AM_CONDITIONAL([HAVE_TAP],[true])],[
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_TAP],[false])])
@@ -1693,6 +1705,22 @@ else
AC_MSG_WARN([python support disabled, building mod_python will fail!])
fi
+#
+# SNMP checks for mod_snmp
+#
+AC_PATH_PROG([NET_SNMP_CONFIG], [net-snmp-config], [no])
+if test "$NET_SNMP_CONFIG" != "no"; then
+ AC_MSG_CHECKING([for Net-SNMP libraries via net-snmp-config])
+ SNMP_LIBS="`$NET_SNMP_CONFIG --base-agent-libs`"
+else
+ # net-snmp-config not in path, fallback to sensible defaults
+ SNMP_LIBS="-lnetsnmpmibs -lnetsnmpagent -lnetsnmp"
+fi
+
+# fix linking error on Solaris patched Net-SNMP
+AS_CASE([$host], [*-solaris2*], [AC_CHECK_LIB([dladm], [dladm_open], [SNMP_LIBS="$SNMP_LIBS -ldladm"])])
+AC_SUBST(SNMP_LIBS)
+
CHECK_ERLANG
# we never use this, and hard setting it will make cross compile work better
@@ -1746,6 +1774,7 @@ AC_CONFIG_FILES([Makefile
src/mod/applications/mod_rss/Makefile
src/mod/applications/mod_skel/Makefile
src/mod/applications/mod_sms/Makefile
+ src/mod/applications/mod_sms_flowroute/Makefile
src/mod/applications/mod_snapshot/Makefile
src/mod/applications/mod_snom/Makefile
src/mod/applications/mod_sonar/Makefile
@@ -1962,22 +1991,6 @@ esac
AC_OUTPUT
-##
-## Registering for ClueCon
-##
-if ! test -f noreg -o -f /noreg; then
-echo ""
-echo ""
-echo $ECHO_N "Registering you for ClueCon http://www.cluecon.com $ECHO_C" 1>&6
-sleep 1
-echo $ECHO_N ".$ECHO_C" 1>&6
-sleep 1
-echo $ECHO_N ".$ECHO_C" 1>&6
-sleep 1
-AC_MSG_RESULT([ See you in August. ;-)])
-echo ""
-fi
-
##
## Configuration summary
##
diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh
index a8ccae6570..f9835c4546 100755
--- a/debian/bootstrap.sh
+++ b/debian/bootstrap.sh
@@ -32,6 +32,7 @@ supported_debian_distros="wheezy jessie stretch sid"
supported_ubuntu_distros="trusty utopic"
supported_distros="$supported_debian_distros $supported_ubuntu_distros"
avoid_mods=(
+ applications/mod_sms_flowroute
applications/mod_limit
applications/mod_mongo
applications/mod_mp4
@@ -634,10 +635,12 @@ Depends: \${misc:Depends}, freeswitch (= \${binary:Version}),
freeswitch-mod-dingaling (= \${binary:Version}),
freeswitch-mod-loopback (= \${binary:Version}),
freeswitch-mod-portaudio (= \${binary:Version}),
+ freeswitch-mod-rtc (= \${binary:Version}),
freeswitch-mod-rtmp (= \${binary:Version}),
freeswitch-mod-skinny (= \${binary:Version}),
freeswitch-mod-skypopen (= \${binary:Version}),
freeswitch-mod-sofia (= \${binary:Version}),
+ freeswitch-mod-verto (= \${binary:Version}),
freeswitch-mod-cdr-csv (= \${binary:Version}),
freeswitch-mod-cdr-mongodb (= \${binary:Version}),
freeswitch-mod-cdr-sqlite (= \${binary:Version}),
@@ -704,6 +707,33 @@ Description: Cross-Platform Scalable Multi-Protocol Soft Switch
This is a metapackage which depends on the packages needed to install
most FreeSWITCH codecs.
+Package: freeswitch-meta-codecs-dbg
+Architecture: any
+Depends: \${misc:Depends}, freeswitch (= \${binary:Version}),
+ freeswitch-mod-amr-dbg (= \${binary:Version}),
+ freeswitch-mod-amrwb-dbg (= \${binary:Version}),
+ freeswitch-mod-b64-dbg (= \${binary:Version}),
+ freeswitch-mod-bv-dbg (= \${binary:Version}),
+ freeswitch-mod-codec2-dbg (= \${binary:Version}),
+ freeswitch-mod-dahdi-codec-dbg (= \${binary:Version}),
+ freeswitch-mod-g723-1-dbg (= \${binary:Version}),
+ freeswitch-mod-g729-dbg (= \${binary:Version}),
+ freeswitch-mod-h26x-dbg (= \${binary:Version}),
+ freeswitch-mod-isac-dbg (= \${binary:Version}),
+ freeswitch-mod-mp4v-dbg (= \${binary:Version}),
+ freeswitch-mod-opus-dbg (= \${binary:Version}),
+ freeswitch-mod-silk-dbg (= \${binary:Version}),
+ freeswitch-mod-spandsp-dbg (= \${binary:Version}),
+ freeswitch-mod-theora-dbg (= \${binary:Version}),
+Suggests:
+ freeswitch-mod-ilbc-dbg (= \${binary:Version}),
+ freeswitch-mod-siren-dbg (= \${binary:Version})
+Description: Cross-Platform Scalable Multi-Protocol Soft Switch
+ $(debian_wrap "${fs_description}")
+ .
+ This is a metapackage which depends on the packages needed to install
+ most FreeSWITCH codecs.
+
Package: freeswitch-meta-conf
Architecture: all
Depends: \${misc:Depends},
@@ -759,11 +789,141 @@ Description: Cross-Platform Scalable Multi-Protocol Soft Switch
This is a metapackage which depends on all mod_say languages for
FreeSWITCH.
+Package: freeswitch-meta-mod-say-dbg
+Architecture: any
+Depends: \${misc:Depends},
+ freeswitch-mod-say-de-dbg (= \${binary:Version}),
+ freeswitch-mod-say-en-dbg (= \${binary:Version}),
+ freeswitch-mod-say-es-dbg (= \${binary:Version}),
+ freeswitch-mod-say-fa-dbg (= \${binary:Version}),
+ freeswitch-mod-say-fr-dbg (= \${binary:Version}),
+ freeswitch-mod-say-he-dbg (= \${binary:Version}),
+ freeswitch-mod-say-hr-dbg (= \${binary:Version}),
+ freeswitch-mod-say-hu-dbg (= \${binary:Version}),
+ freeswitch-mod-say-it-dbg (= \${binary:Version}),
+ freeswitch-mod-say-ja-dbg (= \${binary:Version}),
+ freeswitch-mod-say-nl-dbg (= \${binary:Version}),
+ freeswitch-mod-say-pl-dbg (= \${binary:Version}),
+ freeswitch-mod-say-pt-dbg (= \${binary:Version}),
+ freeswitch-mod-say-ru-dbg (= \${binary:Version}),
+ freeswitch-mod-say-th-dbg (= \${binary:Version}),
+ freeswitch-mod-say-zh-dbg (= \${binary:Version}),
+Description: Cross-Platform Scalable Multi-Protocol Soft Switch
+ $(debian_wrap "${fs_description}")
+ .
+ This is a metapackage which depends on all mod_say languages for
+ FreeSWITCH.
+
+Package: freeswitch-meta-all-dbg
+Architecture: any
+Depends: \${misc:Depends}, freeswitch (= \${binary:Version}),
+ freeswitch-meta-codecs-dbg (= \${binary:Version}),
+ freeswitch-meta-lang-dbg (= \${binary:Version}),
+ freeswitch-meta-mod-say (= \${binary:Version}),
+ freeswitch-mod-abstraction-dbg (= \${binary:Version}),
+ freeswitch-mod-avmd-dbg (= \${binary:Version}),
+ freeswitch-mod-av-dbg (= \${binary:Version}),
+ freeswitch-mod-blacklist-dbg (= \${binary:Version}),
+ freeswitch-mod-callcenter-dbg (= \${binary:Version}),
+ freeswitch-mod-cidlookup-dbg (= \${binary:Version}),
+ freeswitch-mod-commands-dbg (= \${binary:Version}),
+ freeswitch-mod-conference-dbg (= \${binary:Version}),
+ freeswitch-mod-curl-dbg (= \${binary:Version}),
+ freeswitch-mod-db-dbg (= \${binary:Version}),
+ freeswitch-mod-directory-dbg (= \${binary:Version}),
+ freeswitch-mod-distributor-dbg (= \${binary:Version}),
+ freeswitch-mod-dptools-dbg (= \${binary:Version}),
+ freeswitch-mod-easyroute-dbg (= \${binary:Version}),
+ freeswitch-mod-enum-dbg (= \${binary:Version}),
+ freeswitch-mod-esf-dbg (= \${binary:Version}),
+ freeswitch-mod-esl-dbg (= \${binary:Version}),
+ freeswitch-mod-expr-dbg (= \${binary:Version}),
+ freeswitch-mod-fifo-dbg (= \${binary:Version}),
+ freeswitch-mod-fsk-dbg (= \${binary:Version}),
+ freeswitch-mod-fsv-dbg (= \${binary:Version}),
+ freeswitch-mod-hash-dbg (= \${binary:Version}),
+ freeswitch-mod-httapi-dbg (= \${binary:Version}),
+ freeswitch-mod-http-cache-dbg (= \${binary:Version}),
+ freeswitch-mod-lcr-dbg (= \${binary:Version}),
+ freeswitch-mod-memcache-dbg (= \${binary:Version}),
+ freeswitch-mod-nibblebill-dbg (= \${binary:Version}),
+ freeswitch-mod-oreka-dbg (= \${binary:Version}),
+ freeswitch-mod-png-dbg (= \${binary:Version}),
+ freeswitch-mod-redis-dbg (= \${binary:Version}),
+ freeswitch-mod-rss-dbg (= \${binary:Version}),
+ freeswitch-mod-sms-dbg (= \${binary:Version}),
+ freeswitch-mod-snapshot-dbg (= \${binary:Version}),
+ freeswitch-mod-snom-dbg (= \${binary:Version}),
+ freeswitch-mod-sonar-dbg (= \${binary:Version}),
+ freeswitch-mod-soundtouch-dbg (= \${binary:Version}),
+ freeswitch-mod-spandsp-dbg (= \${binary:Version}),
+ freeswitch-mod-spy-dbg (= \${binary:Version}),
+ freeswitch-mod-stress-dbg (= \${binary:Version}),
+ freeswitch-mod-translate-dbg (= \${binary:Version}),
+ freeswitch-mod-valet-parking-dbg (= \${binary:Version}),
+ freeswitch-mod-voicemail-dbg (= \${binary:Version}),
+ freeswitch-mod-voicemail-ivr-dbg (= \${binary:Version}),
+ freeswitch-mod-flite-dbg (= \${binary:Version}),
+ freeswitch-mod-pocketsphinx-dbg (= \${binary:Version}),
+ freeswitch-mod-tts-commandline-dbg (= \${binary:Version}),
+ freeswitch-mod-unimrcp-dbg (= \${binary:Version}),
+ freeswitch-mod-dialplan-asterisk-dbg (= \${binary:Version}),
+ freeswitch-mod-dialplan-directory-dbg (= \${binary:Version}),
+ freeswitch-mod-dialplan-xml-dbg (= \${binary:Version}),
+ freeswitch-mod-ldap-dbg (= \${binary:Version}),
+ freeswitch-mod-dingaling-dbg (= \${binary:Version}),
+ freeswitch-mod-loopback-dbg (= \${binary:Version}),
+ freeswitch-mod-portaudio-dbg (= \${binary:Version}),
+ freeswitch-mod-rtc-dbg (= \${binary:Version}),
+ freeswitch-mod-rtmp-dbg (= \${binary:Version}),
+ freeswitch-mod-skinny-dbg (= \${binary:Version}),
+ freeswitch-mod-skypopen-dbg (= \${binary:Version}),
+ freeswitch-mod-sofia-dbg (= \${binary:Version}),
+ freeswitch-mod-verto-dbg (= \${binary:Version}),
+ freeswitch-mod-cdr-csv-dbg (= \${binary:Version}),
+ freeswitch-mod-cdr-mongodb-dbg (= \${binary:Version}),
+ freeswitch-mod-cdr-sqlite-dbg (= \${binary:Version}),
+ freeswitch-mod-erlang-event-dbg (= \${binary:Version}),
+ freeswitch-mod-event-multicast-dbg (= \${binary:Version}),
+ freeswitch-mod-event-socket-dbg (= \${binary:Version}),
+ freeswitch-mod-json-cdr-dbg (= \${binary:Version}),
+ freeswitch-mod-kazoo-dbg (= \${binary:Version}),
+ freeswitch-mod-snmp-dbg (= \${binary:Version}),
+ freeswitch-mod-local-stream-dbg (= \${binary:Version}),
+ freeswitch-mod-native-file-dbg (= \${binary:Version}),
+ freeswitch-mod-portaudio-stream-dbg (= \${binary:Version}),
+ freeswitch-mod-shell-stream-dbg (= \${binary:Version}),
+ freeswitch-mod-sndfile-dbg (= \${binary:Version}),
+ freeswitch-mod-tone-stream-dbg (= \${binary:Version}),
+ freeswitch-mod-java-dbg (= \${binary:Version}),
+ freeswitch-mod-lua-dbg (= \${binary:Version}),
+ freeswitch-mod-perl-dbg (= \${binary:Version}),
+ freeswitch-mod-python-dbg (= \${binary:Version}),
+ freeswitch-mod-yaml-dbg (= \${binary:Version}),
+ freeswitch-mod-console-dbg (= \${binary:Version}),
+ freeswitch-mod-logfile-dbg (= \${binary:Version}),
+ freeswitch-mod-syslog-dbg (= \${binary:Version}),
+ freeswitch-mod-posix-timer-dbg (= \${binary:Version}),
+ freeswitch-mod-timerfd-dbg (= \${binary:Version}),
+ freeswitch-mod-xml-cdr-dbg (= \${binary:Version}),
+ freeswitch-mod-xml-curl-dbg (= \${binary:Version}),
+ freeswitch-mod-xml-rpc-dbg (= \${binary:Version}),
+ freeswitch-mod-xml-scgi-dbg (= \${binary:Version}),
+Recommends:
+Suggests:
+ freeswitch-mod-vmd-dbg (= \${binary:Version}),
+ freeswitch-mod-vlc-dbg (= \${binary:Version}),
+Description: Cross-Platform Scalable Multi-Protocol Soft Switch
+ $(debian_wrap "${fs_description}")
+ .
+ This is a metapackage which recommends or suggests all packaged
+ FreeSWITCH modules.
+
Package: freeswitch-all-dbg
Section: debug
Priority: extra
Architecture: any
-Depends: \${misc:Depends}, freeswitch-meta-all (= \${binary:Version})
+Depends: \${misc:Depends}, freeswitch-meta-all (= \${binary:Version}), freeswitch-meta-all-dbg (= \${binary:Version})
Description: debugging symbols for FreeSWITCH
$(debian_wrap "${fs_description}")
.
@@ -840,7 +1000,7 @@ if [ ${use_sysvinit} = "true" ]; then
cat <= 3.0-6), sysvinit
+Depends: \${misc:Depends}, lsb-base (>= 3.0-6), sysvinit | sysvinit-utils
Conflicts: freeswitch-init
Provides: freeswitch-init
Description: FreeSWITCH SysV init script
diff --git a/freeswitch.spec b/freeswitch.spec
index a6b38719bb..f23e23de52 100644
--- a/freeswitch.spec
+++ b/freeswitch.spec
@@ -1935,6 +1935,7 @@ fi
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/shout.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/skinny.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/smpp.conf.xml
+%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sms_flowroute.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sofia.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/spandsp.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/switch.conf.xml
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/index.html b/html5/verto/verto_communicator/src/index.html
index e886875756..2f4e2af1f5 100644
--- a/html5/verto/verto_communicator/src/index.html
+++ b/html5/verto/verto_communicator/src/index.html
@@ -88,7 +88,7 @@
-
+
diff --git a/html5/verto/verto_communicator/src/vertoControllers/controllers/MainController.js b/html5/verto/verto_communicator/src/vertoControllers/controllers/MainController.js
index 6f61816c82..c1a528784a 100644
--- a/html5/verto/verto_communicator/src/vertoControllers/controllers/MainController.js
+++ b/html5/verto/verto_communicator/src/vertoControllers/controllers/MainController.js
@@ -292,7 +292,10 @@
$scope.closeSettings = function() {
var settingsEl = angular.element(document.querySelector('#settings'));
- settingsEl.removeClass('toggled');
+ if (settingsEl.hasClass('toggled')) {
+ settingsEl.removeClass('toggled');
+ $rootScope.$emit('toggledSettings', settingsEl.hasClass('toggled'));
+ }
};
$scope.goFullscreen = function() {
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')) {