Re: [rtcweb] Followup to discussion of O/A and codecs from Friday session

Taylor Brandstetter <deadbeef@google.com> Fri, 08 April 2016 22:47 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 DE4D012D581 for <rtcweb@ietfa.amsl.com>; Fri, 8 Apr 2016 15:47:03 -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 3jwK9BmJjPPl for <rtcweb@ietfa.amsl.com>; Fri, 8 Apr 2016 15:47:01 -0700 (PDT)
Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::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 96CF412D529 for <rtcweb@ietf.org>; Fri, 8 Apr 2016 15:47:01 -0700 (PDT)
Received: by mail-yw0-x22b.google.com with SMTP id i84so145156044ywc.2 for <rtcweb@ietf.org>; Fri, 08 Apr 2016 15:47: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=eWQTwAVvDErOCAoXeE3NK00vk7tw6fzwoVV5KQtf8rY=; b=eDF2UV/LJkhlNpdfEfLOZjaQn3hCBchFP8ID77MAww1tKRfQlS5gIXUlB390hKgtjq iBz0LN/X8T6SSTFQRftA8Yxarx8I7KIW0SPnlvHHTLqEMXOydXQ+UcdFUUBVUBrb2B31 GbQfJKlGwRcPCND9aM1mrCmdcpajUGD2s1lxAqpcQIIHzkPl1E2esKcxAkxqgYJMED3m YBCOKiVnES2Z31d5Zw+lLyxkuqO4cVACqdbTHObhXg2lXS5ug7N8Q1GBTJZ6xBDCkr2r fYncUEzRXhe246NlpvYhlekDSH8DliM/9VB5zxtliElICDClfpTLVzinKUIpRYlr1hZS ma3Q==
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=eWQTwAVvDErOCAoXeE3NK00vk7tw6fzwoVV5KQtf8rY=; b=Ad7OvpJWzmlhQv9bnITk4eQzE8KBao5u0LRmcQ03UdyyHu+jlM4fEMA6BxHcBvPfGE qPaWO0tUpN7Gfi5jrYWIGXcAfzc20+VitRs/pOCTF7W7FBF7IKoN2F96SXLHs+MVAjEl H2DkpQOeq78AErv+VlLBpwLxsxHTBDnjllHuqxPCW4LFQW+mIBFGviZnFsz7pyx21MMW KjZNj9fjWpdAYbD+JWQKwhR2ajP+xBGDsvRi3WSEKielY2ELlmaAi+xdarZG6GIibogu XYeyh64bBK4YTqRjRh/nHNFJe9uYAW/t1fjN/9GzBAA6aCQswrxmPuqtjnDbV9HbfQ6S Hl1A==
X-Gm-Message-State: AD7BkJJIWCdAsSfmfRzYv5rGqe+AAhN7hNfFEwEZHR138vEvD/f0FlzDCWdleZ9ZUwYjmhES/GaFKSzPf9dhfBBE
MIME-Version: 1.0
X-Received: by 10.37.19.67 with SMTP id 64mr6114109ybt.20.1460155620717; Fri, 08 Apr 2016 15:47:00 -0700 (PDT)
Received: by 10.129.98.9 with HTTP; Fri, 8 Apr 2016 15:47:00 -0700 (PDT)
In-Reply-To: <CAK35n0bk2jXJTgzutzzktoo1cEWgk1Vfofg7_DkDcyV5j_zdtg@mail.gmail.com>
References: <5708256F.5080205@alum.mit.edu> <57082A21.7010005@alvestrand.no> <CAK35n0b=Qa5JxqrMUdSH92uw4U3=HyFuKSspZjgKN8vn_MuSqg@mail.gmail.com> <CAD5OKxuaxNEP6+vkzFTXi3Cacp3OEYuKMSNbPMHwpMjiNb+SiQ@mail.gmail.com> <CAK35n0bk2jXJTgzutzzktoo1cEWgk1Vfofg7_DkDcyV5j_zdtg@mail.gmail.com>
Date: Fri, 08 Apr 2016 15:47:00 -0700
Message-ID: <CAK35n0ZwHbWag8YRWnD10pxR+-GMhX83z+uOtHdjyS=2vLnVTw@mail.gmail.com>
From: Taylor Brandstetter <deadbeef@google.com>
To: Roman Shpount <roman@telurix.com>
Content-Type: multipart/alternative; boundary="001a113e490a1748d9053000f902"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/tHzYg8szvfgqjx9C4g1ZmFmjMQ0>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Followup to discussion of O/A and codecs from Friday session
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: Fri, 08 Apr 2016 22:47:04 -0000

Actually, I see that Section 5.1 states:
>
> [T]he answerer MAY change formats in the middle of the session, making use of any of the formats listed [in the offer], without sending a new offer.
>
> So, does the combination of these statements imply that the answerer MUST
start by sending a format common to both the offer and the answer, but
later MAY switch to a format specific to the offer? That seems odd, but I
can't think of any other conclusion.

On Fri, Apr 8, 2016 at 3:36 PM, Taylor Brandstetter <deadbeef@google.com>
wrote:

> I understand if that was the intent, but that's not what RFC 3264 seems to
> say. Both Section 6 and Section 8.3.2 state that the answer MUST send a
> codec listed in both the offer and the answer.
>
> So is RFC 3264 wrong? Or is my interpretation of the rule wrong?
>
> On Fri, Apr 8, 2016 at 3:27 PM, Roman Shpount <roman@telurix.com> wrote:
>
>>
>> On Fri, Apr 8, 2016 at 6:18 PM, Taylor Brandstetter <deadbeef@google.com>
>> wrote:
>>
>>> In Section 6 of RFC 3264:
>>>
>>>> The answerer MUST send using a media format in the offer that is also listed in the answer
>>>>
>>>> So, if X offers A and B, and Y answers B, how would Y be able to send
>>> A? It's not in both the offer and the answer.
>>>
>>>
>> A does not have to be in both offer and answer. Offer/Answer is
>> declarative capability exchange with each side declaring what it is willing
>> to receive. It is not intended to pick a single codec. Negotiation is
>> considered successful if there is at least one common codec, but there are
>> no other requirements. Each party can send any codec remote party is
>> willing to receive and can switch between the codecs remote party supports
>> at any time. So in this example, Y can not only send A but can switch
>> between A and B at any time.
>>
>> Also, answer can include codecs which were not present in the offer, so
>> the whole situation can be reversed.
>> _____________
>> Roman Shpount
>>
>>
>
>