projects
/
libreadventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97ef3be
)
Custom turn server settings
author
Ruben Rodriguez
<ruben@gnu.org>
Fri, 26 Feb 2021 17:10:07 +0000
(12:10 -0500)
committer
Ruben Rodriguez
<ruben@gnu.org>
Fri, 26 Feb 2021 17:10:07 +0000
(12:10 -0500)
front/src/WebRtc/SimplePeer.ts
patch
|
blob
|
blame
|
history
diff --git
a/front/src/WebRtc/SimplePeer.ts
b/front/src/WebRtc/SimplePeer.ts
index da1ae3db27cc6d5bc118bd9f0f70a906fa08cd8f..1a32f6a0b393a26999634092fdad5091060ab6f2 100644
(file)
--- a/
front/src/WebRtc/SimplePeer.ts
+++ b/
front/src/WebRtc/SimplePeer.ts
@@
-109,14
+109,12
@@
export class SimplePeer {
config: {
iceServers: [
{
- urls: 'stun:stun.l.google.com:19302'
+ urls: 'turn:turn.testansible.fsf.org:3478',
+ username: 'user',
+ credential: 'password'
},
- {
- urls: 'turn:numb.viagenie.ca',
- username: 'g.parant@thecodingmachine.com',
- credential: 'itcugcOHxle9Acqi$'
- },
- ]
+ ],
+ iceTransportPolicy: "relay"
},
});
this.PeerConnectionArray.set(user.userId, peer);