Re: [rtcweb] Basic scenario 'impossible?' to achieve with the actual API

Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com> Wed, 03 July 2013 07:30 UTC

Return-Path: <stefan.lk.hakansson@ericsson.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 AD03A21F9C87 for <rtcweb@ietfa.amsl.com>; Wed, 3 Jul 2013 00:30:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.33
X-Spam-Level:
X-Spam-Status: No, score=-3.33 tagged_above=-999 required=5 tests=[AWL=-1.631, BAYES_00=-2.599, 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 iGAw+HBxsr5l for <rtcweb@ietfa.amsl.com>; Wed, 3 Jul 2013 00:30:03 -0700 (PDT)
Received: from sesbmg20.ericsson.net (sesbmg20.ericsson.net [193.180.251.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3412821F9C83 for <rtcweb@ietf.org>; Wed, 3 Jul 2013 00:30:03 -0700 (PDT)
X-AuditID: c1b4fb38-b7f456d000002e83-22-51d3d2faeafe
Received: from ESESSHC022.ericsson.se (Unknown_Domain [153.88.253.125]) by sesbmg20.ericsson.net (Symantec Mail Security) with SMTP id 5B.E0.11907.AF2D3D15; Wed, 3 Jul 2013 09:30:02 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.6]) by ESESSHC022.ericsson.se ([153.88.183.84]) with mapi id 14.02.0328.009; Wed, 3 Jul 2013 09:30:01 +0200
From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
To: José Luis Millán <jmillan@aliax.net>
Thread-Topic: [rtcweb] Basic scenario 'impossible?' to achieve with the actual API
Thread-Index: AQHOd06/FDY7Jv7K4kaoB4G5OS/YTA==
Date: Wed, 03 Jul 2013 07:30:00 +0000
Message-ID: <1447FA0C20ED5147A1AA0EF02890A64B1C30A107@ESESSMB209.ericsson.se>
References: <CABw3bnOp1jY6-ziR-PFG4-fRTT5zQ5ebQkmp5PhzeS1ew=h98g@mail.gmail.com> <51D2FC3C.8090609@telecomitalia.it> <CALiegfkrbw7ouiEP726LMOkGJb3bmicU03svZ-3VMLH3Oxhtjw@mail.gmail.com> <57A15FAF9E58F841B2B1651FFE16D2810539DF@GENSJZMBX01.msg.int.genesyslab.com> <CABw3bnPFpzvXXz9qdkuYO1g4K=fqhCoQuzCseup0ZzWHoWRXEw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.146]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsUyM+Jvre6vS5cDDVaskbRoujqNxWLdAROL tf/a2R2YPc41vGf3WPq2g81jyZKfTAHMUVw2Kak5mWWpRfp2CVwZn8//Yyq4IFWxcqJLA+M0 0S5GTg4JAROJhm0TmSBsMYkL99azdTFycQgJHGWUmHu7lxHCWcgosebTITaQKjaBQImt+xYA 2RwcIgK2EpeP+IGEmQWCJSa/hwgLA9mdV3NAwiICIRILjp9ihrD1JK79WMMKYrMIqEg8+7CL BcTmFfCV+P30EjvEqktMEmu3TQNrYAQ66PupNUwQ88Ulbj2ZD3WogMSSPeeZIWxRiZeP/7FC 2EoSPzZcYoGo15O4MXUKG4StLbFs4WtmiGWCEidnPmGZwCg6C8nYWUhaZiFpmYWkZQEjyypG juLU4qTcdCODTYzA6Di45bfFDsbLf20OMUpzsCiJ827ROxMoJJCeWJKanZpakFoUX1Sak1p8 iJGJg1OqgXHHCnGPi6k2S4Tsvj2YueH6dvYHa4U7zG2/ZfC+qrh0+OAGw5knL88V4+vZdjDe K3u66r4UyVNmv2RCt0zyyitruG/a8NKDTW/qou3/Uzt37lgRdUA0RdeNfWXuTvULym0HHQq0 1UqfqvIukbazPbfLZuZFgRtiZt/zbq9nkp97JlIr5uGbXY+VWIozEg21mIuKEwHnqJZxXAIA AA==
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Basic scenario 'impossible?' to achieve with the actual API
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: Wed, 03 Jul 2013 07:30:08 -0000

On 7/2/13 8:05 PM, José Luis Millán wrote:
> In order to avoid the exposed circumstance, where a user has to
> 'suppose' she is sharing her media because there is no way to certainly
> know, yes, the JS application should be able to, at least, check if a
> localMediaStream is being transmitted out of the RTCPeerConnection.

There is a proposal that addresses this:

http://lists.w3.org/Archives/Public/public-webrtc/2013Jan/att-0005/PrioAPI.pdf

(Note that the constraint part would be simplified per the recent 
agreements in the Media Capture TF)

Stefan



>
> This would be a simple task if each mediaStream, or mediaStreamTrack had
> it's own associated (even if logical because of Boundle) transport. In
> that case, such connectivity status would give the information and much
> more control over each media element.
>
>
> 2013/7/2 Jim Barnett <Jim.Barnett@genesyslab.com
> <mailto:Jim.Barnett@genesyslab.com>>
>
>     When the JS calls setRemote with the response (which rejects the
>     video), the UA will know that the video has been rejected.  Is the
>     idea that the UA will let the user know via the chrome?  Do we think
>     it is the JS applications job to notify the user of success/failure,
>     or the UA's?  I don't recall a discussion of this.
>
>     - Jim
>
>     -----Original Message-----
>     From: rtcweb-bounces@ietf.org <mailto:rtcweb-bounces@ietf.org>
>     [mailto:rtcweb-bounces@ietf.org <mailto:rtcweb-bounces@ietf.org>] On
>     Behalf Of Iñaki Baz Castillo
>     Sent: Tuesday, July 02, 2013 12:48 PM
>     To: Enrico Marocco
>     Cc: rtcweb@ietf.org <mailto:rtcweb@ietf.org>
>     Subject: Re: [rtcweb] Basic scenario 'impossible?' to achieve with
>     the actual API
>
>     2013/7/2 Enrico Marocco <enrico.marocco@telecomitalia.it
>     <mailto:enrico.marocco@telecomitalia.it>>:
>      > Audio-only call establishment:
>      >
>      > A --{"action":"CALL","sdp":"v=0..."}-> B B --{"action":"ACCEPT
>      > CALL","sdp":"v=0..."}-> A
>      >
>      > Rejected audio+video upgrade proposal:
>      >
>      > A --{"action":"UPGRADE","sdp":"v=0..."}-> B B --{"action":"REJECT
>      > UPGRADE"}-> A
>
>
>     SDP itself is a media negotiation protocol so SDP (and its WebRTC
>     "API") should provide a way to determine whether the remote has
>     accepted or not our new stream/track. But how? Current API lacks any
>     kind of event for the case in which the remote replies a SDP
>     rejecting our new local strem/track.
>
>     --
>     Iñaki Baz Castillo
>     <ibc@aliax.net <mailto:ibc@aliax.net>>
>     _______________________________________________
>     rtcweb mailing list
>     rtcweb@ietf.org <mailto:rtcweb@ietf.org>
>     https://www.ietf.org/mailman/listinfo/rtcweb
>     _______________________________________________
>     rtcweb mailing list
>     rtcweb@ietf.org <mailto:rtcweb@ietf.org>
>     https://www.ietf.org/mailman/listinfo/rtcweb
>
>
>
>
> --
> José Luis Millán