Re: [rtcweb] codec and connection negotiation

Harald Alvestrand <harald@alvestrand.no> Mon, 08 August 2011 08:58 UTC

Return-Path: <harald@alvestrand.no>
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 1554921F8AA9 for <rtcweb@ietfa.amsl.com>; Mon, 8 Aug 2011 01:58:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 hXaEdnP8sRHT for <rtcweb@ietfa.amsl.com>; Mon, 8 Aug 2011 01:58:13 -0700 (PDT)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id BFB4321F8A96 for <rtcweb@ietf.org>; Mon, 8 Aug 2011 01:58:09 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 094EF39E162; Mon, 8 Aug 2011 10:57:23 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y5iOas7vMzu5; Mon, 8 Aug 2011 10:57:21 +0200 (CEST)
Received: from [192.168.80.87] (unknown [193.212.24.100]) by eikenes.alvestrand.no (Postfix) with ESMTPS id 25F1339E12F; Mon, 8 Aug 2011 10:57:21 +0200 (CEST)
Message-ID: <4E3FA538.3000301@alvestrand.no>
Date: Mon, 08 Aug 2011 10:58:32 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: "Parthasarathi R (partr)" <partr@cisco.com>
References: <4E3C377A.5090105@skype.net> <4E3C3C2C.4020808@skype.net> <A11921905DA1564D9BCF64A6430A62390608EBEC@XMB-BGL-411.cisco.com>
In-Reply-To: <A11921905DA1564D9BCF64A6430A62390608EBEC@XMB-BGL-411.cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] codec and connection negotiation
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: Mon, 08 Aug 2011 08:58:14 -0000

On 08/06/11 11:43, Parthasarathi R (partr) wrote:
> Matthew,
>
> I'm seeing two aspects here
>
> 1) API: Level of control has to be given to the Javascript programmer.
> Here, the discussion has to focus on the abstraction by which
> application shall be developed easily without much understanding the
> protocol intricacies. Even API shall be provided to the extent that
> username&  destination host (xyz@abc.com) as a input shall trigger the
> session creation with default codec.
Partha,

two comments:
- I do not see a requirement that all scenarios use usernames.
- in "xyz@abc.com", "xyz" is not necessarily an username, and "abc.com" 
is not necessarily a hostname.
Even when identity is mediated via the Domain Name System, there may be 
no host with that name.

> 2) Protocol: The protocol selection has to be based on better interop
> with other browsers and other VoIP entity also. I'm not favoring for
> creating different island of realtime protocol which has to interop with
> "n" of gateways.
>
> Please read inline for more comments.
>
> Thanks
> Partha
>
>
> -----Original Message-----
> From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On Behalf
> Of Matthew Kaufman
> Sent: Saturday, August 06, 2011 12:24 AM
> To: rtcweb@ietf.org
> Subject: Re: [rtcweb] codec and connection negotiation
>
> Now, to follow up on my previous message with a bit of opinion...
>
> I think we should not use SDP as the API,
>
> <partha>  It is fine to discuss which level of control has to be
> provided.</partha>
>
>   and we should not have the browser implementing SDP offer-answer.
> <partha>  I could not see the strong reason for not doing so.</partha>
>
> 1. If SDP offer-answer is all that is available to the Javascript
> programmer (and server programmer), it becomes very difficult to know
> what the full capability set is without complex probing. This
> significantly complicates the building of future innovative applications
> on top of the browser as platform. Many of the current applications that
> show off browser capabilities do so by using capabilities that were
> already present for other reasons, and we can expect the same innovation
> to occur here, if we provide the tools.
>
> 2. Using SDP offer-answer has the advantage of reusing all the IETF
> standards work that occurs to define SDP when a new codec comes along.
> But it also has the *disadvantage* of having to wait for the IETF to
> produce these standards, which may be incomplete, or unable to control
> parameters which are necessary for web applications.
> <partha>  I prefer standard over proprietary mechanism because standard
> may delay but proprietary is normal uncontrolled and impossible to
> interop with other webservers</partha>
>
> 3. Anything that is missing in SDP (example: forcing the Opus codec to
> "music" mode for encoding) will still need to be exposed as a Javascript
> API on the encoder. Thus we end up with a mix of possibly-conflicting
> settings that are adjusted via the explicit API and the opaque SDP API.
> <partha>  It is possible to integrate unknown SDP attribute&  known SDP
> attribute using the proper API design. It is the basic requirement in
> any SDP stack API today.</partha>
>
> 4. Other work in browsers (like recording camera and microphone to disk)
> will require the ability to directly control the encoders. If these APIs
> exist then there will definitely be conflicting settings. What happens
> if you feed in an SDP answer that requires VP8 encoding and then set the
> encoder to H.264 mode via the Javascript?
> <partha>  I'm reading your query as how to priortize the value in case
> extra environment change the value. It has to be worked out</partha>
>
>
> Matthew Kaufman
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>