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

Iñaki Baz Castillo <ibc@aliax.net> Mon, 07 August 2017 17:56 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 6698713289B for <rtcweb@ietfa.amsl.com>; Mon, 7 Aug 2017 10:56:22 -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 UYZXVr1t2X5W for <rtcweb@ietfa.amsl.com>; Mon, 7 Aug 2017 10:56:19 -0700 (PDT)
Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 C12CE132867 for <rtcweb@ietf.org>; Mon, 7 Aug 2017 10:56:08 -0700 (PDT)
Received: by mail-wm0-x22c.google.com with SMTP id t201so12899388wmt.0 for <rtcweb@ietf.org>; Mon, 07 Aug 2017 10:56:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aliax-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=752KIY39rkdVfJM97Spm04Ccf9dNhIz9lezij6o8szI=; b=qPJP1TnM7Mn4S0p4ftyMvhE4kM6xkoOREmcRrZpCspf94lBTbfWfxr7HTVFvCJ9pJU uTlprZS54G6ND1Tw3M+1QFKjzZi5LvJahx5AY/M3lG9ZV3Czapk1bVwqqkDfHkCkWAS0 83xu2+BN0e7LzuC5me2fivTSJteL3wnXiYHfXAF1MDmG6tzB58IG9dRYiI2gPaZb20Mn 6setkRM7fEpeXjN2fE3XCEW/gy9VSzzol3q/opnMrRwrlvpbkjZwaqUSkaCMzpU2aIAt t3tLGgtLAtu84xtfeocjQ348vWQS2ee0phaBIQcn4vNSV45z8hoKoPrPrndNF/bMAHoT vncg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=752KIY39rkdVfJM97Spm04Ccf9dNhIz9lezij6o8szI=; b=dwnTsXFHvt2cF/+EXgWPGk6eNBUDpWqTiVuIxN9XDqshzxNpbKmj/DqOpwBHsrpnQ5 Pwu42FXZ2LTXI4qa6D+0WatTI4XvwKSzmEKAEOUwNItAF4jNnNRQ553r7fHSk3QelzfB 1WfXAjW5JhcOFlXdt74tBq4N3DxPAzcrEC7LwBS9uSGSn01Gkdr57vRbtrmBjpWDGwl7 07iIDlzki59vICCV0yNSEAu3n/9pkOANnT+P9fEGsQMhidI2xmVx3CGqFE7FzJRJQkIj hLn1oFNJNLFw2hL5zvexAnp4ZI0H4PYVOA+dCxahGOl3MqXUj6q5PZvrzH8K/eURmzTb 6Kgg==
X-Gm-Message-State: AHYfb5jWbynaTJUaP57gUdy5OYMSvdyzjtrEtEzCcX7r2fVt/6U/brH3 NXLXFChq0AqyZz3/YM9xn/ZIMYAPiYUI
X-Received: by 10.80.179.12 with SMTP id q12mr1694972edd.151.1502128567343; Mon, 07 Aug 2017 10:56:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.80.152.129 with HTTP; Mon, 7 Aug 2017 10:55:46 -0700 (PDT)
In-Reply-To: <CAK35n0Zph3cWjkmP3Usep6QZLaCxSqe2wof0FsAjrkcx9s5QUg@mail.gmail.com>
References: <CALiegf=_3XV9NnEzi4e6Tb=d5KiqpjtH09grrEzZvWrbaDOcxw@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B4CCB17B5@ESESSMB109.ericsson.se> <CALiegf=_W=ma9w0o6J9sa6fAfNLw0Zc7d9nMb+nOs6cS-9C5QQ@mail.gmail.com> <CAK35n0Zph3cWjkmP3Usep6QZLaCxSqe2wof0FsAjrkcx9s5QUg@mail.gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Mon, 07 Aug 2017 19:55:46 +0200
Message-ID: <CALiegf=4vV9wxXKE+GQCd_34ocVQvHXpYLCjXFkeCupBuWn8nA@mail.gmail.com>
To: Taylor Brandstetter <deadbeef@google.com>
Cc: Christer Holmberg <christer.holmberg@ericsson.com>, "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/dGWQTtmSD4OvHbJ07M9raZM1MiU>
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 17:56:22 -0000

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>