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

Taylor Brandstetter <deadbeef@google.com> Mon, 07 August 2017 17:46 UTC

Return-Path: <deadbeef@google.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 103F71326C4 for <rtcweb@ietfa.amsl.com>; Mon, 7 Aug 2017 10:46:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 YcG-NK_ZTQ79 for <rtcweb@ietfa.amsl.com>; Mon, 7 Aug 2017 10:46:11 -0700 (PDT)
Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (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 88086131FE2 for <rtcweb@ietf.org>; Mon, 7 Aug 2017 10:46:11 -0700 (PDT)
Received: by mail-qt0-x22a.google.com with SMTP id v29so6816286qtv.3 for <rtcweb@ietf.org>; Mon, 07 Aug 2017 10:46:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=c7fjrcokXj+l8ekNcYF+nYsmWyZasvxB0OqZ1RIm7ik=; b=HHYMdqoJMIb0BfDf31dfyXaZfbxzn73ZgIza93IKXiQTY5s2eHu9dG5EgreIzH0Gak eRuf7drdguTDYTQGy6+GTSoc0+eIfW7TKmTVne5eEh7TR8xrg9nT+Y7sfKV1Uu4i/e2N 6krYuOcOEkyihbcvUzl3zdEJeJwNzy6Gx315/+iUC7lZboR2jGwur/CdtB6WYB6wT63r fhPP5T6+0CoFSbWKj9dIjPYrLNskq2jZI3oi2B9MAzEMRCrsq5ylK4yBWrqS1YE06Hj1 ulGNrtjunBaiOtzfnSkIaDw8f0o3DUphDVVnZRx8LLNwjy+8x9JsvybdRUz4QO8Ji6tS ho3Q==
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; bh=c7fjrcokXj+l8ekNcYF+nYsmWyZasvxB0OqZ1RIm7ik=; b=jgCPFiAqx8+fRb/vB5cc3TFUuYgBukLeKV4NrrLyPAgpj3wWRvzPO1FDjVRptQalvj IqIByR5gpEjuWDyIwS9jwRP3KY2gBKLafui2Ik9ZYxOwSV+LhXDX+o5jnmfyZggywbqM dQEZXOkU2/KPKcbd7R77BmEv+XfUtvQhjvqrbBT4G3fqCUPWzOHlJZbTriRI/8f3QwTH 9MlnHmWf2ynb5U3fXoyJGOMfBybZ3eMAHDLmC+YWiTllBtFnzR7PfWWX7zQNT6vzYFqI y90+lDy6JDm+H/fuK6F6jR3RGXVpYVLo+0yBIVgp/0krY2ajIOF5OZHNwji2JyV6ag2E IcCQ==
X-Gm-Message-State: AHYfb5hn1pUnFCMs1cQyp1RMQQsrbtSXpI3Keihnz8LGBeDYhRsJuepi cqBmBwEdxU7zLfUhH81L1crDNXnrqTVGUP5nWg==
X-Received: by 10.200.9.93 with SMTP id z29mr1886653qth.102.1502127970561; Mon, 07 Aug 2017 10:46:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.130.163 with HTTP; Mon, 7 Aug 2017 10:46:10 -0700 (PDT)
In-Reply-To: <CALiegf=_W=ma9w0o6J9sa6fAfNLw0Zc7d9nMb+nOs6cS-9C5QQ@mail.gmail.com>
References: <CALiegf=_3XV9NnEzi4e6Tb=d5KiqpjtH09grrEzZvWrbaDOcxw@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B4CCB17B5@ESESSMB109.ericsson.se> <CALiegf=_W=ma9w0o6J9sa6fAfNLw0Zc7d9nMb+nOs6cS-9C5QQ@mail.gmail.com>
From: Taylor Brandstetter <deadbeef@google.com>
Date: Mon, 07 Aug 2017 10:46:10 -0700
Message-ID: <CAK35n0Zph3cWjkmP3Usep6QZLaCxSqe2wof0FsAjrkcx9s5QUg@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Cc: Christer Holmberg <christer.holmberg@ericsson.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="001a11454b301832e405562d6c15"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/1GoyIe_LQ5cZTkQM0VMLUc5vqis>
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:46:14 -0000

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").

On Mon, Aug 7, 2017 at 7:18 AM, Iñaki Baz Castillo <ibc@aliax.net> wrote:

> On Mon, Aug 7, 2017 at 4:10 PM, Christer Holmberg
> <christer.holmberg@ericsson.com> wrote:
> > 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.
>
> SDP O/A is really error prune. This must end. It cannot happen that,
> for every renegotiation (which may be it just wants to add/remove a
> track) everything regarding ICE, DTLS, codecs. extmap, etc etc must be
> re-inspected.
>
>
> > You said that Chrome keeps the previously negotiated value. Does Chrome
> still accept the new offer?
>
> AFAIR it does not complain, but it's hard to know whether Chrome keeps
> the previously negotiated ext mapping or respects the new one, since
> another "SDP O/A related bug" happens:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=1247725
>
>
> This is really crazy. I hope we can drop SDP from WebRTC soon. This is not
> sane.
>
> --
> Iñaki Baz Castillo
> <ibc@aliax.net>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>