TCP support in RTP in ICE candidate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can't remember if enabling TCP forces TCP. I think it uses TCP only when UDP is blocked. I was suggesting using firewall rules to block UDP. 

Sent from my iPhone

> On Nov 15, 2014, at 12:39 AM, ashish khowal <aashishkhowal at gmail.com> wrote:
> 
> Hi Bill,
> 
> Can you please let me know how you did it. as I tried your suggestion in the initially but with no luck. It will be great if you let me know the exact commands you used for the same on client -server.
> 
> Also I tried Registration with TCP but its causing issue.
> 
> Regards
> Ashish
> 
>> On Fri, Nov 14, 2014 at 8:25 PM, Bill Gardner <billg at wavearts.com> wrote:
>> TCP to turn relay definitely works using pjsua, at least it did years ago when I tested it. Try blocking the UDP ports and see if ICE negotiates TCP. - Bill
>> 
>> 
>>> On 11/14/2014 7:29 AM, ashish khowal wrote:
>>> Hi all,
>>> 
>>> I am using PJSUA as client application for ICE and not able to get TCP as transport in ice candidate , its getting UDP like this
>>> 
>>> 
>>> a=candidate:Ra2c3735 1 UDP 16777215 10.44.55.53             49794 typ relay raddr 10.44.54.86 rport 4037
>>> 
>>> I have tried the command as:
>>> ./pjsua-x86_64-unknown-linux-gnu  --use-turn --use-ice --turn-tcp --turn-srv=10.44.55.53;transport=tcp
>>> 
>>> ./pjsua-x86_64-unknown-linux-gnu  --use-turn --use-ice --turn-tcp --turn-srv=10.44.55.53;
>>> -- 
>>> 
>>> While for server application I used
>>> 
>>> ./pjsua-x86_64-unknown-linux-gnu  --use-turn  --turn-tcp 
>>> 
>>> Also I am not getting any packet related to tcp on server application as seen on wireshark. Is anything wrong here??
>>> 
>>> I have turn server for relaying purpose. Can anyone help me in knowing if there is support of TCP for ICE??
>>> 
>>> I got this link but its quite old
>>> 
>>> http://permalink.gmane.org/gmane.comp.voip.pjsip/11146
>>> 
>>> Regards
>>> Ashish
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Visit our blog: http://blog.pjsip.org
>>> 
>>> pjsip mailing list
>>> pjsip at lists.pjsip.org
>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> 
>> 
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>> 
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 
> 
> 
> -- 
> Regards
> Ashish
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141115/6112ce3e/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux