mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-22 17:47:11 +00:00
Add IPV4 stun
This commit is contained in:
parent
8ddb1832a8
commit
c0404f5758
1 changed files with 6 additions and 4 deletions
10
static/js/ws.js
vendored
10
static/js/ws.js
vendored
|
|
@ -97,10 +97,12 @@ function sendPing() {
|
|||
function startWebRTC() {
|
||||
// webrtc
|
||||
pc = new RTCPeerConnection({iceServers: [{
|
||||
urls: 'stun:stun-turn.webgame2d.com:3478',
|
||||
username: "root",
|
||||
credential: "root"
|
||||
}, {
|
||||
urls: 'stun:stun-turn.webgame2d.com:3478'
|
||||
},
|
||||
{
|
||||
urls: 'stun:159.65.141.209:3478'
|
||||
},
|
||||
{
|
||||
urls: "turn:stun-turn.webgame2d.com:3478",
|
||||
username: "root",
|
||||
credential: "root"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue