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

Paul Kyzivat <pkyzivat@alum.mit.edu> Thu, 07 November 2013 06:22 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 78B0D21E8090 for <rtcweb@ietfa.amsl.com>; Wed, 6 Nov 2013 22:22:07 -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 gT3B83nkPehy for <rtcweb@ietfa.amsl.com>; Wed, 6 Nov 2013 22:22:01 -0800 (PST)
Received: from qmta15.westchester.pa.mail.comcast.net (qmta15.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:228]) by ietfa.amsl.com (Postfix) with ESMTP id 850C821E8064 for <rtcweb@ietf.org>; Wed, 6 Nov 2013 22:22:01 -0800 (PST)
Received: from omta10.westchester.pa.mail.comcast.net ([76.96.62.28]) by qmta15.westchester.pa.mail.comcast.net with comcast id mWK31m0030cZkys5FWN1TY; Thu, 07 Nov 2013 06:22:01 +0000
Received: from dhcp-9448.meeting.ietf.org ([31.133.148.72]) by omta10.westchester.pa.mail.comcast.net with comcast id mWKt1m0031ZxU2f3WWKv0a; Thu, 07 Nov 2013 06:19:59 +0000
Message-ID: <527B3109.7050705@alum.mit.edu>
Date: Wed, 06 Nov 2013 22:19:53 -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: rtcweb@ietf.org
References: <527420FF.2@alum.mit.edu> <CAOJ7v-2OjY0UYgDPk2WRLodKUYLytKGtV8HL84NujKfy64q7RQ@mail.gmail.com> <527AA850.3050807@alum.mit.edu> <527AADA1.7060304@alvestrand.no>
In-Reply-To: <527AADA1.7060304@alvestrand.no>
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=1383805321; bh=jMR6A6qbscKfV+Ud0gl0m2Z4evV1y4GcHfFre11s7AY=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=A/0Yua6C7iylAT589VLbM6TT+0hJgaPAHL8Hdw+edf8cGHb6S22gnfpb3/LzPTvaE HQTSlzdGrZa2iM4p9tT7px2VX8AUbICApu9T3gL/bls0kAbkpcZ3urVAUn+TfYfjn6 NmXv9+hBphCM1hw1AOoAIfB8RsEU1v4h4sk5ansDXSZvGVcEpFmOuA+R2NujX3Pz+7 icRrlCrOASwr0+S6FXnUpg0Lbyts9JZ0GmFzw57mD681ZuUwiCRCYB7oAck9Za+Vev fkAQuSSL+qC0RQmddbGqCITHBLLi87UdxepxboIHDpdoIMPzzRzEyu8+tcTqwKvfV4 Lmv6HjxNl3F6A==
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: Thu, 07 Nov 2013 06:22:07 -0000

On 11/6/13 12:59 PM, Harald Alvestrand wrote:
> On 11/06/2013 09:36 PM, Paul Kyzivat wrote:
>> 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.
>
> That's why thinking of it in the way you suggest is likely to lead to
> misunderstandings and confusion all around.
>
> I've had greater success thinking of a MediaStreamTrack as an SSRC; the
> resource that manages the RTP/RTCP is then a container that contains MSTs.

Isn't that container the PeerConnection? Or are you thinking that the 
PeerConnection contains one of these containers for each distinct 
RTP-Session?

	Thanks,
	Paul