Skip to content

Commit

Permalink
[mirotalk] - use openrelay as backup Turn
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jul 25, 2022
1 parent cd0509c commit e875a0c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 5 additions & 4 deletions app/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,12 @@ if (turnEnabled == 'true') {
credential: turnCredential,
});
} else {
// My own As backup if not configured, please configure your in the .env file
// As backup if not configured, please configure your own in the .env file
// https://www.metered.ca/tools/openrelay/
iceServers.push({
urls: 'turn:numb.viagenie.ca',
username: 'miroslav.pejic.85@gmail.com',
credential: 'mirotalkp2p',
urls: 'turn:openrelay.metered.ca:443',
username: 'openrelayproject',
credential: 'openrelayproject',
});
}

Expand Down
7 changes: 4 additions & 3 deletions public/views/testStunTurn.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@ <h1>Test Stun/Turn Servers</h1>
urls: 'stun:stun.l.google.com:19302',
},
// Test some TURN server
// https://www.metered.ca/tools/openrelay/
{
urls: 'turn:numb.viagenie.ca',
username: 'miroslav.pejic.85@gmail.com',
credential: 'mirotalkp2p',
urls: 'turn:openrelay.metered.ca:443',
username: 'openrelayproject',
credential: 'openrelayproject',
},
];
}
Expand Down

0 comments on commit e875a0c

Please sign in to comment.