BelledonneCommunications / liblinphone

Linphone.org mirror for liblinphone (git://git.linphone.org/liblinphone.git)
http://linphone.org
GNU Affero General Public License v3.0
381 stars 219 forks source link

Unable to make successful video calls #12 #148

Open nzkar opened 4 years ago

nzkar commented 4 years ago

Hi, I'm using linphone-android downloaded from Google Play. If I register two phones to sip.linphone.org, they can make successful video calls. However if I register them to my own sip server, the call is initiated but the devices cannot send audio/video to each other. When I captured their pcap with Wireshark, I see that inside sip message "Invite", sdp's connection ip is send as local ip even though my phone is not in the local network and it registers with its nat ip. And when I disable video and only make an audio call, the sdp's connection ip is send as real ip. Can you explain the reason behind this? Probably this is the reason why I cannot make successful video calls. Audio and video cannot be transferred to the real ip.

On the other hand, I think the reason why it works with sip.linphone.org is, in sdp there are 3 connection ip's sent. First connection ip is local ip however it writes its real ip on the "Connection Information" lines right after the "Media Descryption:audio" and "Media Descryption:video" lines. These 2 lines are never sent in invite messages to my own sip server. I guess you behave differently when linphone sip server is used.

JinFuLai commented 4 years ago

@nzkar I got the same issue. Do you have any solution for this one?

Thanks

Frank

nzkar commented 4 years ago

@JinFuLai No, not yet unfortunately.