Re: [rtcweb] Proposal for a JS API for NoPlan (adding multiple sources without encoding them in SDP)

Peter Thatcher <pthatcher@google.com> Mon, 17 June 2013 19:33 UTC

Return-Path: <pthatcher@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 DA1B621E8054 for <rtcweb@ietfa.amsl.com>; Mon, 17 Jun 2013 12:33:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.489
X-Spam-Level:
X-Spam-Status: No, score=-1.489 tagged_above=-999 required=5 tests=[AWL=-0.413, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, MIME_8BIT_HEADER=0.3]
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 zTbZjuf38CaU for <rtcweb@ietfa.amsl.com>; Mon, 17 Jun 2013 12:33:18 -0700 (PDT)
Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by ietfa.amsl.com (Postfix) with ESMTP id C169821E8053 for <rtcweb@ietf.org>; Mon, 17 Jun 2013 12:33:18 -0700 (PDT)
Received: by mail-pd0-f181.google.com with SMTP id 14so3107109pdj.12 for <rtcweb@ietf.org>; Mon, 17 Jun 2013 12:33:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=RLjYjdq1d7ZGtLe6oi7lig8+KH0QWWQUFJLxR9D1BHM=; b=EQJN9OvqDKUKN7LcsbAC3Gnh3qZmzcPKjoJWRjNbiexojRciQtQ3KZXBQ6qR9Y9+Ez ohK0aDqYHcE2iF+NI5eH7Z56+x5EI8WBMLpDgDZuHFa5DMbKZrkPY39U1tg2L+LI81P8 kxvT7X9Mi2kBFK6yjQbJRCU3wDwToJienYJzZr/6BvmL+aJ1973C6g0LY3KXHGkfSRsa RTepjIxm0ZHpgRmr0CqceXyimXSgtCvl3UY+2CRdI77ha8YCyDd5oZ1nSc6xBmKDcwTi 29pTclW09cHqHmPhY/dDA/pJAvskTlg28SQuTFOGYiD2Gs/uA8egPRVydIcpjtYZ1oyZ Jbig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=RLjYjdq1d7ZGtLe6oi7lig8+KH0QWWQUFJLxR9D1BHM=; b=An62nXXu/tnuDELqwghn396hCK/GwwXisX7G6pMQVnyjsyfUktYK9ggiIFrFl2z525 Xg7/naikKjxMNcx12K0WLcBFYLOb+/cQYXWvmSccjbG8783f+ImSVSNLUB+apvQKgHEL TG57QDVdZClkWbwNU2SvuB2jMGMGCfjUMq+Hz+2BLwRkaS5NtytEUsX7/wxemoN1FtHQ aYnhasTWCx5Vh+nQAsTG8bYVrmIFkXhXfolEZ8DNhb3aXwUy9lXQtpodjBQe5VODaBnr tjsuGArBfotWMveCTnaa4+5MCb6vyd7POdzANn+g7QrdFsBeK5ysMAImeUi/VLfg3MQi uJbw==
X-Received: by 10.68.69.108 with SMTP id d12mr14207736pbu.187.1371497598423; Mon, 17 Jun 2013 12:33:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.88.8 with HTTP; Mon, 17 Jun 2013 12:32:38 -0700 (PDT)
In-Reply-To: <CABw3bnOAWQsmNW7512Scu2W0RjnBc5otqez4fqMJvfDOKUBNxw@mail.gmail.com>
References: <CAJrXDUHdoxLTsofiwLBdwBNnCCkCBgjSdbmLaXrNEPODMrsSVA@mail.gmail.com> <1447FA0C20ED5147A1AA0EF02890A64B1C2FC071@ESESSMB209.ericsson.se> <CAJrXDUEL1ynci_bwLydYgvWD=+FQKhurzV3vC0X4LrgBjUMrkA@mail.gmail.com> <57A15FAF9E58F841B2B1651FFE16D28104C918@GENSJZMBX01.msg.int.genesyslab.com> <CAJrXDUHphQq+=vWRNjuRN1BAcUz4kfUf7DEwCPgBBX-esQh0HQ@mail.gmail.com> <CALiegfmNS=CJkUC76Lz2DW2Zuntffa9Xh1fwopqT033aRN3R_A@mail.gmail.com> <CAJrXDUG_mNmYjZJf1nJvUhZf0WkrdmrCxCSdC9WoZspCexWrng@mail.gmail.com> <CABw3bnOAWQsmNW7512Scu2W0RjnBc5otqez4fqMJvfDOKUBNxw@mail.gmail.com>
From: Peter Thatcher <pthatcher@google.com>
Date: Mon, 17 Jun 2013 12:32:38 -0700
Message-ID: <CAJrXDUFLxHpjgoNCdumD_b69D1VEgB2rFeS=X5TriBfOZQ5N8A@mail.gmail.com>
To: =?UTF-8?B?Sm9zw6kgTHVpcyBNaWxsw6Fu?= <jmillan@aliax.net>
Content-Type: multipart/alternative; boundary=0015174989ee2a392c04df5eab20
X-Gm-Message-State: ALoCoQnWj64WcH2p3ClMIt0Fsj/UlFOAok7LbHW6JCSxFEUdhkySZuk4wwSW9LYPRVdcAkc079Y8BDU0dI/ZdwkHqoWaB5EuO9aET6fV4/RDAacLWfTY5GoA4DwekZuEvJ5dB6jY97+wDBBzvrQ1IQ6kDmM/udJn5/TKbsNqjevhFe3fXiryWIM7mESuYNiw+yHsmcQziXUv
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Proposal for a JS API for NoPlan (adding multiple sources without encoding them in SDP)
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: Mon, 17 Jun 2013 19:33:23 -0000

