Re: [rtcweb] Adding previously "discarded" codecs in SDP renegotiation
Taylor Brandstetter <deadbeef@google.com> Mon, 28 March 2016 23:13 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 71CF312D16A for <rtcweb@ietfa.amsl.com>; Mon, 28 Mar 2016 16:13:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level:
X-Spam-Status: No, score=-2.71 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_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 j0DCbL3mMQ4z for <rtcweb@ietfa.amsl.com>; Mon, 28 Mar 2016 16:13:02 -0700 (PDT)
Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (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 EAD5012D0E5 for <rtcweb@ietf.org>; Mon, 28 Mar 2016 16:13:01 -0700 (PDT)
Received: by mail-yw0-x232.google.com with SMTP id h129so101607692ywb.1 for <rtcweb@ietf.org>; Mon, 28 Mar 2016 16:13:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=+Aexe4r8YBJ+qnBrDUGqcXIzAxVlEMOaW1lYcGj0LAw=; b=h3XRYoP3VexD2kRl5M+o7ozxCT2uBsnVeRbQnulK5Tj/SA38q8GEXSmhBWehoANjiv A9S2d56A5nplNgRufnrRsCmpfvfxZmnTcZ1XQfFxMpyhzz7+a+7EZw5XeI/GV7jdKyJ2 lvbcT9yqMmOMMjaM21ysXii/7hx7lgjBQk+iPXgaSGPudw8W6LiqmKuHgK6eNUFKjevK FyfuoF5GbcJCrhUV69wN57ukHJbPNle42UBKe01heH1bjFwX7xoMdtZEv9VkDBFCNsPK wbM8m1vFgEtt7KE0zn6rYwDE8Cyv4vWf0tI7+ZLDVjd+KRO/wxuqhFrN364ebrfeqlWo SdPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=+Aexe4r8YBJ+qnBrDUGqcXIzAxVlEMOaW1lYcGj0LAw=; b=Lp48XHwj4rAfjLQo9rvXwH4atZBB3mJr6Nbsfn7qR1O/bDCMuiH8hGRJ24JiC+J1VO PSGfkCWdNAAKQHOTZXGwzGWNvhdwPhBSqzae5e9THi52tsls7hg8h3Zkwq9mrYHI4nYi 7Uv/bO4buFAU6Q85ez1Q5oH8pGy12ultm492X7xPjg2I8w/9dxXdV2WQFdvYjoqyfqSB jEVWp9qdpyAtWqf7TVsdKtrzIAiHdSzOxSgUmeu1q9RUrkjXciCd6f269zP2tX5F8bxG FDJouKpacI6Ftz5mg5GSPGQzi/R4zQw0I2i25rdxwektCUrBIf6eZx+a1j64ZIyG3kp+ tNoQ==
X-Gm-Message-State: AD7BkJK9YO6GaLSQQ8ZE9fXbB8X0IzWNvxnLOYN8Ld9JEhrRFXFaJzrFWZVoMs5ZCR+rPZLbDKu2UlIWs6CClpcW
MIME-Version: 1.0
X-Received: by 10.129.35.6 with SMTP id j6mr14714308ywj.133.1459206780877; Mon, 28 Mar 2016 16:13:00 -0700 (PDT)
Received: by 10.129.42.196 with HTTP; Mon, 28 Mar 2016 16:13:00 -0700 (PDT)
In-Reply-To: <CALiegfmxG-NFoQdQ0HZi80kB4J4_G0YnYXbCYxwz6TPEg8+ACA@mail.gmail.com>
References: <CALiegfmxG-NFoQdQ0HZi80kB4J4_G0YnYXbCYxwz6TPEg8+ACA@mail.gmail.com>
Date: Mon, 28 Mar 2016 16:13:00 -0700
Message-ID: <CAK35n0YJ4AVow4z5Wz9eODUgn3XOkp5msKSY=BJg55YZz9CY5g@mail.gmail.com>
From: Taylor Brandstetter <deadbeef@google.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Content-Type: multipart/alternative; boundary="001a11429e68d468ac052f240d62"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/Lh4dmHCoKrVHm0gbWH7iqkm0Tew>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Adding previously "discarded" codecs in SDP renegotiation
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.17
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, 28 Mar 2016 23:13:04 -0000
This seems like a bit of a gray area. JSEP says that for subsequent offers: o The m= line and corresponding "a=rtpmap" and "a=fmtp" lines MUST > only include codecs present in the remote description. In this situation, the remote description *does* still contain H.264, so it seems it would technically be valid to offer it. *However*, if Alice were to send a reoffer, she *could not* offer H.264. And then Bob's remote description wouldn't contain H.264, so he couldn't offer it even if he wants to. I'm thinking this may be an oversight in the spec. I created an issue for it: https://github.com/rtcweb-wg/jsep/issues/266 As for current implementations: Chrome will freely let you add previously discarded codecs, and it even creates offers with discarded codecs. Though this is currently considered a bug. I just created an issue to track it: https://bugs.chromium.org/p/webrtc/issues/detail?id=5697 On Mon, Mar 28, 2016 at 2:25 PM, Iñaki Baz Castillo <ibc@aliax.net> wrote: > Hi, the scenario is the following: > > - Alice sends SDP offer to Bob by offering VP8 (PT 100) and H264 > packetization-mode=1 (PT 101). > > - Bob answers with just VP8 (let's say it sets PT 110) in the m= line, > regardless he also supports H264. > > At this time Alice must send VP8 (PT 110) to Bob, and Bob must send > VP8 (PT 100) to Alice. Fine. > > Later Bob wants to change to H264, so he sends a SDP reoffer to Alice > by just offering H264 packetization-mode=1 (PT 111). > > Assuming this is valid (re-enabling a previously discarded codec), > Alice answers the reoffer with just H264 (PT 101). > > > Is this valid? And a more pragmatic questions: should I assume that > current WebRTC implementations would support this scenario? > > Thanks a lot. > > > -- > Iñaki Baz Castillo > <ibc@aliax.net> > > _______________________________________________ > rtcweb mailing list > rtcweb@ietf.org > https://www.ietf.org/mailman/listinfo/rtcweb >
- [rtcweb] Adding previously "discarded" codecs in … Iñaki Baz Castillo
- Re: [rtcweb] Adding previously "discarded" codecs… Taylor Brandstetter
- Re: [rtcweb] Adding previously "discarded" codecs… Cullen Jennings
- Re: [rtcweb] Adding previously "discarded" codecs… Taylor Brandstetter
- Re: [rtcweb] Adding previously "discarded" codecs… Iñaki Baz Castillo
- Re: [rtcweb] Adding previously "discarded" codecs… Christer Holmberg
- Re: [rtcweb] Adding previously "discarded" codecs… Iñaki Baz Castillo