Re: [rtcweb] draft-ietf-rtcweb-jsep-05 - Recycling m-lines

Paul Kyzivat <pkyzivat@alum.mit.edu> Fri, 01 November 2013 21:45 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 DED6C11E817E for <rtcweb@ietfa.amsl.com>; Fri, 1 Nov 2013 14:45:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.253
X-Spam-Level:
X-Spam-Status: No, score=-0.253 tagged_above=-999 required=5 tests=[AWL=0.184, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_NET=0.611, RDNS_NONE=0.1]
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 gZfsGQrN6y6J for <rtcweb@ietfa.amsl.com>; Fri, 1 Nov 2013 14:45:38 -0700 (PDT)
Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:211]) by ietfa.amsl.com (Postfix) with ESMTP id B648A11E8181 for <rtcweb@ietf.org>; Fri, 1 Nov 2013 14:45:35 -0700 (PDT)
Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA11.westchester.pa.mail.comcast.net with comcast id kCgC1m0080EZKEL5BMlbFT; Fri, 01 Nov 2013 21:45:35 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta01.westchester.pa.mail.comcast.net with comcast id kMlb1m0063ZTu2S3MMlbw3; Fri, 01 Nov 2013 21:45:35 +0000
Message-ID: <527420FF.2@alum.mit.edu>
Date: Fri, 01 Nov 2013 14:45:35 -0700
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: "rtcweb@ietf.org" <rtcweb@ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1383342335; bh=TrCGCl9Av0lEA8XOB7Peaie77f3Yzm0aowh9Hpvvqk0=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=dEpA+Be4MvSY69+PwqlrKDWdppe88Vpn33m/EGMpDlDmU+29xuO27ozBrs2Vw2cTV Q4fLf2OBiGxycxLCYMPRyElU+q+aAKXbDbrymHQokNpNurxtar48hO/tG/iJqPYVyv m76Juw1W2KcyxtHng+v+svOsCRDwqOOj2qyQVx9msGYhRyZziXK2KJusu9lm2CHK5o hHs1jIUh7cwl6iQk/ZP4fjxxsmdmh2IFgJyeyOwHKM4XetNmWnZNSP1utzI5+nqqsw /b8XYFhmWEAKBgbyA4Vb4oRQLgxiN+mZWjx5mWrxkDFt/SE/FGdX7rD62NMu3X/yDK R6n5dyc7IFtNQ==
Subject: Re: [rtcweb] draft-ietf-rtcweb-jsep-05 - Recycling m-lines
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, 01 Nov 2013 21:45:44 -0000

Section 5.2.2 (Subsequent Offers) says:

    o  If a m= section was rejected, i.e. has had its port set to zero in
       either the local or remote description, it MUST remain rejected
       and have a zero port in the new offer, as indicated in RFC3264,
       Section 5.1.

That 3264 reference is to a section about the initial offer, and so is 
irrelevant to the case. The relevant section is:

    8.1 Adding a Media Stream

    New media streams are created by new additional media descriptions
    below the existing ones, or by reusing the "slot" used by an old
    media stream which had been disabled by setting its port to zero.

IOW, previously rejected m-lines may be recycled.

Later in 5.2.2:

    o  If a m= section exists in the current local description, but has
       its state set to inactive or recvonly, and a new MediaStreamTrack
       is added, the previously existing m= section MUST be recycled
       instead of creating a new m= section.  [OPEN ISSUE: Nail down
       exactly what this means.  Should the codecs remain the same?
       (No.)  Should ICE restart?  (No.)  Can the "a=mid" attribute be
       changed?  (Yes?)]

This seems to assume that there is no existing MediaStreamTrack for 
these m-lines.

If there is, then
- the m-line shouldn't be recycled.
If there isn't, then
- where do its address and port come from?
- what is managing the RTCP?

	Thanks,
	Paul