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

Iñaki Baz Castillo <ibc@aliax.net> Mon, 07 August 2017 14:06 UTC

Return-Path: <ibc@aliax.net>
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 184431321E3 for <rtcweb@ietfa.amsl.com>; Mon, 7 Aug 2017 07:06:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=aliax-net.20150623.gappssmtp.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 YMDr0SvdUITy for <rtcweb@ietfa.amsl.com>; Mon, 7 Aug 2017 07:06:23 -0700 (PDT)
Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 172D81321E7 for <rtcweb@ietf.org>; Mon, 7 Aug 2017 07:06:22 -0700 (PDT)
Received: by mail-wm0-x22b.google.com with SMTP id m85so7976685wma.1 for <rtcweb@ietf.org>; Mon, 07 Aug 2017 07:06:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aliax-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=Nx6obDopquZTGNPJXFpfZfZpR/ker3+7gPezhwBmuxk=; b=poOuGevCvZqzCRcnUwCuM+gEAxzg2Du2CipUV9vVKkHhY3SJq/mT1QiYgnm8PhRm1Z SAaYjf+4jezBNtEA22w5t/nlUg09N9xnahM0d9bev9oeV8AHfQACUtSCz4ezKJD9To1/ ghTZ5ojtR9Syr9cXn35ZNV0MnfVTPEepZCSYw8Q2d3ubSU8xhNhPzVmUZ0IxBqi2HXOu 1vVhiveW+WwO17co0dvBa6hegV54uMWZL7XCZIDWamX3/0jMPn62JylxSTvJXYF/Yp5W 1bGcb1WyhmV+lf9Tn5blr+p6aIMMAQS6daHpvEcQd2l19OWKwd14mtdGJjX5GUyTrt99 6TqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=Nx6obDopquZTGNPJXFpfZfZpR/ker3+7gPezhwBmuxk=; b=fPCzLiVmdgCvm5nJVdjWJ6Thw/M2JonkaNihL5VhRP0KizzTu04DW+pMi8DMjsoZhW UFE0mUyE5pAs2797krLkYnHnczEvpOoEKmv3RBiXYa68KTBLuQHT9MSyMuEx4j7V4dZ+ 6pQ2S0QIb5QTLGeY9WiZ855WdSmtdwBgnsFKGAFjE7yUGPkwY8kdwRIv9Can8aD4ApiC EDBIVUQmrQVI2UbNvr2C/P06YdIBSnfLLTCbLSO0sP4dtqb/eRU2jFIkNGlVJtCSrKE7 wk66daE2xE2XHcsSUFq5DbNmJH4EsjKpQ75ehR/PedqXcCHuW9ockNw+/ATt1dDp0dkG pdow==
X-Gm-Message-State: AHYfb5jjMNTi0l+4UQB88w6FOX4r0oPvBuS2nTu5i3IfkzZ9GcgPwCHK apXG9f9Id/Yj+MRkkSMnQXPWFtBwnfIfGQsgsA==
X-Received: by 10.80.180.15 with SMTP id b15mr1058159edh.226.1502114781164; Mon, 07 Aug 2017 07:06:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.80.152.129 with HTTP; Mon, 7 Aug 2017 07:06:00 -0700 (PDT)
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Mon, 07 Aug 2017 16:06:00 +0200
Message-ID: <CALiegf=_3XV9NnEzi4e6Tb=d5KiqpjtH09grrEzZvWrbaDOcxw@mail.gmail.com>
To: "rtcweb@ietf.org" <rtcweb@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/rtatigxbppCOU56MiXs53DCneM4>
Subject: [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:06:25 -0000

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>