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

"Mo Zanaty (mzanaty)" <mzanaty@cisco.com> Mon, 11 September 2017 17:39 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 CBBAD133190 for <rtcweb@ietfa.amsl.com>; Mon, 11 Sep 2017 10:39:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.52
X-Spam-Level:
X-Spam-Status: No, score=-14.52 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-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 zLNpGS2LwTDC for <rtcweb@ietfa.amsl.com>; Mon, 11 Sep 2017 10:39:02 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E333133182 for <rtcweb@ietf.org>; Mon, 11 Sep 2017 10:39:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1894; q=dns/txt; s=iport; t=1505151542; x=1506361142; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=sXrnNVS5yWK7kpSI41Jad+0bRhtesBBTZUKSlygZ6E8=; b=Vle151/dLV2wj1htw+HC/Tc9CgcbLY02/gGQ1wDHFXx17qIN2JK7yhi6 73JNO2cZuT3qyoCP9sR28tXhtS5APLhCtyut4DzPnWP5StUYv25bdFTQq OrMjKpz+mCdx5k9pPMnbgVz2/NiSSiiqKyNFXwcLC/CQsr4Mo0NFsVGrj A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AFAgCFybZZ/5NdJa1cGQEBAQEBAQEBAQEBBwEBAQEBg1tkbicHnjKBdJg7CiOEBgGBFAKEIlcBAgEBAQEBAmsohRgBAQEEbgsMBAIBCBEDAQIBLjIdCAIEDgWKMRCtZossAQEBAQEBAQEBAQEBAQEBAQEBAQEBGAWDK4ICgVCBY4MoimsFkXOPAQKHWYx2knGUfgIRGQGBOAFXgQ13FUqFGByBZ3aIMIEPAQEB
X-IronPort-AV: E=Sophos;i="5.42,379,1500940800"; d="scan'208";a="1921796"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Sep 2017 17:39:01 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by rcdn-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id v8BHd1oR021103 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 11 Sep 2017 17:39:01 GMT
Received: from xch-aln-005.cisco.com (173.36.7.15) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Mon, 11 Sep 2017 12:39:00 -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 12:39:00 -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: AQHTKyTauQnAoXntwkO/htQd6E4Oxw==
Date: Mon, 11 Sep 2017 17:39:00 +0000
Message-ID: <D5DC2A74.726EC%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> <D5DC1C96.726D6%mzanaty@cisco.com> <CALiegfkB-DF2njWYzJYg455GddByLK8dQJq21wp+JEWSaJC=sQ@mail.gmail.com>
In-Reply-To: <CALiegfkB-DF2njWYzJYg455GddByLK8dQJq21wp+JEWSaJC=sQ@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: text/plain; charset="iso-8859-1"
Content-ID: <1881D35FA8565D4AAE055DD0B8CC04D1@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/xBpKpxKQllnYZRDU32WtrFGG-zg>
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 17:39:04 -0000

I found a restriction against aliases in 5285bis:
https://tools.ietf.org/html/draft-ietf-avtcore-rfc5285-bis-14#section-7


"... If an RTP header extension, i.e. a particular extension
URI and configuration using <extensionattributes>, is offered in
multiple m-lines that are part of the same bundle group it MUST use
the same ID in all of these m-lines."

Remap ID to different URN is disallowed when bundled:
m=...
a=extmap:x urn:foo
m=...
a=extmap:x urn:bar

Alias ID for same URN is disallowed when bundled:
m=...
a=extmap:x urn:foo
m=...
a=extamp:y urn:foo



The remap restriction is clearly necessary. I think the alias restriction
is unnecessary, but I'm fine with letting it proceed to publication if it
simplifies things for RTP stack implementors. (It complicates things for
middle box implementors that want to avoid rewriting RTP packets, which
aliases can help avoid.)

Mo


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

On Mon, Sep 11, 2017 at 5:02 PM, Mo Zanaty (mzanaty) <mzanaty@cisco.com>
wrote:
> 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.

The RTP MID extension value is used (should be used when someone
implements it) to lookup the associated m=section, so the extmap ID
MUST be unique across all the m=sections in the SDP. Otherwise the
lookup operation would be impossible.

This has been discussed in this mailing list not so long ago.


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