Hi, I'm using WSC 5.2 from marketplace on AWS and I'm trying to use the internal TURN server and I'll appreciate some help here.
It seems that the TURN server failed to listen on port 3478 on the external interface.
I followed this document: https://docs.flashphoner.com/display/WCS52EN/TURN+server
My conf file:
I tried:
[1] Set turn_ip to my be the same as ip and turn_local_ip to be as the same as local_ip - I got an error Server - main Error while init TURN server! Failed to bind to: /the_external_ip:3478
[2] Remove both - The same as above
[3] Set them both to 0.0.0.0 - bind to 0.0.0.0 but not visible from outside
Few lines from the logs:
It seems that the TURN server failed to listen on port 3478 on the external interface.
I followed this document: https://docs.flashphoner.com/display/WCS52EN/TURN+server
My conf file:
Code:
# Config flashphoner.properties
# To get more settings:
# ssh -p 2001 admin@localhost
# default password: admin
# show node-settings
# show node-settings | grep port
#server ip
ip =external_ip
ip_local =internal_ip
#webrtc ports range
media_port_from =31001
media_port_to =32000
#codecs
codecs =opus,alaw,ulaw,g729,speex16,g722,mpeg4-generic,telephone-event,h264,vp8,flv,mpv
codecs_exclude_sip =mpeg4-generic,flv,mpv
codecs_exclude_streaming =flv,telephone-event
codecs_exclude_sip_rtmp =opus,g729,g722,mpeg4-generic,vp8,mpv
#websocket ports
ws.port =8080
wss.port =8443
client_mode=false
rtc_ice_add_local_component=true
turn_ip=external_ip
turn_ip_local=internal_ip
turn_port=3478
turn_password=coM77EMrV7Cwhyan
turn_media_port_from=36001
turn_media_port_to=37000
turn_media_ports_auditor_interval=5000
turn_media_ports_auditor_max_attempts=3
turn.server_channel_receive_buffer_size=1048576
turn.server_channel_send_buffer_size=1048576
[1] Set turn_ip to my be the same as ip and turn_local_ip to be as the same as local_ip - I got an error Server - main Error while init TURN server! Failed to bind to: /the_external_ip:3478
[2] Remove both - The same as above
[3] Set them both to 0.0.0.0 - bind to 0.0.0.0 but not visible from outside
Few lines from the logs:
Code:
14:40:53,569 INFO PluginManager - main Initialized plugin Plugin[type=SSHPlugin,interface=SSHPlugin]
14:40:53,569 INFO PluginManager - main Initialized plugin Plugin[type=SSHInlinePlugin,interface=CommandPlugin]
14:40:53,576 ERROR Server - main Error while init TURN server! Failed to bind to: /external_ip:3478
14:40:53,578 INFO SipTrunkConfig - main No sip trunk config, load default
14:40:53,578 INFO tchDogServerRegister - main Starting WatchDogServer ...