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

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 07 August 2017 14:10 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 7319A1321D1 for <rtcweb@ietfa.amsl.com>; Mon, 7 Aug 2017 07:10:30 -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 0iwwvB6ajrbf for <rtcweb@ietfa.amsl.com>; Mon, 7 Aug 2017 07:10:27 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (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 4B0E3132324 for <rtcweb@ietf.org>; Mon, 7 Aug 2017 07:10:27 -0700 (PDT)
X-AuditID: c1b4fb30-aeec49c000001664-b9-598874d12b30
Received: from ESESSHC001.ericsson.se (Unknown_Domain [153.88.183.21]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id 1C.97.05732.1D478895; Mon, 7 Aug 2017 16:10:25 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.91]) by ESESSHC001.ericsson.se ([153.88.183.21]) with mapi id 14.03.0352.000; Mon, 7 Aug 2017 16:10:24 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Iñaki Baz Castillo <ibc@aliax.net>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] Replacing a=extmap mapping in re-offer, is it legal?
Thread-Index: AQHTD4ZeWfNzICrgU0mNlPq2aeHenKJ47jTA
Date: Mon, 07 Aug 2017 14:10:24 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B4CCB17B5@ESESSMB109.ericsson.se>
References: <CALiegf=_3XV9NnEzi4e6Tb=d5KiqpjtH09grrEzZvWrbaDOcxw@mail.gmail.com>
In-Reply-To: <CALiegf=_3XV9NnEzi4e6Tb=d5KiqpjtH09grrEzZvWrbaDOcxw@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+NgFnrDLMWRmVeSWpSXmKPExsUyM2K7qO7Fko5Igy/b5Cym77OxWPuvnd2B yeNcw3t2jyVLfjIFMEVx2aSk5mSWpRbp2yVwZcxZdoS9YJZgxfelaxgbGB8IdDFyckgImEhM +HCVqYuRi0NI4AijxKxz35ghnEWMEvO/zgVyODjYBCwkuv9pgzSICCRLPOo4zgpiCwt4SdxZ DlICEveW+DNrPiOEbSRx7sk0VpBWFgEViT3vXUHCvAK+EpdvfmQCsYUEAiSar38CG8MpECix 895XFhCbUUBM4vupNWA1zALiEreezGeCuFNAYsme88wQtqjEy8f/WCFsJYlFtz8zgaxiFtCU WL9LH6JVUWJK90N2iLWCEidnPmGZwCgyC8nUWQgds5B0zELSsYCRZRWjaHFqcVJuupGRXmpR ZnJxcX6eXl5qySZGYBwc3PLbYAfjy+eOhxgFOBiVeHg3x3VECrEmlhVX5h5ilOBgVhLhDeQC CvGmJFZWpRblxxeV5qQWH2KU5mBREud13HchQkggPbEkNTs1tSC1CCbLxMEp1cAYJ+r5QPJu ZcnvtJUn36/av4DzpKSvdNVVP6nvV28F+z7sFBaaoXvsrY00h/8DNkVhywv3LbYH56qd0rzz abPV9Y+Hd5/LOMAmev2X0PynEbP6/syMvr1jHZ+VcNzcy1JaL7b5rn0dl/TL5qN/erQia392 eUOpnsBZzckqOecX/XIO0A75yGypxFKckWioxVxUnAgAl/pgT38CAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/F0HhmYtZ91TcZ-wgf7gQzHAPJx0>
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 14:10:30 -0000

Hi,

My assumption is that it by default is always allowed to re-negotiate SDP attribute values. And, if it's not, it should be explicitly indicated.

You said that Chrome keeps the previously negotiated value. Does Chrome still accept the new offer?

Regards,

Christer

-----Original Message-----
From: rtcweb [mailto:rtcweb-bounces@ietf.org] On Behalf Of Iñaki Baz Castillo
Sent: 07 August 2017 16:06
To: rtcweb@ietf.org
Subject: [rtcweb] Replacing a=extmap mapping in re-offer, is it legal?

Hi,

Let's assume that Alice sends a offer to Bob with a single m=video section that contains:

  a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time

Bob replies with the same extmap.

Later Bob generates a re-offer and it looks like this:

  a=extmap:1 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
  a=extmap:2 urn:ietf:params:rtp-hdrext:toffset

Is this legal? Couldn't find nothing about renegotiations in https://tools.ietf.org/html/rfc5285, however it looks to me that the world would be better if the already negotiated extension mapping is kept.

Said that, Chrome does keep the previously negotiated ext mapping, but Firefox does not, behaving exactly as shown above.


Bug report in Firefox tracker:
https://bugzilla.mozilla.org/show_bug.cgi?id=1384064

JSFiddle reproducing it (open the devtool console):
https://jsfiddle.net/ibcaliax/uan2fove/


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

_______________________________________________
rtcweb mailing list
rtcweb@ietf.org
https://www.ietf.org/mailman/listinfo/rtcweb