Re: [rtcweb] New Draft - WebRTC JS Object API Model

Robin Raymond <robin@hookflash.com> Tue, 02 July 2013 12:23 UTC

Return-Path: <robin@hookflash.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 422A611E810F for <rtcweb@ietfa.amsl.com>; Tue, 2 Jul 2013 05:23:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.398
X-Spam-Level:
X-Spam-Status: No, score=-2.398 tagged_above=-999 required=5 tests=[AWL=1.200, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 eCnWKzZzTMoD for <rtcweb@ietfa.amsl.com>; Tue, 2 Jul 2013 05:23:04 -0700 (PDT)
Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by ietfa.amsl.com (Postfix) with ESMTP id B00E811E80A2 for <rtcweb@ietf.org>; Tue, 2 Jul 2013 05:23:04 -0700 (PDT)
Received: by mail-ie0-f169.google.com with SMTP id 10so12292833ied.0 for <rtcweb@ietf.org>; Tue, 02 Jul 2013 05:23:04 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:x-gm-message-state; bh=sn42e4QrmF1y1E909jtPVA1+5uvJN6jPqnzgDZxnymE=; b=IBtIrwtIqjTATg4FGocoebW8A/vB6q/LyTNP3KeE9ZpBKyBMqWDLUqg5/wPztpxHL4 q+BKGQG12mQnN4HgTtJbYIk9rLKpmJh7tFopSsoqC0rCzuM++MqGHp9cnIYnCiBYXs/j 8m4DdXenmOLRG3pGPoJiLIYIxq5sH7bzl08jkhr3i6cYHD/x0m/lIGI8tt7g2WEM6e+E cMTy9fpDIznd1AQah+8f9GZpi61zjigMJ+sBCA9hR/4sHFsURTu1vvoTBnM74GNeSQJf +SfyDctDT+gVZF46MvGcRM6TytPHNQ1ijMcoUewtVSFXUfoJ3kDJIni74M5V6u5xpkJk iDWQ==
X-Received: by 10.50.112.4 with SMTP id im4mr20664145igb.1.1372767783964; Tue, 02 Jul 2013 05:23:03 -0700 (PDT)
Received: from Robins-MacBook-Pro.local (CPE602ad08742f7-CM602ad08742f4.cpe.net.cable.rogers.com. [99.224.116.224]) by mx.google.com with ESMTPSA id kj5sm18104323igb.7.2013.07.02.05.23.00 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Jul 2013 05:23:02 -0700 (PDT)
Message-ID: <51D2C622.7040306@hookflash.com>
Date: Tue, 02 Jul 2013 08:22:58 -0400
From: Robin Raymond <robin@hookflash.com>
User-Agent: Postbox 3.0.8 (Macintosh/20130427)
MIME-Version: 1.0
To: Tim Panton <tim@phonefromhere.com>
References: <51CA6FEE.6030702@hookflash.com> <1447FA0C20ED5147A1AA0EF02890A64B1C3093E0@ESESSMB209.ericsson.se> <CALiegfmsahUM6w00thQSCu3CpKse2C3LKSb1LzkwodNgKTOK0g@mail.gmail.com> <1447FA0C20ED5147A1AA0EF02890A64B1C309655@ESESSMB209.ericsson.se> <CALiegfnAN9SJx0nLyegFJoQscG-18Gs4umd-pe7S3y6xREpByQ@mail.gmail.com> <CA+9kkMC5FoxKSz7DuHxN8cEO=0PDpoAGrLshpFmnDe3gco06cw@mail.gmail.com> <CALiegfnpj+nBdhn0g8A7iTdXKZdqvwyffjdLAOuM_qQkhTuKew@mail.gmail.com> <CA+9kkMA1PhoJB9qGUnXDUHRJNac5OszM4o5O7-6aCU-ahszMNw@mail.gmail.com> <CALiegfkei-dS-EHt2vqofft_uhKNz+UuK7R5LX3bgDkh=0ZwqQ@mail.gmail.com> <1447FA0C20ED5147A1AA0EF02890A64B1C30979C@ESESSMB209.ericsson.se> <CAD5OKxs3Zb2CMHsAGUA2hcdDA7tWxUCmH6RbnRt7MGU+JCknqw@mail.gmail.com> <1447FA0C20ED5147A1AA0EF02890A64B1C3098BA@ESESSMB209.ericsson.se> <E6230622-C447-44B4-8F7B-108760792A16@phonefromhere.com>
In-Reply-To: <E6230622-C447-44B4-8F7B-108760792A16@phonefromhere.com>
Content-Type: multipart/alternative; boundary="------------080109050809070304050709"
X-Gm-Message-State: ALoCoQl5Yx8pLlM3Ctu2FiQMkdNpBkmB53rC0iJiRJR4evcFQo7Y3BKp3cj89Z0Va+DOg97L0+Mg
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] New Draft - WebRTC JS Object API Model
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, 02 Jul 2013 12:23:09 -0000

You are absolutely, there are  a lot of details. But splitting the 
details into logical separate components reduces the overall complexity 
greatly. Plus many of those details are only needed because of a lack 
ability to properly describe the concept of "streams" at the lower level 
RTP layer (which really only supports tracks at best, and lacks 
sufficient details to coordinate any information between them to 
reassembly remotely as a "stream"). So we are left in a situation where 
the high layers must coordinate a lot of information to be capable of 
reassembling the streams when they really should be just negotiating the 
capabilities of the RTP layer itself.

For example, the only thing that should be needed is a flag that says 
FEC is available in the signaling for the the RTP layer. If it is set 
then that would imply the engine supports this feature and thus FEC 
streams may be created by the sending party. Alas, because RTP lacks 
sufficient depth for such concepts like FEC, you have to signal it. RTP 
doesn't even have enough information to reassemble tracks into stream, 
let allow do things like FEC between them.

Having said that, by making a scoped object that understands there is 
some definition of what a stream means needs to be describes, but 
perhaps that the "future' may not require such crazy definitions like 
all the stream/ssrc/track mappings, it allows for a short/long-term 
temporary situation where stream definitions are passed until we are 
able move to a model where that is no longer needed. When a theoretical 
next-gen RTP transport is capable of sending entire streams and 
reassembling them without explicit signaling from an upper layer, we can 
stop defining all that mapping stuff in signaling and remove that 
complexity.

Basically, it's about scoping the objects, and limiting the requirements 
needed to exchange per object, and defining exactly what is 
expected/required in those definitions and allowing for future 
alternative objects that could replace current ones (if they should 
become available). The other important aspect is removing the definition 
how this information must be coordinated and exchanged to allow for a 
variety of signaling scenarios and alternative state machines. And 
keeping it relatively simple is important for the simple use cases too 
so the burden is low. We are well on our way to producing such a draft 
in short order that does exactly that.

All we ask is that people keep an open mind. We have no desire to 
prevent SDP or offer/answer, just not mandate its usage as an API model.

Make sense?

-Robin

> Tim Panton <mailto:tim@phonefromhere.com>
> 2 July, 2013 4:31 AM
>
> On 2 Jul 2013, at 08:21, Stefan Håkansson LK wrote:
>
> Conversely we shouldn't underestimate (again) the difficulty of 
> describing all the
> nitty gritty details in SDP.
>
> I have the sense that we may have pushed the flexibility of SDP beyond 
> it's elastic limit.
>
> I think that over the last year we have discovered that a dynamically 
> programmable browser
> is a fundamentally different beast from a deskphone and that what 
> suits one may well not suit the other.
>
> Tim.
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>