22 lines
513 B
Plaintext
22 lines
513 B
Plaintext
var server = null;
|
|
if(window.location.protocol === 'http:')
|
|
server = "http://" + window.location.hostname + ":8088/janus";
|
|
else
|
|
server = "https://" + window.location.hostname + ":8089/janus";
|
|
|
|
var turnUrl = 'turn:STREZHNIK:PORT';
|
|
var turnUser = 'UPORABNICA';
|
|
var turnPass = 'SKRITAKODAKIJENEVESALIPAC';
|
|
|
|
var iceServers = [{
|
|
urls: turnUrl,
|
|
username: turnUser,
|
|
credential: turnPass
|
|
}]
|
|
|
|
var BOT="http://192.168.1.101/";
|
|
|
|
// Koliko milisekund se naj vrtijo propelerji?
|
|
var DOLZINA=3000;
|
|
var PAVZA=3000;
|