Re: [pntaw] Real-time media over TCP

"Parthasarathi R" <> Mon, 07 October 2013 18:06 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id CDE2821E81B4 for <>; Mon, 7 Oct 2013 11:06:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -0.776
X-Spam-Status: No, score=-0.776 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, IP_NOT_FRIENDLY=0.334]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id khEJ6eVve43u for <>; Mon, 7 Oct 2013 11:06:41 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 9374411E8103 for <>; Mon, 7 Oct 2013 11:06:41 -0700 (PDT)
Received: from userPC (unknown []) (Authenticated sender: by (Postfix) with ESMTPA id ED23B6395DF; Mon, 7 Oct 2013 18:06:34 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120823; t=1381169200; bh=GvWYZqJ6G4ASJXN6RtjjjshMN3xuYlmVKHOrJXDvTz0=; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; b=RrYf0+B0C2N98vRu4qQkFPUpwE5TqrUSVUKavT+QrTV3fYc48bBi8Mv+tVB+YDfXQ l00v0tlslmGXPIjZq7/TBVgSbBn2msgEjmgBRSk8GW3vpIM7VEfP5ao0tD34EYlO/G hyKzj05+F3j5c/edDtWrkuJIcRwx4py5nt3hdpf8=
From: "Parthasarathi R" <>
To: "'Dan Wing'" <>, "'Harald Alvestrand'" <>, "'Bernard Aboba'" <>
References: <> <> <BLU405-EAS183E36A927CA42270B6936D93300@phx.gbl> <> <> <> <>
In-Reply-To: <>
Date: Mon, 7 Oct 2013 23:36:32 +0530
Message-ID: <00ca01cec387$f881cae0$e98560a0$>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac6o4pXSw23jvZ0+Qrq30/A+rEnOQgaoU8bg
Content-Language: en-us
X-CTCH-RefID: str=0001.0A020206.5252F82F.01AE, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
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
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: Mon, 07 Oct 2013 18:06:46 -0000

Hi all,

RTP over TCP is unavoidable in case of RTCWeb media traffic has to traverse
through UDP blocking firewalls. TCP candidates with ICE (RFC 6544) may fail
due to the current OS implementation wherein TCP simultaneous Open will not

I have concern w.r.t TURN server as it introduces one extra network element
for RTCWeb session establishment. The current argument favoring for TURN
server is that RTP over TCP is required only till TURN server whereas the
media traffic between TURN server and the destination is UDP. In couple of
WebRTC deployment in Service provider network and Enterprise network, TURN
server will exist near to the destination and the WebRTC media traffic in
the internet is "RTP over TCP". I guess that Victor scenario falls under the
same category. In these deployment, RTP over TCP has advantage over TURN
over TCP as the extra element shall be avoided. 

Also, SCTP over DTLS over UDP will not work in case of RTCWeb media traffic
has to traverse through UDP blocking firewalls. So, there is a need of SCTP
over DTLS over TCP or multipath TCP kind of transport to meet this
requirement which needs separate discussion. 


> -----Original Message-----
> From: [] On Behalf
> Of Dan Wing
> Sent: Wednesday, September 04, 2013 1:47 AM
> To: Harald Alvestrand
> Cc: Bernard Aboba;
> Subject: Re: [pntaw] Real-time media over TCP
> On Sep 3, 2013, at 11:11 AM, Harald Alvestrand <>
> wrote:
> > On 09/03/2013 07:25 PM, Dan Wing wrote:
> >>> Multiple TCP connections seems like a suboptimal design, given the
> existence of other solutions like Minion or SCTP.
> >> Sure.  But those technologies weren't on the table when Victor did
> interactive audio/video over TCP, I'm sure.  Much like they weren't on
> the table when HTTP started doing multiple TCP connections back in the
> early days of Netscape.
> >
> > Victor didn't provide a date, so I was thinking "recently" - SCTP is
> 10 years old at this point.
> SCTP has been around a long time as a protocol but for a variety of
> reasons has seen no deployment on the Internet to date, including no
> availability in the mainstream OSs which is everyone's interest.  SCTP-
> over-UDP was only recently defined and its user-mode release was only
> 12 or 18 months ago or so.
> > Minion is newer than that, of course.
> >>
> >>> If both sides have TURN over TCP (or TURN over HTTP) enabled, and
> their respective TURN servers can talk UDP to each other, communication
> will occur, I think. I don't think we need to add TCP candidates for
> the TURN case in order to bypass firewalls.
> >>>
> >>> We might want to do so for the benefit of the pure peer-to-peer
> case, but I'm not sure it's a case that's important enough to make 6062
> (TURN TCP allocations) or 6544 (ICE TCP allocations, no TURN server)
> into MUSTs for RTCWEB.
> >> I agree.  Additionally, before anyone ventures too far down that
> path it would be useful to understand how well the expected RTCWeb
> endpoints could do peer-to-peer TCP connections.  Reliable peer-to-peer
> TCP needs TCP simultaneous open needs to work well on both hosts, per
> the research by Saikat Guha and Paul Francis
> f.  In that research, they found Windows XP SP1 doesn't do simultaneous
> open well, but Windows XP with SP2 and SP3 and Linux worked okay.  I
> have not seen similar research for Android, OS X, or Windows 7 or
> Windows 8.
> > Indeed; that article seemed to indicate that the brand of NAT you
> bought was a decisive factor - it would be interesting to see if the
> state of the art has become more or less symmetric-TCP hostile in the
> intervening 8 years.
> -d
> _______________________________________________
> pntaw mailing list