Coturn turnserver disconnects frequently and video streaming is very slow

219 views
Skip to first unread message

Raghuram P

unread,
Apr 16, 2024, 3:33:17 AM4/16/24
to discuss-webrtc
Coturn turnserver disconnects frequently and video streaming is very slow
I have configured turnserver on Ubuntu 22.04 with 2CPU, 8GB RAM 250GB GCP compute, with public IP and DNS
Here is the configuration
listening-port=3478
tls-listening-port=1443
relay-ip=172.26.16.198
external-ip=34.120.25.10
min-port=49152
max-port=65535
verbose
fingerprint
lt-cred-mech
server-name=turnser.mydomain.com
realm=turnser.mydomain.com
user=coturnuser:key
userdb=/var/lib/turn/turndb
user-quota=0
total-quota=0
max-bps=0
bps-capacity=0
max-allocate-lifetime=36000
channel-lifetime=600
permission-lifetime=300
cert=/etc/ssl/certs/mydomain.com.pem
pkey=/etc/ssl/certs/mydomain.com.key
log-file=/var/log/turnserver/turn.log
allow-loopback-peers
max-allocate-timeout=36000
pidfile="/var/run/turnserver.pid"
proc-user=turnserver
proc-group=turnserver
no-cli
Issue is a developer using through openai subscription we are getting speech synthesis using microsoft.cognitiveservices.speech.sdk.bundle.js,
this SDK provides Avatar video format method, then we are calling the webrtc turnserver(coturn) using chome
then we are creating Avatar Synthesizer, this audio and video synchronization and video streaming is very slow and connection disconnects frequently and reconnects after seconds
Please go through the details and help me fix this issue

Regards
Raghuram

Raghuram P

unread,
Apr 16, 2024, 3:33:17 AM4/16/24
to discuss-webrtc
Reply all
Reply to author
Forward
0 new messages