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

Matthew Kaufman <matthew.kaufman@skype.net> Fri, 02 November 2012 18:31 UTC

Return-Path: <matthew.kaufman@skype.net>
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 E97341F0C6E for <rtcweb@ietfa.amsl.com>; Fri, 2 Nov 2012 11:31:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.171
X-Spam-Level:
X-Spam-Status: No, score=-2.171 tagged_above=-999 required=5 tests=[AWL=0.272, BAYES_00=-2.599, 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 fgAvtrqsKDub for <rtcweb@ietfa.amsl.com>; Fri, 2 Nov 2012 11:31:41 -0700 (PDT)
Received: from NA01-BL2-obe.outbound.protection.outlook.com (na01-bl2-obe.ptr.protection.outlook.com [65.55.169.30]) by ietfa.amsl.com (Postfix) with ESMTP id 2E6F01F0C6A for <rtcweb@ietf.org>; Fri, 2 Nov 2012 11:31:40 -0700 (PDT)
Received: from BY2FFO11FD012.protection.gbl (10.1.15.200) by BY2FFO11HUB039.protection.gbl (10.1.14.122) with Microsoft SMTP Server (TLS) id 15.0.545.8; Fri, 2 Nov 2012 18:31:37 +0000
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (131.107.125.37) by BY2FFO11FD012.mail.protection.outlook.com (10.1.14.130) with Microsoft SMTP Server (TLS) id 15.0.545.8 via Frontend Transport; Fri, 2 Nov 2012 18:31:37 +0000
Received: from TK5EX14MBXC272.redmond.corp.microsoft.com ([169.254.2.52]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.178]) with mapi id 14.02.0318.003; Fri, 2 Nov 2012 18:30:53 +0000
From: Matthew Kaufman <matthew.kaufman@skype.net>
To: "Dale R. Worley" <worley@ariadne.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] #3: JSEP-02 Review (from Andy Hutton)
Thread-Index: AQHNuRJLzVnrRqz+kEerz/qLVogJ7pfW3JiQ
Date: Fri, 02 Nov 2012 18:30:52 +0000
Message-ID: <AE1A6B5FD507DC4FB3C5166F3A05A484160FFB04@tk5ex14mbxc272.redmond.corp.microsoft.com>
References: <066.b5060d6f1c778a37ddaaeadfa120da84@trac.tools.ietf.org> (trac+rtcweb@grenache.tools.ietf.org) <201211021552.qA2Fq8l1207997@shell01.TheWorld.com>
In-Reply-To: <201211021552.qA2Fq8l1207997@shell01.TheWorld.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.72]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(51704002)(377454001)(13464001)(54356001)(74662001)(44976002)(76482001)(47446002)(50466001)(53806001)(54316001)(46102001)(5343655001)(31966008)(16406001)(47776002)(47736001)(50986001)(48376001)(51856001)(74502001)(33656001)(49866001)(47976001)(4396001); DIR:OUT; LANG:en;
X-OriginatorOrg: microsoft.onmicrosoft.com
X-Forefront-PRVS: 06530126A4
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: Fri, 02 Nov 2012 18:31:42 -0000

> -----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.

> >  14. Section 5.2.3 SessionDescriptionType
> >
> >  ""pranswer" indicates that a description should be parsed as an
> > answer,  but not a final answer, and so should not result in the freeing of
> >  allocated resources.  It may result in the start of media   transmission,
> >  if the answer does not specify an inactive media direction".
> 
> Do we have any need for "pranswer"?

Standard Answer #22 applies.

Matthew Kaufman