Re: [rtcweb] Plan A, respun

Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com> Thu, 09 May 2013 11:41 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 6139B21F8E6B; Thu, 9 May 2013 04:41:56 -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=[AWL=-0.000, 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 lVI5uTR8ocOm; Thu, 9 May 2013 04:41:50 -0700 (PDT)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id 7705B21F8E51; Thu, 9 May 2013 04:41:49 -0700 (PDT)
X-AuditID: c1b4fb2d-b7f536d000006e05-dc-518b8b7bb3d3
Received: from esessmw0247.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id CF.B1.28165.B7B8B815; Thu, 9 May 2013 13:41:48 +0200 (CEST)
Received: from [153.88.16.182] (153.88.115.8) by esessmw0247.eemea.ericsson.se (153.88.115.94) with Microsoft SMTP Server id 8.3.279.1; Thu, 9 May 2013 13:41:47 +0200
Message-ID: <518B8B7A.3050509@ericsson.com>
Date: Thu, 09 May 2013 13:41:46 +0200
From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
References: <51894846.3090102@nostrum.com> <518A474C.5020200@ericsson.com> <CABkgnnUhV9_82AP=LxbeHCZ855nxuFHqMx7SYFk98sCLd1nTBA@mail.gmail.com>
In-Reply-To: <CABkgnnUhV9_82AP=LxbeHCZ855nxuFHqMx7SYFk98sCLd1nTBA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkluLIzCtJLcpLzFFi42KZGfG3VremuzvQ4PFrDotrZ/4xWkxd/pjF Yu2/dnYHZo+ds+6yeyxZ8pMpgCmKyyYlNSezLLVI3y6BK+PQ1yPMBZcFK770vmVqYJzC18XI ySEhYCKx899hVghbTOLCvfVsXYxcHEICpxgl1h9eyAjhrGKUWHDrOhtIFa+AtsSxX/uZQGwW ARWJC+fWMoPYbALBEvuXrwerERWIkvj3djcjRL2gxMmZT1hAbBEBXYlFZx+wg9jMAv4S567s B6rh4BAGmnP4chnErn5GiUW/L7KDxDkFAiVeL3KBKLeQWPzmIFSrvETz1tlga4WARr57fY91 AqPgLCTbZiFpmYWkZQEj8ypG9tzEzJz0csNNjMDgPLjlt+4OxlPnRA4xSnOwKInzJnE1BgoJ pCeWpGanphakFsUXleakFh9iZOLglGpglOPTKpzzKzD58/w0UxXxc9ZrI40mHtwtL673NkSv d7Pbm/98qkmVqzlcX2ubhPoc1lSZ61CuK3REg+tNJuujucLbmDScuaObD63IXiD1fjnLf8ZH +adNZrOJvsmal34nKShLr9Vhs6dm1tuNi+fNaFHQcTrns3+v6YuyTVoTGVyZF/d8MbJVYinO SDTUYi4qTgQAoHP9ChwCAAA=
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>, "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [rtcweb] Plan A, respun
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, 09 May 2013 11:41:56 -0000

On 2013-05-08 17:43, Martin Thomson wrote:
> On 8 May 2013 05:38, Stefan Håkansson LK
> <stefan.lk.hakansson@ericsson.com> wrote:
>> A couple of questions (and sorry for the rtcweb/webrtc centric perspective)
>> for clarification:
>>
>> * How would the info about PC-track and PC-stream id's be conveyed (I assume
>> the msid draft)?
>
> Yes, that's a solved problem. No sense reiterating it in the draft
> (it's orthogonal to what the draft actually addresses).

Right, just wanted it clarified.

>
>> * What is your thinking regarding mapping between PC-tracks and m-lines? For
>> example, if Alice's app initiates a session with two video PC-track's
>> flowing to Bob's app, that would presumable create a session with two
>> sendonly m-lines. If, at a later stage, Bob's app upgrades the session by
>> sending three video PC-tracks to Alice's app. How would the Bob -> Alice
>> video PC-tracks be allocated to the existing m-lines (becoming sendrecv),
>> and how would pick which one to use a new m-line? E.g., would it be random,
>> or should the app decide, and based on what in that case?
>
> Alice's offer would contain at least two m-lines.  Those would not
> necessarily be sendonly.  If she was capable of receiving more than 2
> inbound, the offer could contain recvonly lines too (I believe that
> this fits with the OfferToReceiveVideo=n constraint).

OK. So if Alice's app used OfferToReceiveVideo=0, then both m-lines 
would be sendonly, 1 would give one sendrecv and one sendonly and so on.

So, if OfferToReceiveVideo=0 was used (or was even the default), we 
would in the case of a symmetric service (Alices's and Bob's apps 
intending to send the same amount of audio and video tracks, and doing 
it from the start of the session) actually end up with the same 3-way 
handshake as in Plan B (since sendonly/recvonly can't be upgraded to 
sendrecv without a new offer)?

(I have no problem with that behavior, I just want to understand)

> Of course, if
> those lines were not compatible with what Bob wanted to send (too
> much, different codecs, different constraints, etc...), then Bob is
> required to send another offer to get his media out.

...because new m-lines are required.

>