Do I have to setup STUN & TURN?

mybirer

New Member
Hi,
I'm using WCS for 5 months but a lot of times live streaming breaking suddenly. I made all performance improvements & I read whole documentation.
But I couldn't fixed yet.
I catch error like this:

upload_2019-2-16_12-22-28.png


I didn't configure my server about STUN & TURN issue. Should I configure these? If I should, how can I do that?

I don't think problem causes from hardware. here are my server specs:
48 GB RAM
i7-6700
120 SSD
1 GB Up & Down stream


Thanks a lot.
 

Max

Administrator
Staff member

Max

Administrator
Staff member
Hello.
Build 5.1.3740 is stable. There was no changes for WebRTC over TCP or built-in TURN in latest builds, but there was some optimizations for more stable server work in CDN under high load. So we recommend to upgrade if your WCS serves many streams or if you're using CDN.
 

mybirer

New Member
Hi Max,
I upgraded system to 3762.
It seems problem still exists. Should I enable TCP? Is that cause any additional error?
I'm worry because there are too many customers using the system right now.

Thanks.
 

Max

Administrator
Staff member
Please provide ssh access. We will check logs and configuration.
support@flashphoner.com

TCP can cause additional latency in streams
TURN would be helpful because some connections will go through TURN and some connections will stay on UDP.
But we need to see logs and full server configuration to advice what would be better.
 

Max

Administrator
Staff member
We have received access. However it looks incorrect. Can't login.
Please re-test your access and send again:
SSH
- host IP
- login
- password
 

Max

Administrator
Staff member
There are "RTP ACTIVITY EVENT DETECTED!" and "Websocket ping/pong timeout us detected." in the logs.
Try, e.g., increasing number of ping/pong probes and disabling detection of RTP activity: in WCS_HOME/conf/flashphoner.properties
Code:
keep_alive.probes=20
rtp_activity_detecting=false,60
 
Top