Re: [rtcweb] Replacing a=extmap mapping in re-offer, is it legal?

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 07 August 2017 18:01 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 919C3132382 for <rtcweb@ietfa.amsl.com>; Mon, 7 Aug 2017 11:01:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 0YbK1rLUs2tU for <rtcweb@ietfa.amsl.com>; Mon, 7 Aug 2017 11:01:45 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9908B1325F3 for <rtcweb@ietf.org>; Mon, 7 Aug 2017 11:01:45 -0700 (PDT)
X-AuditID: c1b4fb25-607ff70000001eeb-1e-5988ab079e88
Received: from ESESSHC006.ericsson.se (Unknown_Domain [153.88.183.36]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 02.F3.07915.70BA8895; Mon, 7 Aug 2017 20:01:43 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.91]) by ESESSHC006.ericsson.se ([153.88.183.36]) with mapi id 14.03.0352.000; Mon, 7 Aug 2017 20:01:43 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Iñaki Baz Castillo <ibc@aliax.net>, Taylor Brandstetter <deadbeef@google.com>
CC: "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] Replacing a=extmap mapping in re-offer, is it legal?
Thread-Index: AQHTD4ZeWfNzICrgU0mNlPq2aeHenKJ47jTA///hPQCAADoWAIAAAq8AgAAizfA=
Date: Mon, 07 Aug 2017 18:01:42 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B4CCB2093@ESESSMB109.ericsson.se>
References: <CALiegf=_3XV9NnEzi4e6Tb=d5KiqpjtH09grrEzZvWrbaDOcxw@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B4CCB17B5@ESESSMB109.ericsson.se> <CALiegf=_W=ma9w0o6J9sa6fAfNLw0Zc7d9nMb+nOs6cS-9C5QQ@mail.gmail.com> <CAK35n0Zph3cWjkmP3Usep6QZLaCxSqe2wof0FsAjrkcx9s5QUg@mail.gmail.com> <CALiegf=4vV9wxXKE+GQCd_34ocVQvHXpYLCjXFkeCupBuWn8nA@mail.gmail.com>
In-Reply-To: <CALiegf=4vV9wxXKE+GQCd_34ocVQvHXpYLCjXFkeCupBuWn8nA@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.154]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42KZGbFdRZd9dUekwa8rlhaXVzxktZi+z8Zi 7b92dgdmj3MN79k9Fmwq9Viy5CdTAHMUl01Kak5mWWqRvl0CV8b5/VNYCp4JVdzblNnAuEKo i5GTQ0LAROLCrrNsXYxcHEICRxglHh44wwThLGKUOL/nJHsXIwcHm4CFRPc/bZAGEYFsiVnP DjKD2MwC6hJ3Fp9jB7GFBbwk7iyfywxR4y3xZ9Z8RgjbT6KzeScbiM0ioCJxoeMgK4jNK+Ar 0bq3A2rXSyaJ9pXLwJo5BQIlFk+/yAJiMwqISXw/tYYJYpm4xK0n85kgrhaQWLLnPDOELSrx 8vE/VghbSWLR7c9MIDczC2hKrN+lD9GqKDGl+yE7xF5BiZMzn7BMYBSdhWTqLISOWUg6ZiHp WMDIsopRtDi1OCk33chYL7UoM7m4OD9PLy+1ZBMjMGYObvmtuoPx8hvHQ4wCHIxKPLxFMzsi hVgTy4orcw8xSnAwK4nwXpkNFOJNSaysSi3Kjy8qzUktPsQozcGiJM7ruO9ChJBAemJJanZq akFqEUyWiYNTqoGR/UvyU0aXzG5rY68rZnWTr7+7tCDErixCaLaLYXea6Lv9BxKUas4sjHmU cTk4ZeHPLo1e7bj1Hu/y/U6tesASu/ds2LY0mRKnhPUrGG6zHD3te/Hh9p0y6bM2WRkzZGRv +D/tX2V124zG7JJ6/ig9ye+/eydOjf/tUVI+n8HzZRhXwuY0cxYlluKMREMt5qLiRACkmR03 lQIAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/puL6nOdw_X2_Jpe4nmjOfwV0pok>
Subject: Re: [rtcweb] Replacing a=extmap mapping in re-offer, is it legal?
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, 07 Aug 2017 18:01:47 -0000

Hi,

Taylor's explanation makes sense. But, in this case:

1) Re-using the same value with a new mapping should be an explicit MUST NOT

2) The re-offer should be rejected

Regards,

Christer

-----Original Message-----
From: Iñaki Baz Castillo [mailto:ibc@aliax.net] 
Sent: 07 August 2017 19:56
To: Taylor Brandstetter <deadbeef@google.com>
Cc: Christer Holmberg <christer.holmberg@ericsson.com>; rtcweb@ietf.org
Subject: Re: [rtcweb] Replacing a=extmap mapping in re-offer, is it legal?

On Mon, Aug 7, 2017 at 7:46 PM, Taylor Brandstetter <deadbeef@google.com> wrote:
> I don't know if this is stated explicitly anywhere, but my assumption 
> was that it works like payload types. You can introduce new IDs all 
> you want, but you can't have one ID refer to multiple things during the same session.
> Otherwise, if you receive a packet with that extension ID, you 
> wouldn't be able to tell which extension it is.
>
> Meaning, if Bob's initial answer was:
>
> a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
>
> It would be illegal to have a re-offer of:
>
> a=extmap:1 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
> a=extmap:11 urn:ietf:params:rtp-hdrext:toffset
>
> Because if Bob then receives a packet with extension ID 11, Bob 
> doesn't know if it's a packet sent before Alice received the answer 
> (in which case it's "abs-send-time"), or after (in which case it's "toffset").

Thanks, your rationale clearly makes sense. However:

1) I don't think Firefox cares about overriding a previous extmap ID during a reoffer.

2) Should we really accept so complex and error prune things just because SDP allows everything?


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