Re: [rtcweb] #3: JSEP-02 Review (from Andy Hutton)

Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com> Sat, 03 November 2012 13:54 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 9DCB921F982D for <rtcweb@ietfa.amsl.com>; Sat, 3 Nov 2012 06:54:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.793
X-Spam-Level:
X-Spam-Status: No, score=-5.793 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, SUBJECT_FUZZY_TION=0.156]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2bA6E95Xvxzy for <rtcweb@ietfa.amsl.com>; Sat, 3 Nov 2012 06:54:31 -0700 (PDT)
Received: from mailgw7.ericsson.se (mailgw7.ericsson.se [193.180.251.48]) by ietfa.amsl.com (Postfix) with ESMTP id 4577821F981A for <rtcweb@ietf.org>; Sat, 3 Nov 2012 06:54:31 -0700 (PDT)
X-AuditID: c1b4fb30-b7f936d0000018b3-03-509522154f93
Received: from esessmw0184.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw7.ericsson.se (Symantec Mail Security) with SMTP id 9A.E9.06323.51225905; Sat, 3 Nov 2012 14:54:29 +0100 (CET)
Received: from [153.88.5.10] (153.88.115.8) by esessmw0184.eemea.ericsson.se (153.88.115.82) with Microsoft SMTP Server id 8.3.279.1; Sat, 3 Nov 2012 14:54:28 +0100
Message-ID: <50952214.4030409@ericsson.com>
Date: Sat, 03 Nov 2012 14:54:28 +0100
From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <066.b5060d6f1c778a37ddaaeadfa120da84@trac.tools.ietf.org> (trac+rtcweb@grenache.tools.ietf.org) <201211021552.qA2Fq8l1207997@shell01.TheWorld.com> <AE1A6B5FD507DC4FB3C5166F3A05A484160FFB04@tk5ex14mbxc272.redmond.corp.microsoft.com>
In-Reply-To: <AE1A6B5FD507DC4FB3C5166F3A05A484160FFB04@tk5ex14mbxc272.redmond.corp.microsoft.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrDJMWRmVeSWpSXmKPExsUyM+Jvja6Y0tQAg+1zuSzW/mtnd2D0WLLk J1MAYxSXTUpqTmZZapG+XQJXxq4ljgXrBCsW7alpYGzg62Lk5JAQMJF4/vQkO4QtJnHh3nq2 LkYuDiGBk4wSD//MhXJWMEr82r+cDaSKV0Bb4tSDP6xdjBwcLAIqEh97WEHCbAKBEtf//2IC sUUFoiR+bD3LDlEuKHFy5hMWEFtEQFhi66tesBphAWuJJ7M7mCDmf2GU+NIzhxFkJqdAosSF UzkgNcwCthIX5lxngbDlJba/ncMMYgsJ6Eq8e32PdQKjwCwkK2YhaZmFpGUBI/MqRvbcxMyc 9HLzTYzAEDu45bfBDsZN98UOMUpzsCiJ8+qp7vcXEkhPLEnNTk0tSC2KLyrNSS0+xMjEwSnV wBhf3nKjbeHtSonAHaflPMRsjxduebXS8L3b87PL4rtdLaxKkxvm1u1jTWXhDpl6wKVY4PkJ 945JjX9XLmwv2nbmhnzw9D0lCpemrPzA5va77s8po23zLRZOK3xc9/POqXUV4pot/E1nXU4p 2L+bo6zGsVTOujsl4cjU5cubxEoaFmm6ij79kaLEUpyRaKjFXFScCABAsur2/wEAAA==
Subject: Re: [rtcweb] #3: JSEP-02 Review (from Andy Hutton)
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, 03 Nov 2012 13:54:32 -0000

On 2012-11-02 19:30, Matthew Kaufman wrote:
>> -----Original Message----- From: rtcweb-bounces@ietf.org
>> [mailto:rtcweb-bounces@ietf.org] On Behalf Of Dale R. Worley Sent:
>> Friday, November 2, 2012 3:52 PM To: rtcweb@ietf.org Subject: Re:
>> [rtcweb] #3: JSEP-02 Review (from Andy Hutton)
>>
>>> #3: JSEP-02 Review (from Andy Hutton)
>>>
>>> 6. Section 4.2. Session Descriptions and State Machine states:
>>>
>>> "Lastly, while the exact media parameters are only known only
>>> after a offer and an answer have been exchanged, it is possible
>>> for the offerer to  receive media after they have sent an offer
>>> and before they have received  an answer. To properly process
>>> incoming media in this case, the offerer's  media handler must be
>>> aware of the details of the offerer before the  answer arrives."
>>>
>>> I don't see the relevance of the statement "it is possible for
>>> the offerer  to receive media after they have sent an offer and
>>> before they have  received an answer". Why is the purpose of this
>>> statement?
>>
>> Unless one is familiar with how offer/answer works in SIP, one
>> might easily assume that media can only be sent after the
>> offer/answer cycle is complete.
>
> And if one *is* familiar with how offer/answer works in SIP, one
> might easily assume that media can be successfully received and
> played out by the offering side if the answering side were to send
> some before sending an answer. An assumption which often holds in SIP
> but which I believe cannot hold in RTCWEB. While you can create the
> unidirectional *sending* MediaStreams and hook them up, there is no
> way for the receive MediaStreams to "pop out" of the
> RTCPeerConnection prior to an answer (provisional or final) being
> received, and thus no way to "hook up" the video and audio tags in
> advance of those RTP packets potentially arriving from the answering
> side.

I have the same understanding. But I have also been told that the DTLS 
handshake cannot complete until the answer is provided to the offering 
side RTCPeerConnection, so the media could anyway not be decoded before 
the answer is available. I might have gotten this wrong though.