Re: [rtcweb] Mute implementations (Re: More Comments ondraft-ietf-rtcweb-use-cases-and-requirements-07)

Randell Jesup <randell-ietf@jesup.org> Sun, 17 June 2012 00:38 UTC

Return-Path: <randell-ietf@jesup.org>
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 CBBF521F8534 for <rtcweb@ietfa.amsl.com>; Sat, 16 Jun 2012 17:38:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.267
X-Spam-Level:
X-Spam-Status: No, score=-2.267 tagged_above=-999 required=5 tests=[AWL=0.332, BAYES_00=-2.599]
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 vWSFEAFDOTM7 for <rtcweb@ietfa.amsl.com>; Sat, 16 Jun 2012 17:38:34 -0700 (PDT)
Received: from r2-chicago.webserversystems.com (r2-chicago.webserversystems.com [173.236.101.58]) by ietfa.amsl.com (Postfix) with ESMTP id 5A15121F8533 for <rtcweb@ietf.org>; Sat, 16 Jun 2012 17:38:29 -0700 (PDT)
Received: from pool-108-16-41-249.phlapa.fios.verizon.net ([108.16.41.249] helo=[192.168.1.11]) by r2-chicago.webserversystems.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <randell-ietf@jesup.org>) id 1Sg3Vd-0006SG-Fa for rtcweb@ietf.org; Sat, 16 Jun 2012 19:38:29 -0500
Message-ID: <4FDD2706.3040202@jesup.org>
Date: Sat, 16 Jun 2012 20:38:30 -0400
From: Randell Jesup <randell-ietf@jesup.org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <5A2F246E-9D77-4B72-B3F1-681B00FA99FD@cisco.com><AAB6A6B6-BEC7-436C-B1EB-2C117596C7C6@cisco.com><F3D4ABD6AB47084B84337CF4F3446A464B2F2631AC@ESESSCMS0362.eemea.ericsson.se><9F33F40F6F2CD847824537F3C4E37DDF021B53@MCHP04MSX.global-ad.net><CA+9kkMCL1k3x2hYi632nDU2g6CtOq3O7risDi38+7FTeWkxcGA@mail.gmail.com><9F33F40F6F2CD847824537F3C4E37DDF0223ED@MCHP04MSX.global-ad.net><4FD89773.3090506@ericsson.com><9F33F40F6F2CD847824537F3C4E37DDF02594D@MCHP04MSX.global-ad.net><4FD9AD1E.6060504@alvestrand.no> <4FD9E2BE.2080907@ericsson.com><CAOJ7v-18EynuscX3tLRryzqKxyXwYzES9K4zroE-5=FL4o8WzA@mail.gmail.com><4FDB9E20.8070408@jesup.org><CABkgnnVqeyuayFsiA7YD+OFnyCi8tqode6VdypeaHKT+Z73KWw@mail.gmail.com><4FDBA6AC.2080107@jesup.org> <4FDCE4D4.7070909@alvestrand.no> <E17CAD772E76C742B645BD4DC602CD8106581BE5@NAHALD.us.int.genesyslab.com> <4FDCEDC2.2040903@alvestrand.no> <E17CAD772E76C742B645BD4DC602CD8106581BEA@NAHALD.us.int.genesyslab.com>
In-Reply-To: <E17CAD772E76C742B645BD4DC602CD8106581BEA@NAHALD.us.int.genesyslab.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - r2-chicago.webserversystems.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jesup.org
X-Source:
X-Source-Args:
X-Source-Dir:
Subject: Re: [rtcweb] Mute implementations (Re: More Comments ondraft-ietf-rtcweb-use-cases-and-requirements-07)
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: Sun, 17 Jun 2012 00:38:36 -0000

On 6/16/2012 5:58 PM, Jim Barnett wrote:
> It's capturing the requirement accurately that I'm concerned with.  I
> think "To be able to change the source of a video stream after its
> creation" is too broad, in the sense that someone might interpret it to
> mean that the system could shift from the front to the rear camera
> without asking permission.  For mute and hold, we want something like
> "switch to a dummy source and back".  The source that we switch to in
> cases like this is not a 'first-class' video source, but rather a
> place-holder.  That's very different from switching to another live
> source.

Which, by the way, we should be able to do.

MediaStreams need to be able to be repointed, switched, processed, etc, 
OR you need to be able to replace a MediaStream in the inputs to 
PeerConnection with another one transparently without renegotiation (and 
that misses a bunch of uses).

The MediaStream Processing provides a mechanism to do this for both 
audio and video, plus the ability to do more complex operations 
(cross-fades audio-and-video, frame-accurate source switches, etc).

If you don't have or use that, you need the ability to replace a track 
in a MediaStream with another track.

All we're talking about are mechanisms to shuffle existing or creatable 
tracks/streams; a new camera source would require a call to 
getUserMedia() and a dialog.  Once you had front and back, you could 
switch sources without effectively shutting down all media and restarting.

Simple one camera -> one video stream mechanisms are insufficient for 
application using these features.  If you force people, they'll roll 
their own using canvases, etc.

I want something generic and usable in lots of interesting ways, not a 
few special-purpose pre-coded mechanisms (for example, a 
track.setMuteImage() method).

-- 
Randell Jesup
randell-ietf@jesup.org