I am trying to integrate Sinch in one of our projects.
I am trying to call from WEB to ANDROID app..
The connection is getting successfully established. But no video is displayed and also call is getting disconnected automatically in 9 to 10 secs...
This is not happening when I am calling from Android App to Web..
I am following code from their Docs for Video Calling.
Log for call:
Notification { progress=0, message="Successfully added proxy ICE candidate", object=mozRTCIceCandidate}
Notification { progress=0, message="Successfully sent JOINED", object=g}
Notification { progress=0, message="Call changing state to ESTABLISHED", object=undefined}
Notification { progress=0, message="Call was un-muted using unmute().", object=undefined}
Notification { progress=0, message="WebRTC: Connection state changed", object=Event iceconnectionstatechange}
Error { name="SinchError", domain=-1, code=1001, more...} // code: 1001, domain: -1, message: "Ice connection failed. Hanging up call!"
Notification { progress=0, message="Call HANGUP Received", object=undefined}
-- ICE failed, see about:webrtc for more details
MXPLog { message="Added meta data to MXP message", object=r}
MXPLog { message="Identified Encoding Key", object=r}
MXPLog { message="Split message into frames as needed", object=r}
MXPLog { message="Identified Tx Channels", object=r}
MXPLog { message="Transmitting [channel, frame]", object=[2]}
Notification { progress=0, message="WebRTC: Connection state changed", object=Event iceconnectionstatechange}
Notification { progress=0, message="WebRTC: Signaling state change", object=Event signalingstatechange}
Why I am getting Ice connection failed. Hanging up call!
error..??
I am using Mozilla Firefox to test functionality...
Thanks in advance for your help. I am stuck here...