Re: [rtcweb] Does RID require the same ext id for all the m= sections?

"Mo Zanaty (mzanaty)" <mzanaty@cisco.com> Mon, 11 September 2017 15:02 UTC

Return-Path: <mzanaty@cisco.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 7505B132D48 for <rtcweb@ietfa.amsl.com>; Mon, 11 Sep 2017 08:02:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.519
X-Spam-Level:
X-Spam-Status: No, score=-14.519 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dhYyxGOJrEUf for <rtcweb@ietfa.amsl.com>; Mon, 11 Sep 2017 08:02:39 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CD8411330B7 for <rtcweb@ietf.org>; Mon, 11 Sep 2017 08:02:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6987; q=dns/txt; s=iport; t=1505142158; x=1506351758; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=zz8cI5Nm1kEpMBEEUSNstCtSpvn9GdiQFf76UQgBVBQ=; b=ibMuBq7XMoW9czH2GMwv8kr/vCWPReGKcU8d64B+m59yZ7TqKmaO94TP 4YvGwGZldj0ekrlslpWDAzDB7MpMraIqKjTVF9QGlUXK+MfuFfl8vMs1o qkYg9CI4qY7gPxICQmPSJIG4r7bcHKL2tbWk/xpD+bzfhCCMHXlfhTAe0 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DQAADdpLZZ/4MNJK1cGQEBAQEBAQEBAQEBBwEBAQEBgnBrZG4nB44RkCGBdJBqhT+CEgolhAQBgRQChCE/GAECAQEBAQEBAWsohRgBAQEEeRACAQgRAwECKAcyFAkIAgQOBYlNZBCuTYsWAQEBAQEBAQEBAQEBAQEBAQEBAQEBGAWDK4ICgVCFC4UXhVQFkXOGQYhAAodZjHaScZR+AhEZAYE4AR84gQ13FYUpORyBZ3aIMIEPAQEB
X-IronPort-AV: E=Sophos;i="5.42,378,1500940800"; d="scan'208,217";a="297538354"
Received: from alln-core-1.cisco.com ([173.36.13.131]) by rcdn-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Sep 2017 15:02:37 +0000
Received: from XCH-RCD-003.cisco.com (xch-rcd-003.cisco.com [173.37.102.13]) by alln-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id v8BF2bUu022332 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 11 Sep 2017 15:02:37 GMT
Received: from xch-aln-005.cisco.com (173.36.7.15) by XCH-RCD-003.cisco.com (173.37.102.13) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Mon, 11 Sep 2017 10:02:36 -0500
Received: from xch-aln-005.cisco.com ([173.36.7.15]) by XCH-ALN-005.cisco.com ([173.36.7.15]) with mapi id 15.00.1263.000; Mon, 11 Sep 2017 10:02:37 -0500
From: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
CC: "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] Does RID require the same ext id for all the m= sections?
Thread-Index: AQHTKw8B3A0ePhLXr064bZ+T+Mv95A==
Date: Mon, 11 Sep 2017 15:02:36 +0000
Message-ID: <D5DC1C96.726D6%mzanaty@cisco.com>
References: <CALiegfnGvkdrhG_hPKGuGuhZCbcL9mUoauheBA3bc15s_G7ihg@mail.gmail.com> <EB2B7F8E-2847-4C8F-8DF4-5BAEE3C1DEE6@cisco.com> <CALiegf=6xRCXAx71XiErwqzwdVBVbFmzhvtaKS77v88Oh569TQ@mail.gmail.com> <881A3BC9-C9ED-4E1E-ACFE-C887333BB672@cisco.com> <CALiegfmerkkf85H_9AOOJq0_Hd=MDj1v_QguucCv6OdXRFqQkw@mail.gmail.com>
In-Reply-To: <CALiegfmerkkf85H_9AOOJq0_Hd=MDj1v_QguucCv6OdXRFqQkw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.7.3.170325
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.82.182.31]
Content-Type: multipart/alternative; boundary="_000_D5DC1C96726D6mzanatyciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/TnWrBFitItf5ztX3zTA98xHvCfg>
Subject: Re: [rtcweb] Does RID require the same ext id for all the m= sections?
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 11 Sep 2017 15:02:40 -0000

Bundle defines MID, and section 13 restricts all extmap IDs (including MID, RID, etc.) to be consistent across all bundled m= sections, just like PTs. I see no restriction against aliases, nor any reason to impose one.

Mo

From: Iñaki Baz Castillo <ibc@aliax.net<mailto:ibc@aliax.net>>
Date: Monday, September 11, 2017 at 9:52 AM
To: mzanaty <mzanaty@cisco.com<mailto:mzanaty@cisco.com>>
Cc: "rtcweb@ietf.org<mailto:rtcweb@ietf.org>" <rtcweb@ietf.org<mailto:rtcweb@ietf.org>>
Subject: Re: [rtcweb] Does RID require the same ext id for all the m= sections?

Ok, but that is not valid for MID, as the reveiver transport is supposed to check the MID value using a single extmap ID, right?

El 11 sept. 2017 3:34 p. m., "Mo Zanaty (mzanaty)" <mzanaty@cisco.com<mailto:mzanaty@cisco.com>> escribió:
See bundle section 13.

https://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation-38#section-13

The same ID must always map to the same URN. Different IDs can map to the same URN as aliases. (The latter is not stated but implied.)

Mo

On Sep 11, 2017, at 8:49 AM, Iñaki Baz Castillo <ibc@aliax.net<mailto:ibc@aliax.net>> wrote:

On Sun, Sep 10, 2017 at 8:22 PM, Mo Zanaty (mzanaty) <mzanaty@cisco.com<mailto:mzanaty@cisco.com>> wrote:
All extmap IDs must be consistent in all bundled m= sections, just like PTs.

Thanks.

However, what does "consistent" mean? I assume/expect that the extmap
ID (for example a=extmap:4) cannot exist in two different m= sections
pointing to different extension URLs, right?

But, and given that you told about PTs, it's perfectly valid that two
different PTs point to the same codec+condiguration within the same m=
section or in different m= sections.

So, could a m=audio section have an "a=extmap:4 urn:foo" line while a
m=video section has "a=extmap:8 urn:foo"? or should both use extmap ID
4?

For example, the extmap ID for MID must be *UNIQUE* across all the
m=sections. Does the same constrain exist for the extmap ID for RID?



--
Iñaki Baz Castillo
<ibc@aliax.net<mailto:ibc@aliax.net>>