2023-02-27 10:42:51 +01:00
|
|
|
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
|
|
|
|
}]
|
2023-03-21 03:32:00 +01:00
|
|
|
|
|
|
|
var BOT="http://192.168.1.101/";
|
|
|
|
|
|
|
|
// Koliko milisekund se naj vrtijo propelerji?
|
|
|
|
var DOLZINA=3000;
|