Re: [rtcweb] inactive m-lines in draft-ietf-rtcweb-jsep-05

Martin Thomson <martin.thomson@gmail.com> Tue, 29 October 2013 18:27 UTC

Return-Path: <martin.thomson@gmail.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 C81BB21F8E97 for <rtcweb@ietfa.amsl.com>; Tue, 29 Oct 2013 11:27:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.52
X-Spam-Level:
X-Spam-Status: No, score=-2.52 tagged_above=-999 required=5 tests=[AWL=0.080, BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MqC9rtQwo9sc for <rtcweb@ietfa.amsl.com>; Tue, 29 Oct 2013 11:27:38 -0700 (PDT)
Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) by ietfa.amsl.com (Postfix) with ESMTP id AD57811E8110 for <rtcweb@ietf.org>; Tue, 29 Oct 2013 11:27:35 -0700 (PDT)
Received: by mail-we0-f181.google.com with SMTP id t60so242296wes.40 for <rtcweb@ietf.org>; Tue, 29 Oct 2013 11:27:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ObuDvM3m2hsLUojezhB43nYcftkUhqF9SKkmMbV4VGI=; b=Fw/NDHeBvsvnKWq7E5ROnQoSNXeTP1wXXYBtb3DYOnr7fdBxD0+RQqIExc/62avZsD /XEmJ4rHaqmGXbLOwIVTY/DkCD4+5V+2wAC+5EoOTFX1fS0BdcxyyPSWAag0sIJlYXlg dVwefE/9Og8eJw6ZqEf7U1zBoMnDB1K1KuR9N2B8jqH9xP+DAHNQqVovgvt5v+iF2E6c 4r4hYW5jgbZlaYLtwf7DL4Zu2SzCJ6QglBVuCQEiCk7zYeQBTwugZWlVmHTlaZ5p2/lX jMAEw9XEY2W0m33Sg+1gkIlYYKUSw2sJi/Wfol4aM+s8qEixCsQgMIfnMIvrHvlKY3aO vS/Q==
MIME-Version: 1.0
X-Received: by 10.194.2.108 with SMTP id 12mr947393wjt.64.1383071254684; Tue, 29 Oct 2013 11:27:34 -0700 (PDT)
Received: by 10.227.202.194 with HTTP; Tue, 29 Oct 2013 11:27:34 -0700 (PDT)
In-Reply-To: <526FCEC1.7000904@alum.mit.edu>
References: <526FCEC1.7000904@alum.mit.edu>
Date: Tue, 29 Oct 2013 11:27:34 -0700
Message-ID: <CABkgnnV4OpPNV41g4owehWOXRv0eiFb6njiu9tChQyOVR8-E3A@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Content-Type: text/plain; charset=UTF-8
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] inactive m-lines in draft-ietf-rtcweb-jsep-05
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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 Oct 2013 18:27:38 -0000

On 29 October 2013 08:05, Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:
> How is this expected to work? Is the browser supposed to do this in the
> absence of a MediaStreamTrack?

As I understand it, and my understanding is probably imperfect [22],
the idea is that at all points where an offer or answer is
constructed, the using application has access to MediaStreamTrack
objects that relate to the various m-lines.  Mostly.

That is, prior to creating an offer, you have the MediaStreamTrack
instances that relate to what you are sending.  And Prior to creating
an answer, you have both the tracks you want to send and the ones that
you want to receive.  Adam has proposed [2] that enabling or disabling
these tracks causes the appropriate a=sendonly/etc. attribute to be
set.

The only case that is a little strange is the one relating to the
received streams when creating an initial offer, where you use the
OfferToReceiveAudio or OfferToReceiveVideo constraint in order to
indirectly control the send/recv attributes.


[22] by which I do not offer as a failing on my part, ...
[2] http://lists.w3.org/Archives/Public/public-webrtc/2013Oct/0058.html