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

"Chenxin (Xin)" <hangzhou.chenxin@huawei.com> Thu, 26 September 2013 13:00 UTC

Return-Path: <hangzhou.chenxin@huawei.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 E0B6921F9BD0 for <rtcweb@ietfa.amsl.com>; Thu, 26 Sep 2013 06:00:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.119
X-Spam-Level:
X-Spam-Status: No, score=-7.119 tagged_above=-999 required=5 tests=[AWL=0.280, BAYES_00=-2.599, GB_I_INVITATION=-2, J_CHICKENPOX_44=0.6, J_CHICKENPOX_93=0.6, RCVD_IN_DNSWL_MED=-4]
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 PBAro-Ca0cMK for <rtcweb@ietfa.amsl.com>; Thu, 26 Sep 2013 06:00:08 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 586F911E8168 for <rtcweb@ietf.org>; Thu, 26 Sep 2013 05:59:49 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml204-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.5-GA FastPath queued) with ESMTP id AVW74649; Thu, 26 Sep 2013 12:59:45 +0000 (GMT)
Received: from LHREML404-HUB.china.huawei.com (10.201.5.218) by lhreml204-edg.china.huawei.com (172.18.7.223) with Microsoft SMTP Server (TLS) id 14.3.146.0; Thu, 26 Sep 2013 13:58:21 +0100
Received: from SZXEMA409-HUB.china.huawei.com (10.82.72.41) by lhreml404-hub.china.huawei.com (10.201.5.218) with Microsoft SMTP Server (TLS) id 14.3.146.0; Thu, 26 Sep 2013 13:59:10 +0100
Received: from SZXEMA504-MBX.china.huawei.com ([169.254.7.96]) by SZXEMA409-HUB.china.huawei.com ([10.82.72.41]) with mapi id 14.03.0146.000; Thu, 26 Sep 2013 20:59:06 +0800
From: "Chenxin (Xin)" <hangzhou.chenxin@huawei.com>
To: Karl Stahl <karl.stahl@intertex.se>, "rtcweb@ietf.org" <rtcweb@ietf.org>, "draft-ietf-rtcweb-use-cases-and-requirements@tools.ietf.org" <draft-ietf-rtcweb-use-cases-and-requirements@tools.ietf.org>
Thread-Topic: [rtcweb] WGLC of draft-ietf-rtcweb-use-cases-and-requirements-11
Thread-Index: AQHOtl/hYQwJQvwb8keiBCP8AmFFOZnUHYEwgABdJ7CAAEbaMIAAkEbggABmefA=
Date: Thu, 26 Sep 2013 12:59:06 +0000
Message-ID: <9E34D50A21D1D1489134B4D770CE03976808095D@SZXEMA504-MBX.china.huawei.com>
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>
In-Reply-To: <0b5b01ceb961$db8cff20$92a6fd60$@stahl@intertex.se>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.166.41.132]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
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 13:00:27 -0000

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