FS-8046 add deviceParams method

This commit is contained in:
Anthony Minessale committed 2015-08-27 16:14:52 -05:00
1 parent 9485fc9581
commit bfb59ae77c
2 files changed
+18 -6

No files matched your search

+16 -4
View File
@@ -142,14 +142,26 @@
};
$.verto.prototype.videoParams = function(on) {
$.verto.prototype.deviceParams = function(obj) {
var verto = this;
verto.options.videoParams = on;
for (var i in obj) {
verto.options.deviceParams[i] = obj[i];
}
};
$.verto.prototype.iceServers = function(on) {
$.verto.prototype.videoParams = function(obj) {
var verto = this;
verto.options.iceServers = on;
for (var i in obj) {
verto.options.videoParams[i] = obj[i];
}
};
$.verto.prototype.iceServers = function(obj) {
var verto = this;
verto.options.iceServers = obj;
};
$.verto.prototype.loginData = function(params) {