Re: [rtcweb] m=section recycling and a=mid

Christer Holmberg <christer.holmberg@ericsson.com> Thu, 19 September 2013 16:26 UTC

Return-Path: <christer.holmberg@ericsson.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 D6AB321F8BFD for <rtcweb@ietfa.amsl.com>; Thu, 19 Sep 2013 09:26:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.771
X-Spam-Level:
X-Spam-Status: No, score=-2.771 tagged_above=-999 required=5 tests=[AWL=-2.573, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_13=0.6, J_CHICKENPOX_17=0.6, J_CHICKENPOX_18=0.6, J_CHICKENPOX_56=0.6]
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 93qbIHOSn-7L for <rtcweb@ietfa.amsl.com>; Thu, 19 Sep 2013 09:26:21 -0700 (PDT)
Received: from sesbmg20.ericsson.net (sesbmg20.ericsson.net [193.180.251.56]) by ietfa.amsl.com (Postfix) with ESMTP id C7C8821F841D for <rtcweb@ietf.org>; Thu, 19 Sep 2013 09:26:20 -0700 (PDT)
X-AuditID: c1b4fb38-b7fcf8e0000062b8-3d-523b25a60d53
Received: from ESESSHC020.ericsson.se (Unknown_Domain [153.88.253.124]) by sesbmg20.ericsson.net (Symantec Mail Security) with SMTP id B4.99.25272.6A52B325; Thu, 19 Sep 2013 18:26:14 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.146]) by ESESSHC020.ericsson.se ([153.88.183.78]) with mapi id 14.02.0328.009; Thu, 19 Sep 2013 18:24:50 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Suhas Nandakumar <suhasietf@gmail.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] m=section recycling and a=mid
Thread-Index: AQHOtI5OlzgN5l68MU+Yf86f9mtTsJnNP/0Z
Date: Thu, 19 Sep 2013 16:24:49 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1C4A7F29@ESESSMB209.ericsson.se>
References: <CAMRcRGRUufCBRg77DEEcqSvJ8uP2o2HU2GoJ23xu6wKPc9G3zA@mail.gmail.com>
In-Reply-To: <CAMRcRGRUufCBRg77DEEcqSvJ8uP2o2HU2GoJ23xu6wKPc9G3zA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.17]
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B1C4A7F29ESESSMB209erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBLMWRmVeSWpSXmKPExsUyM+Jvje4yVesgg20vjSzW/mtnt9g5t4PZ gclj56y77B5LlvxkCmCK4rJJSc3JLEst0rdL4MpY+P0aa0GvSsX23x9ZGxivynYxcnJICJhI vFj5nxXCFpO4cG89WxcjF4eQwFFGiYe7V7JCOEsYJdrnNjF2MXJwsAlYSHT/0wZpEBEIlPix 9ygTiC0sYCyx8NkvFoi4icSuuWvYIGwjiTsfHzCC2CwCqhJrfs4EW8Yr4CvRsL4TrFdIIECi /+1aMJsTaOb2bTfZQWxGoIO+n1oDFmcWEJe49WQ+E8ShAhJL9pxnhrBFJV4+/scKcpqEgKLE 8n45iPJ8iXsHWqFWCUqcnPmEZQKjyCwkk2YhKZuFpAwiridxY+oUNghbW2LZwtfMELauxIx/ h1iQxRcwsq9i5ChOLU7KTTcy2MQIjJ2DW35b7GC8/NfmEKM0B4uSOO8WvTOBQgLpiSWp2amp BalF8UWlOanFhxiZODilGhhnmh6QzCqu2n9fm2XDzK8/phTt6Thqd3uuoOuJ9wxft7/l8v4l dmbKmjuzo+N2Lirerh2wy/Rc51krAzXXeblpVkL8mWfKf8u5Ct4T/NOrYOG0IeKrVM+x14LR gRJ/7c7PurFqC4tsWEnqsovVa/j+NWw+Mjl6VeihsMxEbqtZEk+ePP8SwzRfiaU4I9FQi7mo OBEA/3wCVGsCAAA=
Subject: Re: [rtcweb] m=section recycling and a=mid
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, 19 Sep 2013 16:26:28 -0000

Hi Suhas,



The mid attribute itself does not add an m- line to a BUNDLE group. The attribute value also needs to be listed in the group:BUNDLE attribute mid list.



So, if you want to re-use an m- line and mid attribute, but you don't want the m- line to be in the BUNDLE group, simply remove the mid from the mid list.



Regards,



Christer



________________________________
From: rtcweb-bounces@ietf.org [rtcweb-bounces@ietf.org] on behalf of Suhas Nandakumar [suhasietf@gmail.com]
Sent: Wednesday, 18 September 2013 7:44 PM
To: rtcweb@ietf.org
Subject: [rtcweb] m=section recycling and a=mid

After thinking about it a bit, I think there are some side effects associated with changing/not changing mid attribute of a re-cycled m= section and it being part of a BUNDLE group or not..

example

say , we have these video m=section part of BUNDLE group as below
a=group:BUNDLE 1, 2

m=video .....
a=mid:1
a=inactive

m=video .....
a=mid:2
a=sendrecv

Now If JS user adds a new video track and he wants it to be out of BUNDLE. If we recycle first video m=section and dont change mid attribute,  we end up BUNDLing even if the user dint want to

On the other hand, if we allowed mid value to be changed, we might end up UNBundling a video stream , when the user did want to BUNDLE them

So allowing a mid value to be changed or not should be tied to what the JS API is asking on behalf of the user


Any thoughts ?

Cheers
Suhas