Re: [pntaw] Real-time media over TCP

"Parthasarathi R" <> Sat, 09 November 2013 09:56 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 2713011E8176 for <>; Sat, 9 Nov 2013 01:56:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.881
X-Spam-Status: No, score=-1.881 tagged_above=-999 required=5 tests=[AWL=0.383, BAYES_00=-2.599, HTML_MESSAGE=0.001, IP_NOT_FRIENDLY=0.334]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 69CrRQiCVqq0 for <>; Sat, 9 Nov 2013 01:56:11 -0800 (PST)
Received: from ( []) by (Postfix) with ESMTP id 7101E21F9FA5 for <>; Sat, 9 Nov 2013 01:56:11 -0800 (PST)
Received: from userPC (unknown []) (Authenticated sender: by (Postfix) with ESMTPA id DBBD01908638; Sat, 9 Nov 2013 09:55:55 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120823; t=1383990961; bh=ZvhBZ0qF/HbAmr5b6qYrfEsRdTCmbMGgIu0Z/Hvm++c=; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=c3uK7rZCBJHhtq3EHWCbzy2xRT4jjqNRLRyCi3C0AfDp4FI4vTMNYKbfNtG/J/9qf d/ZDv+QMPlYUrvT6bMGSeT5AymLG7Ss+mjmQCee8FLh6UeVxHt9uV8tjXdSJ85eh5J amYqqZlhndpEpcHtcznacczlXN5cB70nx4uxOToY=
From: "Parthasarathi R" <>
To: "'Justin Uberti'" <>, <>
References: <> <00ca01cec387$f881cae0$e98560a0$> <BLU406-EAS274696C3D9DFE505F96B8E393130@phx.gbl> <004201cec44f$381a47f0$a84ed7d0$> <> <003b01cec511$27e1abe0$77a503a0$> <> <> <004e01cec5df$cf8daaf0$6ea900d0$> <> <> <BLU402-EAS357ECBFC621A567B9D3A7B4931A0@phx.gbl> <> <00d401cec90e$d688d5a0$839a80e0$> <> <> <> <> <000801cecdae$f6713160$e3539420$> <CAOJ7v-3W7Kj_Bn7pTPs+ =-wPZRSvC1DzAHB9=2cnK8> <> <>
In-Reply-To: <>
Date: Sat, 9 Nov 2013 15:25:44 +0530
Message-ID: <008801cedd31$e0031f00$a0095d00$>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0089_01CEDD5F.F9BB5B00"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac7c7v552e5iBh0NReqMKMHPmDVfkQAQa2uw
Content-Language: en-us
X-CTCH-RefID: str=0001.0A020201.527E06B1.006E, ss=1, re=0.100, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.100
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-CTCH-SenderID-TotalMessages: 1
X-CTCH-SenderID-TotalSpam: 0
X-CTCH-SenderID-TotalSuspected: 0
X-CTCH-SenderID-TotalBulk: 0
X-CTCH-SenderID-TotalConfirmed: 0
X-CTCH-SenderID-TotalRecipients: 0
X-CTCH-SenderID-TotalVirus: 0
X-CTCH-SenderID-BlueWhiteFlag: 0
X-Scanned-By: MIMEDefang 2.72 on
Cc: 'Harald Tveit Alvestrand' <>,
Subject: Re: [pntaw] Real-time media over TCP
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion list for practices related to proxies, NATs, TURN, and WebRTC" <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Sat, 09 Nov 2013 09:56:16 -0000

Hi Justin,  Markus & all,


It is good to know that conference server usecase as well for ICE-TCP usage. I think that it is better to request for adding conference/IVR Server/Gateway with firewall usecases explicitly in the RTCWeb usecase & requirement document in case there is no other objection in this mail thread.





From: [] On Behalf Of Justin Uberti
Sent: Saturday, November 09, 2013 7:27 AM
Cc: Harald Tveit Alvestrand;; Parthasarathi R
Subject: Re: [pntaw] Real-time media over TCP




On Fri, Nov 8, 2013 at 3:58 PM, <> wrote:

Hi Justin,


It’s great to hear that at least one browser will be able to do ICE-TCP. It is an optimization, but definitely a useful one for certain central server and gateway situations. I have heard also from other service/gateway providers that they want to avoid the TURN-TCP “hop” for the same reasons you state. After listening to them, I’d say ICE-TCP ought to be rather a “SHOULD” instead of “MAY” in the RTCWeb NAT traversal framework.  


Sounds good. 


I suppose that when real-time media runs over TCP, it is in general best to avoid bundling, but to run the different medias over separate TCP connections. That way a single lost packet only affects the rate of one of the medias instead of the aggregate. 


That is an interesting idea, but I think it is probably difficult to make work because the BUNDLE decision happens separately from ICE candidate pair selection.


I think what we really want is some sort of multi-TCP transport, where we can open several simultaneous TCP connections and rotate between them. Or maybe a Minion TCP-based approach. These would have their own issues, but be conceptually simpler.


I wonder if you already have a plan in Chrome if and how to deal with HTTP (and TLS) restricted firewalls. Are you OK with the idea of connecting to a TURN server with HTTP CONNECT, or do you see some issues with that?  


We already use HTTP CONNECT with ICE-TCP, TURN-TCP, and TURN-TLS. It works. 





From: [] On Behalf Of ext Justin Uberti
Sent: 09 November, 2013 01:33
To: Parthasarathi R
Cc: Harald Alvestrand;

Subject: Re: [pntaw] Real-time media over TCP


FWIW: we use ICE-TCP to connect to a conferencing server, instead of TURN-TCP, to avoid the extra TURN hop and the whole TURN credentials business. It's an optimization for sure, but a useful one.


I don't think ICE-TCP will be all that useful for P2P connectivity in the near future. The scenarios that require ICE-TCP are the exact ones where simultaneous open will probably be impossible.


On Sun, Oct 20, 2013 at 9:10 AM, Parthasarathi R <> wrote:

Hi Harald & all,

I agree that ICE-TCP qualifies for "MAY" requirement in case both browsers
are behind firewall. ICE-TCP is good for usecase wherein only one of the
browsers is behind firewall. Existing WebRTC usecase namely FedEx call is
good example for only one browser behind firewall wherein IVR is not going
to be behind UDP blocking firewall. In those usecases, ICE-TCP candidates
has merits over TURN relay candidates. IMO, ICE-TCP MUST be considered.

The current WebRTC FW usecase is (accidentially) inline with one of the
browser behind firewall scenario as mentioned in sec of

"The difference is that one of the users is behind a NAT that blocks UDP


> -----Original Message-----
> From: [] On Behalf

> Of Harald Alvestrand
> Sent: Wednesday, October 16, 2013 5:33 PM
> To:
> Subject: Re: [pntaw] Real-time media over TCP
> On 10/15/2013 06:15 PM, Dan Wing wrote:
> > On Oct 14, 2013, at 11:02 PM, Tirumaleswar Reddy (tireddy)
> <> wrote:
> >
> >>> -----Original Message-----
> >>> From: [] On
> Behalf Of Dan
> >>> Wing (dwing)
> >>> Sent: Tuesday, October 15, 2013 5:31 AM
> >>> To:
> >>> Cc:;
> >>> Subject: Re: [pntaw] Real-time media over TCP
> >>>
> >>>
> >>> On Oct 14, 2013, at 12:06 PM, wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> In practice I doubt you find many situations where UDP is
> completely blocked
> >>> but incoming TCP connections from anywhere are allowed.
> >>>
> >>> Agreed.
> >>>
> >>> But if both ends are trying to communicate with each other, their
> >>> communications will appear as a TCP simultaneous-open.  That could
> (in fact,
> >>> "should") work across a firewall because the firewall will see an
> outbound SYN
> >>> to a host/port after which it will see an inbound SYN from that
> same
> >>> host/port.
> >> But firewall TCP inspection causes the inbound SYN from the same
> host/port to be dropped (Firewalls typically do not permit TCP
> simultaneous-open). Even with NAT as per the survey results in ICE TCP
> ( TCP simultaneous-open
> worked only in roughly 45% of the cases.
> > If avoiding TURN improves the user experience, and IT policy says TCP
> is allowed, I expect firewall vendors would make sure TCP simultaneous
> open works.
> >
> >
> If something improves the user experience if it is possible to do it,
> but the basic functionality works without it, and it's unclear whether
> the special circumstances under which it's going to improve the user
> experience in fact exist in the field, I think that's perfect for a MAY
> implement.
> _______________________________________________
> pntaw mailing list

pntaw mailing list