Re: [rtcweb] Basic scenario 'impossible?' to achieve with the actual API
Lorenzo Miniero <lorenzo@meetecho.com> Wed, 03 July 2013 12:32 UTC
Return-Path: <lorenzo@meetecho.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 4065621F9CE1 for <rtcweb@ietfa.amsl.com>; Wed, 3 Jul 2013 05:32:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.419
X-Spam-Level:
X-Spam-Status: No, score=-0.419 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245, 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 82HjNMJ7ew2c for <rtcweb@ietfa.amsl.com>; Wed, 3 Jul 2013 05:32:04 -0700 (PDT)
Received: from smtpdg10.aruba.it (smtpdg4.aruba.it [62.149.158.234]) by ietfa.amsl.com (Postfix) with ESMTP id 099FE21F9CEC for <rtcweb@ietf.org>; Wed, 3 Jul 2013 05:32:03 -0700 (PDT)
Received: from lminiero ([143.225.229.175]) by smtpcmd04.ad.aruba.it with bizsmtp id voXz1l00Q3niPy701oXzUl; Wed, 03 Jul 2013 14:32:00 +0200
Date: Wed, 03 Jul 2013 14:31:58 +0200
From: Lorenzo Miniero <lorenzo@meetecho.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Message-ID: <20130703143158.69136796@lminiero>
In-Reply-To: <CALiegfk+qd7vuZK=kHg4C7-D++cZZQv9ifHAOFEu37RuSMqZgg@mail.gmail.com>
References: <CABw3bnOp1jY6-ziR-PFG4-fRTT5zQ5ebQkmp5PhzeS1ew=h98g@mail.gmail.com> <51D2FC3C.8090609@telecomitalia.it> <CALiegfkrbw7ouiEP726LMOkGJb3bmicU03svZ-3VMLH3Oxhtjw@mail.gmail.com> <57A15FAF9E58F841B2B1651FFE16D2810539DF@GENSJZMBX01.msg.int.genesyslab.com> <20130702200750.73d1e5b9@rainpc> <CALiegfk+qd7vuZK=kHg4C7-D++cZZQv9ifHAOFEu37RuSMqZgg@mail.gmail.com>
Organization: Meetecho
X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-redhat-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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 12:32:10 -0000
Il giorno Wed, 3 Jul 2013 13:58:54 +0200 Iñaki Baz Castillo <ibc@aliax.net> ha scritto: > 2013/7/2 Lorenzo Miniero <lorenzo@meetecho.com>: > > In the case of Alice trying to add video and Bob rejecting it, > > there may be no callback as of now, but the JS application should > > already have a way to know the video has been rejected > > nevertheless. It might just look at the updated MediaStream > > instance: if nothing changed, video was rejected (unless in case > > Bob is only receiving video and not sending it, e.g., because it > > has no webcam, there would be no video track as well?). > > One more comment about this: > > The fact that Alice offers video to Bob does not mean that Bob also > should offer video to Alice. It could perfectly occur that Alice > offers video to Bob, Bob accepts receiving it but Bob does not send > video to Alice (i.e. "a=recvonly"). > Yes, that's what I meant by the "unless...": I'm not sure a remote MediaStream would look different in case of no video at all or a recvonly video. If not, I agree that not even the ugly approach I mentioned would work. L. > The problem described in this issue is the fact that Alice has no way > to realize whether Bob has accepted receiving her video or not. Bob > has replied to the video offer with "m=video 0" or "a=inactive", which > means that there won't be video RTP from Alice to Bob. But there is no > way for Alice's JS to realize of that so Alice's will expect that Bob > is receiving her video (when he is not). There is no API callback to > know whether the remote has accepted our flows or not. > > > -- > Iñaki Baz Castillo > <ibc@aliax.net>
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Stefan Håkansson LK
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Martin Thomson
- [rtcweb] Basic scenario 'impossible?' to achieve … José Luis Millán
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Enrico Marocco
- Re: [rtcweb] Basic scenario 'impossible?' to achi… José Luis Millán
- Re: [rtcweb] Basic scenario 'impossible?' to achi… José Luis Millán
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Iñaki Baz Castillo
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Jim Barnett
- Re: [rtcweb] Basic scenario 'impossible?' to achi… José Luis Millán
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Martin Thomson
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Lorenzo Miniero
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Lorenzo Miniero
- Re: [rtcweb] Basic scenario 'impossible?' to achi… José Luis Millán
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Enrico Marocco
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Roman Shpount
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Iñaki Baz Castillo
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Stefan Håkansson LK
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Enrico Marocco
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Iñaki Baz Castillo
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Iñaki Baz Castillo
- Re: [rtcweb] Basic scenario 'impossible?' to achi… Lorenzo Miniero