turn.sozsoft.com yönlendirme
This commit is contained in:
parent
3bef3c6679
commit
f2a75eb20f
2 changed files with 11 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ tls-listening-port=5349
|
||||||
# IP / Domain
|
# IP / Domain
|
||||||
listening-ip=0.0.0.0
|
listening-ip=0.0.0.0
|
||||||
relay-ip=0.0.0.0
|
relay-ip=0.0.0.0
|
||||||
external-ip=213.238.160.83/172.20.0.2
|
external-ip=213.238.160.81/172.20.0.2
|
||||||
realm=turn.sozsoft.com
|
realm=turn.sozsoft.com
|
||||||
|
|
||||||
# Auth
|
# Auth
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,16 @@ export class WebRTCService {
|
||||||
|
|
||||||
private rtcConfiguration: RTCConfiguration = {
|
private rtcConfiguration: RTCConfiguration = {
|
||||||
iceServers: [
|
iceServers: [
|
||||||
{ urls: 'stun:stun.l.google.com:19302' },
|
{
|
||||||
{ urls: 'stun:stun1.l.google.com:19302' },
|
urls: [
|
||||||
|
'stun:turn.sozsoft.com:3478',
|
||||||
|
'turn:turn.sozsoft.com:3478?transport=udp',
|
||||||
|
'turn:turn.sozsoft.com:3478?transport=tcp',
|
||||||
|
'turns:turn.sozsoft.com:5349?transport=tcp',
|
||||||
|
],
|
||||||
|
username: 'webrtc',
|
||||||
|
credential: 'strongpassword123',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue