Re: [rtcweb] Reasons (not?) to multiplex audio with video

Ross Finlayson <finlayson@live555.com> Tue, 26 July 2011 20:55 UTC

Return-Path: <rsf@ns.live555.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C01D021F867F for <rtcweb@ietfa.amsl.com>; Tue, 26 Jul 2011 13:55:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.369
X-Spam-Level:
X-Spam-Status: No, score=-1.369 tagged_above=-999 required=5 tests=[AWL=0.630, BAYES_00=-2.599, J_CHICKENPOX_55=0.6]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aN9F0zyuSNXM for <rtcweb@ietfa.amsl.com>; Tue, 26 Jul 2011 13:55:46 -0700 (PDT)
Received: from ns.live555.com (ns.live555.com [4.79.217.242]) by ietfa.amsl.com (Postfix) with ESMTP id 22D1321F861E for <rtcweb@ietf.org>; Tue, 26 Jul 2011 13:55:46 -0700 (PDT)
Received: from ns.live555.com (localhost.live555.com [127.0.0.1]) by ns.live555.com (8.14.4/8.14.4) with ESMTP id p6QKtj0v090719 for <rtcweb@ietf.org>; Tue, 26 Jul 2011 13:55:45 -0700 (PDT) (envelope-from rsf@ns.live555.com)
Received: (from rsf@localhost) by ns.live555.com (8.14.4/8.14.4/Submit) id p6QKtjmU090716; Tue, 26 Jul 2011 13:55:45 -0700 (PDT) (envelope-from rsf)
Mime-Version: 1.0
Message-Id: <f06240801ca54cb571321@[66.80.62.44]>
In-Reply-To: <4E2D5C5D.6060402@alvestrand.no>
References: <4E123C54.10405@jdrosen.net> <8785C0A3-31E5-44D7-8557-3BEEE4F95E3D@skype.net> <4E2D5C5D.6060402@alvestrand.no>
Date: Tue, 26 Jul 2011 16:55:32 -0400
To: rtcweb@ietf.org
From: Ross Finlayson <finlayson@live555.com>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Subject: Re: [rtcweb] Reasons (not?) to multiplex audio with video
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2011 20:55:46 -0000

When I first started thinking about the 'multiplexing' question, I 
tended to support Colin's point-of-view.  Carrying audio and video on 
separate ports gives a system more flexibility, is compatible with 
existing implementations (including mine :-), and is in line with 
long-standing assumptions about the use of the SSRC, RTCP etc.

But over time I have become increasingly sympathetic to Jonathan's 
arguments - especially regarding NAT traversal - in particular, setup 
time, use of resources (# of ports), and failure modes.  We have to 
assume that many, if not most users of RTCWEB systems will be on 
unsophisticated, heavily NATed IPv4 home (or hotel, or coffee shop 
etc.) networks.  As IPv4 addresses become scarcer, this situation 
will likely only get worse.

However, as someone noted (in the context of "security") during 
today's RTCWEB session, we're not the first people to be designing a 
(hopefully) widely-deployed consumer-oriented peer-to-peer A/V chat 
system.  There are several existing systems out there, so it might be 
instructive to look at how they address the 'media multiplexing' 
issue - in particular:

1/ Apple's "FaceTime".  OK, this is not browser-based (although with 
a bit of work it probably could have been), but it does use RTP.  Is 
it using separate ports for audio and video (and two more for RTCP)? 
If so, has NAT traversal been a problem, and would it have been 
beneficial to have been able to reduce the number of ports used?  (Is 
Dave Singer on this mailing list?)

2/ Facebook's new video chat.  OK, this uses Skype, and thus 
presumably not RTP (at least, not now).  But does this multiplex 
audio+video on a single port?  (And if so, did this help motivate 
Jonathan's point-of-view?)

3/ Google Plus "Hangouts".  Similar question to 1/.

4/ Any others (whether RTP-based or not)?

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/