Re: [rtcweb] Minimal SDP negotiation mechanism

Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 20 September 2011 13:22 UTC

Return-Path: <magnus.westerlund@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 B4DF821F8520 for <rtcweb@ietfa.amsl.com>; Tue, 20 Sep 2011 06:22:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.516
X-Spam-Level:
X-Spam-Status: No, score=-106.516 tagged_above=-999 required=5 tests=[AWL=0.083, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 Dt53n7pkQc+K for <rtcweb@ietfa.amsl.com>; Tue, 20 Sep 2011 06:22:13 -0700 (PDT)
Received: from mailgw10.se.ericsson.net (mailgw10.se.ericsson.net [193.180.251.61]) by ietfa.amsl.com (Postfix) with ESMTP id EB85821F8514 for <rtcweb@ietf.org>; Tue, 20 Sep 2011 06:22:12 -0700 (PDT)
X-AuditID: c1b4fb3d-b7c47ae000000b17-30-4e7894150ae3
Received: from esessmw0237.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw10.se.ericsson.net (Symantec Mail Security) with SMTP id 28.87.02839.514987E4; Tue, 20 Sep 2011 15:24:37 +0200 (CEST)
Received: from [127.0.0.1] (153.88.115.8) by esessmw0237.eemea.ericsson.se (153.88.115.91) with Microsoft SMTP Server id 8.3.137.0; Tue, 20 Sep 2011 15:24:36 +0200
Message-ID: <4E78940C.4040405@ericsson.com>
Date: Tue, 20 Sep 2011 15:24:28 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
MIME-Version: 1.0
To: Harald Alvestrand <harald@alvestrand.no>
References: <4E777500.5030201@alvestrand.no>
In-Reply-To: <4E777500.5030201@alvestrand.no>
X-Enigmail-Version: 1.3.1
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: AAAAAA==
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Minimal SDP negotiation mechanism
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: Tue, 20 Sep 2011 13:22:13 -0000

On 2011-09-19 18:59, Harald Alvestrand wrote:

> We need to handle glare - when one sends an OFFER and gets back an 
> OFFER, reply with SDP ERROR, enter a "glare" state, wait a bit, and send 
> out an offer again.
> 

I think that is a bad design for glare handling. I agree it needs to be
handled. I think the ICE version of glare handling could work pretty
well here. Any offer needs to include a random 32 bit number. If the
end-point receive an offer in relation to a peer-connection while it has
an outstanding offer then it compares these codes. Who ever has the
greatest numerical value wins and that offer is handled the other is
responded with an error stating GLARE. Thus there is no extra delay and
more clear resolution of the glare case.

Cheers

Magnus Westerlund

----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------