mirror of
https://gitlab.com/comunic/nodejs-webrtcsignalexchangerserver
synced 2025-06-19 17:35:19 +00:00
Updated README
This commit is contained in:
@ -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"}
|
||||
]
|
||||
|
Reference in New Issue
Block a user