two way streaming - ICS timeout error

akshaygupta

New Member
Hello All,

We are trying to test two way streaming with WCS and not able to connect because of error - ICS timeout while publishing local user

flashphoner.properties


# 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 =10.1.1.XXX
ip_local =10.1.1.XXX

#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

ice_tcp_transport=true
ice_tcp_send_buffer_size=1048576
ice_tcp_receive_buffer_size=1048576

ice_tcp_channel_high_water_mark=52428800
ice_tcp_channel_low_water_mark=5242880
client_log_level=DEBUG
======================================================================================================
error log
ssionId":"f6b879d0-5a5f-11eb-9eff-2ff0ff2ae8a2","name":"d928","published":true,"hasVideo":true,"hasAudio":true,"status":"FAILED
","audioCodec":"opus","info":"Failed by ICE timeout","record":false,"width":0,"height":0,"bitrate":0,"minBitrate":0,"maxBitrate
":0,"quality":0,"history":false,"gop":0,"fps":0,"audioBitrate":0,"codecImpl":"","transport":"TCP","cvoExtension":false,"createD
ate":1611065380455,"mediaType":"publish","mediaProvider":"WebRTC","origin":"https://dns.name.com"}
14:09:55,901 INFO RestClient - API-ASYNC-pool-13-thread-1 RECEIVED REST OBJECT <==
URL:http://localhost:8081/apps/EchoApp/StreamStatusEvent
OBJECT:
{
"nodeId" : "iwNVjqIyYqwTih8PSRvRkM7yCJCzfT1y@10.0.1.137",
"appKey" : "defaultApp",
"sessionId" : "/117.222.61.15:60930/10.0.1.137:8443-b2747068-83a0-4e41-8030-39656d044a88",
"mediaSessionId" : "f6b879d0-5a5f-11eb-9eff-2ff0ff2ae8a2",
"name" : "d928",
"published" : true,
"hasVideo" : true,
"hasAudio" : true,
"status" : "FAILED",
"audioCodec" : "opus",
"info" : "Failed by ICE timeout",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"minBitrate" : 0,
"maxBitrate" : 0,
"quality" : 0,
"history" : false,
"gop" : 0,
"fps" : 0,
"audioBitrate" : 0,
"codecImpl" : "",
"transport" : "TCP",
:
 

Max

Administrator
Staff member
ip =10.1.1.XXX

here you have to set global ip address
your server should be visible on this address, i.e. ping 101.101.102.102
 

akshaygupta

New Member
I am unable to ping 101.101.102.102 from my Azure machine as well tried from local desktop

I am still confused what to set in
ip and ip_local
As I am having only two ip address of Azure instance one is private ip and other is public
 

Max

Administrator
Staff member
Correct. If you are on Azure machine (the same case on Amazon AWS), you have private IP, i.e. 172.16.1.10 and public ip i.e. 101.101.102.102
In such a case you have to set

ip=101.101.102.102
ip_local=172.16.1.10

then restart webcallserver to apply changes
 
Top