BelledonneCommunications / linphone-iphone

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of linphone-iphone (git://git.linphone.org/linphone-iphone.git)
http://linphone.org
GNU General Public License v3.0
588 stars 352 forks source link

Force to use TURN only #530

Closed SarunyuPrasert closed 1 week ago

SarunyuPrasert commented 5 years ago

Can i force a linphone library to use TURN only? I see an options in network settings but after I set ICE off and set TURN on and also add username, password then make a new outgoing call. I still get a candidate type in as host only, no relay in INVITE.

SarunyuPrasert commented 5 years ago

@ReisBenjamin Can you guide me how to force using it?

Muhammad-Ahad-Nawaz commented 5 years ago

I am also facing issue with Turn media relay posted issue here

SarunyuPrasert commented 5 years ago

@Viish Do you know how to force using it?

krishnastvSMSC commented 5 years ago

I am also facing the same issue. Disable the TURN and STUN at settings, stil getting ice candidates in the SDP packets. How to resolve this.

Thanks

basncy commented 4 years ago

linphone doe NOT send turn request, according to my turnserver log, so linphone only send type host to sip server, which cause rtp failed in symmetric NAT.

compaired with https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/, there is NO "IPv4. Local relay addr: XXXX:YYYY" in the turnserver logs.

sed '/^#/d' turnserver.conf |grep -vE "^[[:blank:]]*$"

relay-device=eth0 min-port=10000 max-port=19999 fingerprint lt-cred-mech user=myuser:mypass no-tcp no-tls no-dtls log-file=/var/log/turnserver/turn.log pidfile=/run/turnserver/turnserver.pid