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

Paul Kyzivat <pkyzivat@alum.mit.edu> Wed, 06 November 2013 20:38 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 79BBF11E8159 for <rtcweb@ietfa.amsl.com>; Wed, 6 Nov 2013 12:38:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.437
X-Spam-Level:
X-Spam-Status: No, score=-0.437 tagged_above=-999 required=5 tests=[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 6Xe54dvGzR-0 for <rtcweb@ietfa.amsl.com>; Wed, 6 Nov 2013 12:38:44 -0800 (PST)
Received: from qmta09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:96]) by ietfa.amsl.com (Postfix) with ESMTP id 7857611E81B9 for <rtcweb@ietf.org>; Wed, 6 Nov 2013 12:38:44 -0800 (PST)
Received: from omta07.westchester.pa.mail.comcast.net ([76.96.62.59]) by qmta09.westchester.pa.mail.comcast.net with comcast id mJrg1m0041GhbT859Lek0a; Wed, 06 Nov 2013 20:38:44 +0000
Received: from dhcp-a6d1.meeting.ietf.org ([31.133.166.209]) by omta07.westchester.pa.mail.comcast.net with comcast id mLcZ1m00C4XQ1zz3TLcbAQ; Wed, 06 Nov 2013 20:36:42 +0000
Message-ID: <527AA850.3050807@alum.mit.edu>
Date: Wed, 06 Nov 2013 12:36:32 -0800
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: Justin Uberti <juberti@google.com>
References: <527420FF.2@alum.mit.edu> <CAOJ7v-2OjY0UYgDPk2WRLodKUYLytKGtV8HL84NujKfy64q7RQ@mail.gmail.com>
In-Reply-To: <CAOJ7v-2OjY0UYgDPk2WRLodKUYLytKGtV8HL84NujKfy64q7RQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1383770324; bh=50Mzdg1gYUEfnypAhoB5ngSwOZRCrjjeEdEDZ1CzJ3o=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=YnDoywopHjDRQKHd9yY1def0N6BL18QH6gtwQFXvlwn4c8AxLvQskz568H878BvOm e7RmWpIbhW5ysHtbMZxclAGC08LZpYQVtcAoGr6xQo+MFHP9DXBHPZbUkhNaF0Lkkc 8wcbp68jkm8plC0B7Z/wOm4BAFgm3jaDPfwTJHvhr02wtf2qcyS9MIASdpzwRGiUCY 0akIMhPSw0/QDrONiq26IlC51t9pv7WAKj2ecXfxkvC3gcoYC9iYKao8M8m7NAyWoz iPB8yd0gAC60AHSr9EWp2Z0+KnnPChl3orfULwV6CxtnDnFpxyO7PQlf7M8booGaBl WR3TumN9Ea3sg==
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
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: Wed, 06 Nov 2013 20:38:50 -0000

On 11/3/13 11:09 PM, Justin Uberti wrote:
>
> On Fri, Nov 1, 2013 at 2:45 PM, Paul Kyzivat <pkyzivat@alum.mit.edu
> <mailto:pkyzivat@alum.mit.edu>> wrote:
...
>     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.
>
> Yes. The text should state that more clearly.
>
>     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?
>
>
> The m= section will still have completed ICE negotiation, despite being
> marked as inactive. So the address/port information should already be
> present.

*Why* would you do this if there is no MediaStreamTrack and hence no 
possibility of using the port?

IOW, why not use port zero in these cases?

> I don't follow your question about who is managing RTCP.

It may be a misunderstanding on my part.

My thinking is that the MediaStreamTrack is a surrogate for the resource 
that manages the RTP/RTCP for that track. If so, then no track -> no RTCP.

Of course, with bundling, that resource gets spread across multiple 
MediaStreamTracks.

	Thanks,
	Paul