[Freeswitch-users] sip,js with no audio
anton vojlenko
anton.vojlenko at gmail.com
Wed Jun 10 17:27:01 MSD 2015
Hello,
Finally i managed to find the root cause of this issue. I forget to set up
a render for remote audio stream;)
Correct options set for audio only call should be the next:
var options = {
media: {
constraints: {
audio: true,
video: false
},
render: {
remote: document.getElementById('remoteAudio')
}
}
};
2015-06-09 11:51 GMT+03:00 anton vojlenko <anton.vojlenko at gmail.com>:
> Hello Michael,
> I investigated this issue a little bit deeper and find out that I have
> sound when i place a call through sip.js demo page(
> http://sipjs.com/demo-phone/), so problem is not on the FS side.
> Also I found next suspicious line in sip.js log:
>
> Tue Jun 09 2015 11:41:06 GMT+0300 (Финляндия (лето)) |
> sip.invitecontext.mediahandler | RTCIceChecking Timeout Triggered after
> 5000 micro seconds
>
> so i decided to roll back to the previous sip.js release(version 0.6.4).
> Right now ICE gathering is successful:
>
> Tue Jun 09 2015 11:45:24 GMT+0300 (Финляндия (лето)) |
> sip.invitecontext.mediahandler | emitting event iceCandidate
> sip-0.6.4.js:2680 Tue Jun 09 2015 11:45:24 GMT+0300 (Финляндия (лето)) |
> sip.invitecontext.mediahandler | ICE candidate received:
> candidate:2704395985 1 udp 2122260223 10.1.16.7 54008 typ host generation 0
> sip-0.6.4.js:2680 Tue Jun 09 2015 11:45:24 GMT+0300 (Финляндия (лето)) |
> sip.invitecontext.mediahandler | emitting event iceCandidate
> sip-0.6.4.js:2680 Tue Jun 09 2015 11:45:24 GMT+0300 (Финляндия (лето)) |
> sip.invitecontext.mediahandler | ICE candidate received:
> candidate:2704395985 2 udp 2122260222 10.1.16.7 54009 typ host generation 0
> sip-0.6.4.js:2680 Tue Jun 09 2015 11:45:24 GMT+0300 (Финляндия (лето)) |
> sip.invitecontext.mediahandler | emitting event iceCandidate
> sip-0.6.4.js:2680 Tue Jun 09 2015 11:45:24 GMT+0300 (Финляндия (лето)) |
> sip.invitecontext.mediahandler | ICE candidate received:
> candidate:4021432865 1 tcp 1518280447 10.1.16.7 0 typ host tcptype active
> generation 0
> sip-0.6.4.js:2680 Tue Jun 09 2015 11:45:24 GMT+0300 (Финляндия (лето)) |
> sip.invitecontext.mediahandler | emitting event iceCandidate
> sip-0.6.4.js:2680 Tue Jun 09 2015 11:45:24 GMT+0300 (Финляндия (лето)) |
> sip.invitecontext.mediahandler | ICE candidate received:
> candidate:4021432865 2 tcp 1518280446 10.1.16.7 0 typ host tcptype active
> generation 0
> sip-0.6.4.js:2680 Tue Jun 09 2015 11:45:26 GMT+0300 (Финляндия (лето)) |
> sip.invitecontext.mediahandler | emitting event iceCandidate
> sip-0.6.4.js:2680 Tue Jun 09 2015 11:45:26 GMT+0300 (Финляндия (лето)) |
> sip.invitecontext.mediahandler | ICE Gathering Completed
>
> , but still no sound.
>
> Any ideas?
>
> 2015-06-04 16:14 GMT+03:00 anton vojlenko <anton.vojlenko at gmail.com>:
>
>> Hello all,
>> I 'm using sip.js 0.7.0 and firefox 38.0.5, with this library i can
>> register with the freeswitch without any problem. Unfortunately after
>> successful SIP negotiation i receive no audio call.
>> I have the same issue with google chrome 43.0.2357.81.
>>
>> Here is full log for a problem call:
>> https://pastebin.freeswitch.org/24249
>>
>> Who can help me with this issue?
>>
>> Anton Vojlenko
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150610/2e3d17b2/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list