Re: [rtcweb] WGLC of draft-ietf-rtcweb-use-cases-and-requirements-11

"Karl Stahl" <karl.stahl@intertex.se> Thu, 26 September 2013 15:49 UTC

Return-Path: <karl.stahl@intertex.se>
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 3B40021F9C46 for <rtcweb@ietfa.amsl.com>; Thu, 26 Sep 2013 08:49:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[AWL=-0.145, BAYES_00=-2.599, GB_I_INVITATION=-2, J_CHICKENPOX_36=0.6, J_CHICKENPOX_44=0.6, J_CHICKENPOX_62=0.6, J_CHICKENPOX_93=0.6, MSGID_MULTIPLE_AT=1.449, RCVD_IN_DNSWL_LOW=-1]
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 7l+YnQqnl-IB for <rtcweb@ietfa.amsl.com>; Thu, 26 Sep 2013 08:49:19 -0700 (PDT)
Received: from smtp.it-norr.com (smtp.it-norr.com [80.244.64.161]) by ietfa.amsl.com (Postfix) with ESMTP id 55B5721F9B08 for <rtcweb@ietf.org>; Thu, 26 Sep 2013 08:47:54 -0700 (PDT)
Received: from ([90.229.134.75]) by smtp.it-norr.com (Telecom3 SMTP service) with ASMTP id 201309261747488060; Thu, 26 Sep 2013 17:47:48 +0200
From: Karl Stahl <karl.stahl@intertex.se>
To: "'Chenxin (Xin)'" <hangzhou.chenxin@huawei.com>, rtcweb@ietf.org, draft-ietf-rtcweb-use-cases-and-requirements@tools.ietf.org
References: <C5E08FE080ACFD4DAE31E4BDBF944EB11667BBA0@xmb-aln-x02.cisco.com> <5238446D.8050700@ericsson.com> <9F33F40F6F2CD847824537F3C4E37DDF17BCF581@MCHP04MSX.global-ad.net> <07a601ceb64e$5caaba00$16002e00$@stahl@intertex.se> <07b001ceb65f$ce3f0cf0$6abd26d0$@stahl@intertex.se> <9E34D50A21D1D1489134B4D770CE0397680804B3@SZXEMA504-MBX.china.huawei.com> <09d801ceb8f4$3b50dfd0$b1f29f70$@stahl@intertex.se> <9E34D50A21D1D1489134B4D770CE0397680805AC@SZXEMA504-MBX.china.huawei.com> <0b5b01ceb961$db8cff20$92a6fd60$@stahl@intertex.se> <9E34D50A21D1D1489134B4D770CE03976808095D@SZXEMA504-MBX.china.huawei.com>
In-Reply-To: <9E34D50A21D1D1489134B4D770CE03976808095D@SZXEMA504-MBX.china.huawei.com>
Date: Thu, 26 Sep 2013 17:47:48 +0200
Message-ID: <0d8101cebacf$c08f5aa0$41ae0fe0$@stahl>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AQHOtl/hYQwJQvwb8keiBCP8AmFFOZnUHYEwgABdJ7CAAEbaMIAAkEbggABmefCAAnUBoA==
Content-Language: sv
Subject: Re: [rtcweb] WGLC of draft-ietf-rtcweb-use-cases-and-requirements-11
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: Thu, 26 Sep 2013 15:49:27 -0000

Hi Xin,
> permission to access the device is orthogonal to consent to transmit the
media to whom....

Thanks for the draft pointer, but what about the common usage that I pass
you a link: "Click here so we can discuss further", You click and run _my_
application och you are prompted by your browser to permit Mic&Camera, and
get no further option at all to restrict to only voice?

Doesn't _the browser_ really have to show an "Only Mic"-permission also,
i.e. three buttons "Deny", "Video Call", "Voice Call"?

/Karl

-----Ursprungligt meddelande-----
Från: Chenxin (Xin) [mailto:hangzhou.chenxin@huawei.com] 
Skickat: den 26 september 2013 14:59
Till: Karl Stahl; rtcweb@ietf.org;
draft-ietf-rtcweb-use-cases-and-requirements@tools.ietf.org
Ämne: RE: [rtcweb] WGLC of draft-ietf-rtcweb-use-cases-and-requirements-11

Hi karl,

