Re: [rtcweb] Quick comments on draft-roach-rtcweb-glareless-add-00

Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com> Sat, 11 May 2013 11:50 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 927E621F8E94; Sat, 11 May 2013 04:50:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.949
X-Spam-Level:
X-Spam-Status: No, score=-5.949 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, MIME_8BIT_HEADER=0.3, 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 nPCg2FRjRApI; Sat, 11 May 2013 04:50:06 -0700 (PDT)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id B2F3F21F8E8E; Sat, 11 May 2013 04:50:05 -0700 (PDT)
X-AuditID: c1b4fb2d-b7f536d000006e05-a4-518e306c3ccc
Received: from ESESSHC002.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 9C.02.28165.C603E815; Sat, 11 May 2013 13:50:04 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.167]) by ESESSHC002.ericsson.se ([153.88.183.24]) with mapi id 14.02.0328.009; Sat, 11 May 2013 13:50:04 +0200
From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Thread-Topic: [rtcweb] Quick comments on draft-roach-rtcweb-glareless-add-00
Thread-Index: AQHOS2hQZBBwa2OZtEiOSK4AxzMZ0w==
Date: Sat, 11 May 2013 11:50:03 +0000
Message-ID: <1447FA0C20ED5147A1AA0EF02890A64B1C2C807D@ESESSMB209.ericsson.se>
References: <CA+9kkMDWy_Koq0Aun5A330O7OOMt9vimWPNe_uznAQdr0TSfow@mail.gmail.com> <51897B11.60004@nostrum.com> <518AB095.7010401@alum.mit.edu> <518AC143.2010006@nostrum.com> <1447FA0C20ED5147A1AA0EF02890A64B1C2C70B9@ESESSMB209.ericsson.se> <518D6482.2010008@alum.mit.edu>
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+NgFjrPLMWRmVeSWpSXmKPExsUyM+JvrW6OQV+gwdpfuhZ7/i5it5i6/DGL xYoNB1gt1v5rZ3dg8fj7/gOTx5IlP5k8Zu18whLAHMVlk5Kak1mWWqRvl8CVseHhEvaCZUIV a360sDUwHuLrYuTkkBAwkTi25xgzhC0mceHeerYuRi4OIYHDjBK9R78wQjhLGCVmrVsGVsUm ECixdd8CoCoODhEBDYlJW9VATGaBXIkv0wJAKoQFvCW2bVgIVi0i4COx/uYhdghbT6Kldwsr iM0ioCpx7dU5MJtXwFfiw5/drBCrpjFJdE5ZxQaSYAQ66PupNUwgNrOAuMStJ/OZIA4VkFiy 5zzU0aISLx//Y4WwlSR+bLjEAlGvJ3Fj6hQ2CFtbYtnC18wQywQlTs58wjKBUXQWkrGzkLTM QtIyC0nLAkaWVYzsuYmZOenlhpsYgZFycMtv3R2Mp86JHGKU5mBREudN4moMFBJITyxJzU5N LUgtii8qzUktPsTIxMEp1cCoI/my++fviee+t79TOVnbeOPCcr6rHuf1WOyXav7NnL5CIDPt WMGpbab6kQVH37+vumKTtcz2lc9X/fuTbLSmuMnfrpsrxvqNjfuu/Fq1+FdxQvf8j02e8v9U 79dp5VeZio7sUBZIcrhzd1axd97+uW2blVPydKUvp2zKuZXy7u4aldu7z8fdUmIpzkg01GIu Kk4EAES/Z81iAgAA
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>, "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [rtcweb] Quick comments on draft-roach-rtcweb-glareless-add-00
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: Sat, 11 May 2013 11:50:12 -0000

On 5/10/13 11:20 PM, Paul Kyzivat wrote:
> On 5/10/13 2:37 AM, Stefan Håkansson LK wrote:
> ...
>> But I can easily think of other situations that would lead to glare for
>> Plan A.
>>
>> Just as an example, think about a conference scenario with a centralized
>> node. Now, one of the participants wants to mute her/his audio, and as a
>> result the audio m-line would go from sendrecv to recvonly. At roughly
>> the same time the server wants to disable the high res video and enable
>> the low res video (because this user will be moved, based e.g. on the
>> recent audio activity, from being displayed in the main video window to
>> be in a thumbnail on the screen of the other participants in the
>> conference), so it wants to manipulate the direction attribute of other
>> m-lines.
>>
>> So there would be two offers sent at roughly the same time, which means
>> we would have glare.
>
> What do you mean by "roughly"?
>
> How long does it take to do an O/A exchange that doesn't require human
> input? Presumably less than a second, maybe considerably less. (Or will
> it be more with RTCWEB and web servers in the path?)

That sounds right to me.

>
> What is the probability that the other side, for independent reasons,
> decides to make a change within that interval? (And it isn't really the
> whole interval - it is only the first part of it.)

Given that in multiparty services the "main" video changes quite often, 
I'd not say this is extremely low. It will happen.

But, given that there is a way to roll-back in a predictable way I think 
glare resolution could be quick - nothing stops the web application from 
including a random number in every offer, and resolve glare based on 
that (one of the offers "win").

So I think glare will happen in practice (that is what I wanted to point 
out), but it is not a show-stopper provided there is a way to roll back.

>
> There may indeed be realistic cases for glare, but they will probably be
> because both changes are keyed to a common event.
>
> 	Thanks,
> 	Paul
>
>