TCP support in RTP in ICE candidate

AK
ashish khowal
Fri, Nov 14, 2014 12:29 PM

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

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
BG
Bill Gardner
Fri, Nov 14, 2014 2:55 PM

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 1UDP 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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

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@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
AK
ashish khowal
Sat, Nov 15, 2014 7:39 AM

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@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 listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Regards
Ashish

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@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 listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- Regards Ashish
BG
Bill Gardner
Sat, Nov 15, 2014 6:02 PM

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@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@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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

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@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@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@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@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@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org