>-----Original Message-----
>From: Karl Stahl [mailto:karl.stahl@intertex.se]
>Sent: Wednesday, September 25, 2013 4:09 AM
>To: Chenxin (Xin); rtcweb@ietf.org;
>draft-ietf-rtcweb-use-cases-and-requirements@tools.ietf.org
>Subject: SV: [rtcweb] WGLC of 
>draft-ietf-rtcweb-use-cases-and-requirements-11
>
>
>
>-----Ursprungligt meddelande-----
>Från: Chenxin (Xin) [mailto:hangzhou.chenxin@huawei.com]
>Skickat: den 24 september 2013 13:56
>Till: Karl Stahl; rtcweb@ietf.org;
>draft-ietf-rtcweb-use-cases-and-requirements@tools.ietf.org
>Ämne: RE: [rtcweb] WGLC of 
>draft-ietf-rtcweb-use-cases-and-requirements-11
>
>Hi Karl,
>>>While reading the draft-ietf-rtcweb-use-cases-and-requirements-11,
>>>here are a few "telephony related" WebRTC things I think should be 
>>>clarified in the use cases.
>>>
>>>
>>>3.2.1.  Simple Video Communication Service 3.2.1.1.  Description ...
>>>The invited user might accept or reject the session.
>>>[Suggest adding] The invited user might accept only audio, rejecting 
>>>video (even if a camera is enabled). A user may also select to 
>>>initiate an audio session, without video.
>>>
>>>And in API requirements:
>>>   ----------------------------------------------------------------
>>>   A1      The Web API must provide means for the application to ask the
>>>browser for permission to use cameras and microphones, individually 
>>>as input devices. (One must be able to answer with voice only - 
>>>declining
>>video.)
>>>   ----------------------------------------------------------------
>>
>>>Same under
>>>6.2.  Browser Considerations
>>>...
>>>The browser is expected to provide mechanisms for users to revise and 
>>>even completely revoke consent to use device resources such as camera 
>>>and microphone. [Suggest adding] Specifically, a user must be given 
>>>the opportunity to only accept audio in a video call invitation.
>>>
>>[Xin] it is a common use case to accept only audio call and reject the 
>>video and quite useful. But I am doubt that this function should be 
>>mixed with video or audio device access permission . Do I 
>>misunderstand
>your proposal?
>>I think we could just disable the video stream when signaling. So we 
>>could make video call with one and reject it with other in the same 
>>web-service. I think the audio and video device access permission is 
>>not for each call(peer connection).
>>
>>Thanks,
>>   Xin
>>[Karl] Try using a WebRTC application with Chrome and you will see: 
>>The Permission/Allowance to use Camera and Microphone comes up at a 
>>bar at the top of the browser window and is the actual answering of a
call.
>
>[Xin] yes, it come up because invoking the getUserMedia API. When we 
>write the webrtc app, we could call getUserMedia API just once and use 
>the same mediaStream later. The webrtc app could decide to send the 
>video stream to the other side or not by configure the signaling(SDP or 
>other).  It is trivial to click the Permission bar at the top every 
>time when I get a call, even terrible when join a p2p conference.
>That is the reason I think the use case you mentioned should not mix 
>with permission, which should be a signaling configuration problem. Now 
>in Chrome,we could control it by using creatOffer or createAnswer and 
>setting the OfferToReceiveVideo constraint.
>
>Thanks,
>   Xin
>[Karl] If you permit the Browser to use the camera, then later "answer 
>with only audio in the application" (as I understand you suggest)
[Xin] this is the function of PeerConnection API in W3C. 

- Can we trust
>that the application isn't sending our video anyway - not even informing
us?
>
>I don't think we can trust any video WebRTC application, but will learn 
>to only trust well known browsers not to view us, when we don't want to 
>be seen.
>
>Isn't this a necessary security thing?
>
>/Karl
>
[Xin] I agree with you that the app is possible to steal user's video or
audio stream. 
But it is still hard to controI if the stream from getUserMedia could be
used by other call(peerconnection) as designed in API now.

What I want to say is that the permission to access the device is orthogonal
to consent to transmit the media to whom. The first one is for a site. The
second one is for a user, it could be guaranteed by other ways, such as
identity, media-encryption and so on, which need other consent method. 

 There are some details in
http://tools.ietf.org/html/draft-ietf-rtcweb-security-05#section-4.1.2.1