cgs1999 / jain-sip

Automatically exported from code.google.com/p/jain-sip
0 stars 0 forks source link

Wrong local IP address in SDP offer #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi everyone,
I am sorry not to follow the template but I don't think that it would help much 
in this case.
The IP address in c line (and o and a=rtcp: line as well, for that matter) of 
the SDP offer contains wrong value when making a call from the 
MobicentsWebRTCPhone (which uses the JAIN-SIP javascript library). I have 
VMWare installed on my machine and I found out that the IP address in the SDP 
offer is set to the IP address of the VMWare's virtual interface. When making a 
simple call this is not an issue and I can hear audio and see video without 
problems. However, when I use the Medooze MCU and mixer and call into a 
conference I am not able to see the video coming from the mixer. When I disable 
the VMWare's virtual interface I can see the video as expected. 
I guess that it depends on the way how the function for retrieving localhost 
address is implemeted. I remember that I encountered very similar problems in 
Java when I wanted to get the correct IP address of local machine and the 
method InetAddress.getLocalHost() gave meaningless results.
If there is something that I can do to help yout to fix this problem please let 
me know.

Original issue reported on code.google.com by zukal.ma...@gmail.com on 13 May 2013 at 7:38

GoogleCodeExporter commented 9 years ago

Original comment by jean.deruelle on 13 May 2013 at 9:19

GoogleCodeExporter commented 9 years ago
Hello, 
Sorry for the response delay!:-(
If I understood your issue, for me this is an issue of the implementation of 
the WebRTC API of your web browser Chrome/Firefox) which retrieve @IP ICE 
candidates and build SDP offer/bnswer, but not from the MobicentsWebRTCPhone 
Web Application (or WebRTCComm framework or Jain-sip.js) which is only notified 
of SDP offer/answer.
Thanks 
Laurent  

Original comment by laurent.strullu.orange@gmail.com on 4 Jul 2013 at 12:24