Return-Path: <fluffy@iii.ca>
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 E3A6912D0E8
 for <rtcweb@ietfa.amsl.com>; Mon, 28 Mar 2016 17:23:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.921
X-Spam-Level: 
X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001,
 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 Kjgdf_2y9NPj for <rtcweb@ietfa.amsl.com>;
 Mon, 28 Mar 2016 17:23:22 -0700 (PDT)
Received: from smtp113.ord1c.emailsrvr.com (smtp113.ord1c.emailsrvr.com
 [108.166.43.113])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id 4DDFF12D0DF
 for <rtcweb@ietf.org>; Mon, 28 Mar 2016 17:23:20 -0700 (PDT)
Received: from smtp15.relay.ord1c.emailsrvr.com (localhost.localdomain
 [127.0.0.1])
 by smtp15.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id C96F9380130;
 Mon, 28 Mar 2016 20:23:19 -0400 (EDT)
X-Auth-ID: fluffy@iii.ca
Received: by smtp15.relay.ord1c.emailsrvr.com (Authenticated sender:
 fluffy-AT-iii.ca) with ESMTPSA id 5C9A5380125; 
 Mon, 28 Mar 2016 20:23:19 -0400 (EDT)
X-Sender-Id: fluffy@iii.ca
Received: from [192.168.4.100] ([UNAVAILABLE]. [128.107.241.161])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA)
 by 0.0.0.0:465 (trex/5.5.4); Mon, 28 Mar 2016 20:23:19 -0400
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Cullen Jennings <fluffy@iii.ca>
In-Reply-To: <CAK35n0YJ4AVow4z5Wz9eODUgn3XOkp5msKSY=BJg55YZz9CY5g@mail.gmail.com>
Date: Mon, 28 Mar 2016 18:23:22 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <74244AD7-31A4-42DC-B0AB-5F24EE2C7599@iii.ca>
References: <CALiegfmxG-NFoQdQ0HZi80kB4J4_G0YnYXbCYxwz6TPEg8+ACA@mail.gmail.com>
 <CAK35n0YJ4AVow4z5Wz9eODUgn3XOkp5msKSY=BJg55YZz9CY5g@mail.gmail.com>
To: Taylor Brandstetter <deadbeef@google.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/PY8A8TGUtZQEHUEdCGE7egjyZQ4>
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: Tue, 29 Mar 2016 00:23:24 -0000


So I think Offer/Answer would allow that, but JSEP says not to do it in =
the normal re-offer case as the desire was not to have codecs change on =
reoffer, however, if the JS wanted to do redo the offer that way, if it =
removed the Track, then added the Track back, I suspect that JSEP would =
re-offer will full set of codecs. That sound about right ?=20


> On Mar 28, 2016, at 5:13 PM, Taylor Brandstetter <deadbeef@google.com> =
wrote:
>=20
> This seems like a bit of a gray area. JSEP says that for subsequent =
offers:
>=20
>    o  The m=3D line and corresponding "a=3Drtpmap" and "a=3Dfmtp" =
lines MUST
>       only include codecs present in the remote description.
>=20
> 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.
>=20
> 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
>=20
> 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=3D5697
>=20
> On Mon, Mar 28, 2016 at 2:25 PM, I=C3=B1aki Baz Castillo =
<ibc@aliax.net> wrote:
> Hi, the scenario is the following:
>=20
> - Alice sends SDP offer to Bob by offering VP8 (PT 100) and H264
> packetization-mode=3D1 (PT 101).
>=20
> - Bob answers with just VP8 (let's say it sets PT 110) in the m=3D =
line,
> regardless he also supports H264.
>=20
> At this time Alice must send VP8 (PT 110) to Bob, and Bob must send
> VP8 (PT 100) to Alice. Fine.
>=20
> Later Bob wants to change to H264, so he sends a SDP reoffer to Alice
> by just offering H264 packetization-mode=3D1 (PT 111).
>=20
> Assuming this is valid (re-enabling a previously discarded codec),
> Alice answers the reoffer with just H264 (PT 101).
>=20
>=20
> Is this valid? And a more pragmatic questions: should I assume that
> current WebRTC implementations would support this scenario?
>=20
> Thanks a lot.
>=20
>=20
> --
> I=C3=B1aki Baz Castillo
> <ibc@aliax.net>
>=20
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>=20
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb

