ChallyCai/webrtc2sip

asterisk 11.2.1+sipml5+webrtc2sip - No audio in chrome, audio available in firefox

Opened this issue · 1 comments

What steps will reproduce the problem?
1.Register extension and call to a demo extension in asterisk,which plays an 
audio file
2.In firefox everything is fine and audio is heard
3.In chrome no audio, but call is set up

What is the expected output? What do you see instead?

In chrome, i see an error "Failed to set remote answer sdp: Failed to push down 
transport description: Invalid ice-ufrag or ice-pwd length". But I think (not 
sure) the error is caused because webrtc2sip responds with UDP/TLS/RTP/SAVPF 
instead of RTP/SAVPF, from my understanding(from the threads i have gone 
through). I also get this error frequently in webrtc2sip info log : 

"*INFO: Audio producer not started yet"

during the call and it appears many times.
------------------------------------------------
What version of the product are you using? On what operating system?

Asterisk 11.2.1 on CentOS release 6.3 (Final) --> hosted as an amazon ec2 
instance 54.xxx.xxx.xxx
webrtc2sip 2.5.0 on Ubuntu 12.04.5 LTS -- hosted as another amazon ec2 instance 
54.yyy.yyy.yyy

Chrome : 42.0.2311.90 (64-bit)
Firefox : 37.0.1

I used the following to setup webrtc2sip

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:autostatic/doubango
sudo apt-get update
sudo apt-get install webrtc2sip

from the thread https://groups.google.com/forum/#!topic/doubango/2lGEXzdzMwQ as 
https://code.google.com/p/doubango/wiki/Building_Source_v2_0 was not working 
for me. webrtc2sip was not detecting my doubango installation, even when i 
tried with --with-doubango=/path/to/doubango option.

------------------------------------------------

Please provide server logs with DEBUG level equal to INFO

attachment webrtc2sip.log

Please provide browser logs

Chrome log :

attachment : chrome.log

Firefox logs:
 attachment: firefox.log

webrtc2sip config.xml

attachment: webrtc2sip_config.xml

Original issue reported on code.google.com by Sachin.d...@gmail.com on 16 Apr 2015 at 3:09

Attachments:

^^^^^^ The webrtc2sip logs were taken when chrome was connected

Original comment by Sachin.d...@gmail.com on 16 Apr 2015 at 3:11