Re: [rtcweb] [MMUSIC] Is bundle just a port override?

worley@ariadne.com (Dale R. Worley) Fri, 22 March 2013 19:29 UTC

Return-Path: <worley@shell01.TheWorld.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 E12BD21F900D for <rtcweb@ietfa.amsl.com>; Fri, 22 Mar 2013 12:29:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.83
X-Spam-Level:
X-Spam-Status: No, score=-1.83 tagged_above=-999 required=5 tests=[AWL=-1.050, BAYES_00=-2.599, J_BACKHAIR_55=1, J_CHICKENPOX_14=0.6, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_LOW=-1, RCVD_IN_SORBS_WEB=0.619]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XkGxVWDItrMt for <rtcweb@ietfa.amsl.com>; Fri, 22 Mar 2013 12:29:05 -0700 (PDT)
Received: from TheWorld.com (pcls2.std.com [192.74.137.142]) by ietfa.amsl.com (Postfix) with ESMTP id 4778321F8E7F for <rtcweb@ietf.org>; Fri, 22 Mar 2013 12:29:05 -0700 (PDT)
Received: from shell.TheWorld.com (svani@shell01.theworld.com [192.74.137.71]) by TheWorld.com (8.14.5/8.14.5) with ESMTP id r2MJShWs016761; Fri, 22 Mar 2013 15:28:46 -0400
Received: from shell01.TheWorld.com (localhost.theworld.com [127.0.0.1]) by shell.TheWorld.com (8.13.6/8.12.8) with ESMTP id r2MJShVW956659; Fri, 22 Mar 2013 14:28:43 -0500 (EST)
Received: (from worley@localhost) by shell01.TheWorld.com (8.13.6/8.13.6/Submit) id r2MJShtu960817; Fri, 22 Mar 2013 15:28:43 -0400 (EDT)
Date: Fri, 22 Mar 2013 15:28:43 -0400
Message-Id: <201303221928.r2MJShtu960817@shell01.TheWorld.com>
From: worley@ariadne.com
Sender: worley@ariadne.com
To: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
In-reply-to: <3879D71E758A7E4AA99A35DD8D41D3D90F6951B8@xmb-rcd-x14.cisco.com> (mzanaty@cisco.com)
References: <3879D71E758A7E4AA99A35DD8D41D3D90F6942C3@xmb-rcd-x14.cisco.com> <514829CE.4010004@alvestrand.no> <3879D71E758A7E4AA99A35DD8D41D3D90F694591@xmb-rcd-x14.cisco.com> <51489A43.3030109@jitsi.org> <3879D71E758A7E4AA99A35DD8D41D3D90F69476F@xmb-rcd-x14.cisco.com> <201303191936.r2JJakU4763611@shell01.TheWorld.com> <3879D71E758A7E4AA99A35DD8D41D3D90F6951B8@xmb-rcd-x14.cisco.com>
Cc: rtcweb@ietf.org, mmusic@ietf.org
Subject: Re: [rtcweb] [MMUSIC] Is bundle just a port override?
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: Fri, 22 Mar 2013 19:29:06 -0000

> From: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
> 
> Your bundle alternatives (and Richard's) also work fine with a simple
> attribute without complex grouping semantics.
> 
> Offer to mux audio and video on the same port:
> m=audio 10000 RTP/AVP 0
> m=video 10002 RTP/AVP 31
> a=port 10000
> i=I really want 10000, but lied on the m-line for fear of confusing
>     you. Confused yet?
>  
> Answer supports the port override attribute and agrees to mux audio and video:
> m=audio 40000 RTP/AVP 0
> m=video 0 RTP/AVP 31         <-- Dale's variant to answer with port 0
> a=port 40000
> ...so audio and video ports are 10000<->40000.

Well, the analysis depends on exactly how "a=port" works.

Option 1A:  "a=port" specifies the port number for the packets.

The difficulty with this is that, at the time the offer is made, we
don't actually know what port number (or IP address) will be used,
because (commonly) ICE will be used to negotiate the transport
association, and "a=port" doesn't provide any way to specify ICE
candidates.

Worse, we don't want the video m= line to have perform an ICE
negotiation regarding "port 40000", we want the video m= line to
utilize the *same* ICE negotiation that the audio m= line will have.

So what we really want "a=port" to do is:

Option 1B:  "a=port" is a pointer to another media description, and the
packets from this media description will be multiplexed on the
transport association for the other media description.

That is, it's an indirection mechanism.  The question is how to
organize the indirection?  And the most pleasant choice is to use the
grouping mechanism that we already have.

Once we've decided that media descriptions should have a pointer to
another media description that will carry its packets if bundling is
negotiated, there are two main choices:

Option 2A:  One of the constituent media descriptions, the "master",
will be used to carry the bundled media.

Option 2B:  There is a separate "bundle" media description that
describes the bundled media.

2B has the advantage that it allows presenting an SDP description for
the bundle transport flow *as a whole*, while still presenting an SDP
description for each of the constituent media descriptions.  Otherwise
it becomes difficult to, for instance, specify the bandwidth or QoS of
the "master" constituent media flow independently of the bandwidth or
QoS of the entire bundle media flow.

Dale