galerija-bot/www/js/settings.js.bak

31 lines
994 B
JavaScript

var server = null;
//if(window.location.protocol === 'http:')
//server = "http://" + window.location.hostname + ":8088/janus";
//else
//server = "https://" + window.location.hostname + ":8089/janus";
//server = window.location.protocol + '//' + window.location.hostname + '/janus';
//server = window.location.protocol + '//' + window.location.hostname + ':8089/janus';
//server = '/janus';
//server = "ws://" + window.location.hostname + ":8188/";
//server = "ws://" + window.location.hostname + ":8188/";
//server = "wss://" + window.location.hostname + ":8989/";
server = "wss://janus.rhiz0.me/";
//server = '/janus';
var turnUrl = 'turn:turn.rhiz0.me:5349';
//var stunUrl = 'stun:turn.rhiz0.me:5349';
var turnUser = 'turnserver';
var turnPass = '85ThXzKLce2oZkXz76tM0tibWL88Ik';
var iceServers = [{
urls: turnUrl,
username: turnUser,
credential: turnPass
}]
var BOT="http://192.168.32.139/";
// Koliko milisekund se naj vrtijo propelerji?
var DOLZINA=1000;
var PAVZA=1000;