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

José Luis Millán <jmillan@aliax.net> Mon, 17 June 2013 18:52 UTC

Return-Path: <jmillan@aliax.net>
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 C96E821F9CD8 for <rtcweb@ietfa.amsl.com>; Mon, 17 Jun 2013 11:52:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.077
X-Spam-Level:
X-Spam-Status: No, score=-1.077 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, MIME_8BIT_HEADER=0.3, 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 ptkyovaJuiwr for <rtcweb@ietfa.amsl.com>; Mon, 17 Jun 2013 11:52:16 -0700 (PDT)
Received: from mail-vb0-x22e.google.com (mail-vb0-x22e.google.com [IPv6:2607:f8b0:400c:c02::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 3001E21F9CEA for <rtcweb@ietf.org>; Mon, 17 Jun 2013 11:52:12 -0700 (PDT)
Received: by mail-vb0-f46.google.com with SMTP id 10so2222147vbe.19 for <rtcweb@ietf.org>; Mon, 17 Jun 2013 11:52:01 -0700 (PDT)
X-Google-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:content-type:x-gm-message-state; bh=kUBnFj0N0lqfAzCpGjbi/jcpIxTfJybyLV/WiZNbI/o=; b=neQj2THsfPOPje+NnsnniB+ejh1mbqUqKiS/iuVCNAjOM/UU89MuPQuHM8k8s1nSdh /w8EbKvP2rOgGRpTcdUtPVIx/ANnm+MfjZmFkEB1+LwwyAM3U+QxKOb7qXVhhMeZdBo0 enr9LrOOecLDyhbfflwqLBovaAsva4kojSQFDw1K0nNqYDGY0vyqtkKS26Sz9qQKbpKN JnHKUq/SASJQ/zzjq5LFyW1SGpIeshTXx8RWFLJpwE2DcQJ9jysqV+gzk/ZZmiYndbQB AI/GxUXvxcgjS6908Y+bkbzEdVwPpI8sCpHFZ23AVRueTUDnsApzCmSIgEy7mhZHFNUb bpJg==
MIME-Version: 1.0
X-Received: by 10.220.59.69 with SMTP id k5mr4248812vch.34.1371495121664; Mon, 17 Jun 2013 11:52:01 -0700 (PDT)
Received: by 10.220.215.131 with HTTP; Mon, 17 Jun 2013 11:52:01 -0700 (PDT)
In-Reply-To: <CAJrXDUG_mNmYjZJf1nJvUhZf0WkrdmrCxCSdC9WoZspCexWrng@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>
Date: Mon, 17 Jun 2013 20:52:01 +0200
Message-ID: <CABw3bnOAWQsmNW7512Scu2W0RjnBc5otqez4fqMJvfDOKUBNxw@mail.gmail.com>
From: =?UTF-8?B?Sm9zw6kgTHVpcyBNaWxsw6Fu?= <jmillan@aliax.net>
To: Peter Thatcher <pthatcher@google.com>
Content-Type: multipart/alternative; boundary=001a11c2012c89cfa704df5e1731
X-Gm-Message-State: ALoCoQnm7HGNQDbHE7cZqW1YubnNvhg4ku/KKbdlrS07tRaS8q69UyW6XXZakcPDWiuWoJqLpQ/J
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 18:52:17 -0000

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