add checkbox to demo to use stun or not

This commit is contained in:
Anthony Minessale
2014-08-02 01:20:00 +05:00
parent f629b5ed63
commit 07f80945ef
4 changed files with 27 additions and 2 deletions

View File

@@ -120,6 +120,12 @@
};
$.verto.prototype.iceServers = function(on) {
var verto = this;
verto.options.iceServers = on;
};
$.verto.prototype.loginData = function(params) {
verto.options.login = params.login;
verto.options.passwd = params.passwd;