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

Roman Shpount <roman@telurix.com> Fri, 08 April 2016 22:27 UTC

Return-Path: <roman@telurix.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 902EC12D5A5 for <rtcweb@ietfa.amsl.com>; Fri, 8 Apr 2016 15:27:33 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telurix-com.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 WKq5sPko4IFe for <rtcweb@ietfa.amsl.com>; Fri, 8 Apr 2016 15:27:32 -0700 (PDT)
Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (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 D41F412D17A for <rtcweb@ietf.org>; Fri, 8 Apr 2016 15:27:31 -0700 (PDT)
Received: by mail-io0-x22e.google.com with SMTP id g185so148128956ioa.2 for <rtcweb@ietf.org>; Fri, 08 Apr 2016 15:27:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=Z4k0A9O2J+fUcBNtxxORrni1SbRCld6hOzXOv6fY2O4=; b=CgFU53vKYgF7zJd6nZBg0xVLtONwaoUZcM7mkkovalNVa32VZHiwMV3PE47p8Ja8/Y IMarJIbGL8jY3U6bPghjZapO4MjxY8TAm3/5WuaF0+Pvgx1V5o2PeyQM01kNjgg3EG5v 67Sg5FbWkSAFRnffw9lh8XaRDVwOxr7+FYEXz7UmlF6oAZGmbvDSK3WHMsEjlwqeJH79 1B+lhfvFHH27jIskmnt7RL2NeD4BfSwfUkjPGa1nZGXEG7eXV0XDKI0Fe2U/UhDfLMW+ Pu1wj4FXczLcdNgaZZtiafKXu1Payxe+dAkhuBmTH8FTXQiDqCUYKyskGA6fpRLnxxok ODXA==
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=Z4k0A9O2J+fUcBNtxxORrni1SbRCld6hOzXOv6fY2O4=; b=NMuWxOoWZ6uSr5LEA3PddM+rW0VigqcO+onBxmtvJ/4dm5utoo2iDbihX5dXXV0epH Yxo5zwN3zPeiHo3Xj1gdwAFgjzMuhyKBfhdSnGurbtYhg6/JLzKxekNRW5NOcvLOu4CB CH4hnFmrU7JsbD7LuX2F9YEENewjekGOWqPdmTKetDTchK+nTG7XXa+EwTngMj2roFHh mScttyCiqbfREQq0HwUYDNPDhi88mcJtuH1X2HH7ikIaUBJ8fsZ8AMKQarUjZWjmG72G rU3zPGwEMwzxpgYH27QEiU1SvQuHVZHQpWCK3ZXNvA+4G6Ul5+lFwx+lDGtInm/gccS3 N5rg==
X-Gm-Message-State: AD7BkJKiYu4giKUAXIWzvtTXEsrFDbTDAurMQN3WcWScm2r1Co2VgKIZpIlkycs76tgnXA==
X-Received: by 10.107.156.9 with SMTP id f9mr11931878ioe.120.1460154451204; Fri, 08 Apr 2016 15:27:31 -0700 (PDT)
Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com. [209.85.213.176]) by smtp.gmail.com with ESMTPSA id k2sm3294198igx.5.2016.04.08.15.27.30 for <rtcweb@ietf.org> (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Apr 2016 15:27:30 -0700 (PDT)
Received: by mail-ig0-f176.google.com with SMTP id gy3so45756571igb.1 for <rtcweb@ietf.org>; Fri, 08 Apr 2016 15:27:30 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.50.93.138 with SMTP id cu10mr6335425igb.96.1460154450214; Fri, 08 Apr 2016 15:27:30 -0700 (PDT)
Received: by 10.36.106.194 with HTTP; Fri, 8 Apr 2016 15:27:30 -0700 (PDT)
In-Reply-To: <CAK35n0b=Qa5JxqrMUdSH92uw4U3=HyFuKSspZjgKN8vn_MuSqg@mail.gmail.com>
References: <5708256F.5080205@alum.mit.edu> <57082A21.7010005@alvestrand.no> <CAK35n0b=Qa5JxqrMUdSH92uw4U3=HyFuKSspZjgKN8vn_MuSqg@mail.gmail.com>
Date: Fri, 08 Apr 2016 18:27:30 -0400
X-Gmail-Original-Message-ID: <CAD5OKxuaxNEP6+vkzFTXi3Cacp3OEYuKMSNbPMHwpMjiNb+SiQ@mail.gmail.com>
Message-ID: <CAD5OKxuaxNEP6+vkzFTXi3Cacp3OEYuKMSNbPMHwpMjiNb+SiQ@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
To: Taylor Brandstetter <deadbeef@google.com>
Content-Type: multipart/alternative; boundary="bcaec502d300528d2e053000b3e2"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/p6evUVXaRDSHvLBcHbPNvv_4biI>
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:27:33 -0000

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