What do you mean by "change to an existing media stream"?  Do you mean
adding and removing tracks?  I don't know of any other changes that can be
made to a MediaStream.


On Mon, Jun 17, 2013 at 11:52 AM, José Luis Millán <jmillan@aliax.net>wrote:

> Hi,
>
>
> 2013/6/17 Peter Thatcher <pthatcher@google.com>;
>
>> In that use case, just call createLocalStream again with the new
>> MediaStream from GetUserMedia and get a new LocalMediaStream.  There's no
>> need to alter the existing one.
>>
>>
> On the receiver side, I would expect to represent each remote MediaStream
> on its own audio+video display element.
>
> If, as a sender, I create a new LocalStream to represent a change in an
> existent media stream source, how will the receiver notice that the NEW
> MediaStream does refer to the previous one?
>
>
>
>
>>
>> On Mon, Jun 17, 2013 at 9:34 AM, Iñaki Baz Castillo <ibc@aliax.net>wrote:
>>
>>> 2013/6/17 Peter Thatcher <pthatcher@google.com>;:
>>> > But I don't really see a use case where you would need to add tracks
>>> to a
>>> > MediaStreamTrackDescription, other than when parsing signalling and
>>> building
>>> > the MediaStreamTrackDescription to send down into createRemoteStream.
>>> > Perhaps if we had a use case, we could define such support.  But
>>> otherwise,
>>> > I'd say it's not allowed.
>>>
>>> Use case:
>>>
>>> - Start a session/call with just audio (no video requested to the user
>>> via getUserMedia).
>>> - Latter the user wants to add video.
>>> - For that a new getUserMedia(video: true) is requested.
>>> - Extract the video track from the obtained MediaStream and add it to
>>> the PC.
>>>
>>> Hope this is an enough common use case.
>>>
>>>
>>> --
>>> Iñaki Baz Castillo
>>> <ibc@aliax.net>;
>>>
>>
>>
>> _______________________________________________
>> rtcweb mailing list
>> rtcweb@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtcweb
>>
>>
>
>
> --
> José Luis Millán
>