Updated README

This commit is contained in:
2019-01-20 16:45:08 +01:00
parent baa3971722
commit 89041d7009
2 changed files with 11 additions and 4 deletions

View File

@ -10,7 +10,7 @@ function byId(id){
const Config = {
port: 8081,
server_name: "localhost",
server_name: "192.168.1.202",
clientID: location.href.toString().includes("#1") ? "client-1" : "client-2",
otherPeerID: location.href.toString().includes("#1") ? "client-2" : "client-1"
};
@ -86,8 +86,8 @@ function InitializePeer() {
trickle: false,
config: {
'iceServers': [
{ urls: 'stun:127.0.0.1:3478' },
{"url":"turn:127.0.0.1:3478",
{ urls: 'stun:192.168.1.202:3478' },
{"url":"turn:192.168.1.202:3478",
"credential":"anonymous",
"username": "anonymous"}
]