turn.sozsoft.com yönlendirme

This commit is contained in:
Sedat ÖZTÜRK 2025-09-01 15:52:01 +03:00
parent 3bef3c6679
commit f2a75eb20f
2 changed files with 11 additions and 3 deletions

View file

@ -14,7 +14,7 @@ tls-listening-port=5349
# IP / Domain
listening-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
# Auth

View file

@ -15,8 +15,16 @@ export class WebRTCService {
private rtcConfiguration: RTCConfiguration = {
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',
},
],
}