Re: [rtcweb] Traffic should be encrypted. (Re: Let's define the purpose of WebRTC)

Tim Panton <tim@phonefromhere.com> Tue, 15 November 2011 12:35 UTC

Return-Path: <tim@phonefromhere.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 14D3D21F8F4A for <rtcweb@ietfa.amsl.com>; Tue, 15 Nov 2011 04:35:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.561
X-Spam-Level:
X-Spam-Status: No, score=-2.561 tagged_above=-999 required=5 tests=[AWL=0.038, BAYES_00=-2.599]
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 5jjRAnDVpy+D for <rtcweb@ietfa.amsl.com>; Tue, 15 Nov 2011 04:35:14 -0800 (PST)
Received: from zimbra.westhawk.co.uk (zimbra.westhawk.co.uk [192.67.4.167]) by ietfa.amsl.com (Postfix) with ESMTP id 45E0821F8ED5 for <rtcweb@ietf.org>; Tue, 15 Nov 2011 04:35:13 -0800 (PST)
Received: from [192.168.0.14] (unknown [93.89.81.113]) by zimbra.westhawk.co.uk (Postfix) with ESMTP id C4AF637A902; Tue, 15 Nov 2011 12:47:50 +0000 (GMT)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="utf-8"
From: Tim Panton <tim@phonefromhere.com>
In-Reply-To: <4EC0D37B.9020207@alvestrand.no>
Date: Tue, 15 Nov 2011 12:35:02 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <792ECBD5-493A-4687-BA50-7064C6FFB9BA@phonefromhere.com>
References: <CALiegfkVNVAs_MyU_-4koA4zRwSn1-FwLjY9g_oZVkhi9rSK5Q@mail.gmail.com> <CAD5OKxvQYVKOZF88WLCiRseg-qXQdOpKeDU_t9b-yA2GcDBT-w@mail.gmail.com> <CABcZeBOiPxz_swdaG6Aqoch1WAUtjNh4eOQy1QObCDXT_B8azg@mail.gmail.com> <CAD5OKxtp+LQBRCHgbWdJyrSRcpNQ82i64TJgGtGPrE7+GKcEog@mail.gmail.com> <4EBC3475.90706@alvestrand.no> <CAD5OKxu_-+ZRsqpUBkFSj=tYtOKG0pK3JoQTZHwQGMuBCnp0Gw@mail.gmail.com> <CAD5OKxuaWJ3SBv+0gac6EQy6-Lsb-LS_SBXk5FqObKy4mN6wNg@mail.gmail.com> <CCF4FC92-D5AA-43C8-A0B2-8041C9B8E1BD@edvina.net> <CAD5OKxs-pWwDBjwAu=mQVWRZa4H_YPpzQ31=0qxUUj-pJOErcg@mail.gmail.com> <A2DFC694-DBDF-4DB4-8DE0-DD638C7AF2BE@acmepacket.com> <CALiegfkU1qhLmhY9L373pF7j9zwHipFfu4mAuY49RDTNL7V5Vg@mail.gmail.com> <C11CACFE-FE5A-43F2-8B61-6ABC9965B7FC@acmepacket.com> <CAOJ7v-3w4t0oYKs+01srAmPGziYt6vVZNOQwbpZ7YWUFZtP20w@mail.gmail.com> <CAMujMTyDnS7UHzqHcr=VKD26n2NSmz8wmRUK0E1XomTT6Wujow@mail.gmail.com> <4EC04998.9070300@acm.org> <47BA59C6-6827-4E03-AF79-251403925334@phonefromhere.com> <4EC0D37B.90202 07@alvestrand.no>
To: Harald Alvestrand <harald@alvestrand.no>
X-Mailer: Apple Mail (2.1084)
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Traffic should be encrypted. (Re: Let's define the purpose of WebRTC)
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, 15 Nov 2011 12:35:15 -0000

On 14 Nov 2011, at 08:38, Harald Alvestrand wrote:

> On 11/14/2011 04:30 PM, Tim Panton wrote:
>> On 13 Nov 2011, at 22:50, Marc Petit-Huguenin wrote:
>> 
>>> On 11/13/2011 01:46 PM, Miguel Casas-Sanchez wrote:
>>>> İt is indeed very interesting to have interoperability with loads of systems,
>>>> but that should (personal opinion) be left to the applications, and not be
>>>> suggested in a standard that everyone will need to parse. So: keep standard lean
>>>> would be my vote (=leave dtmf out) try and focus on mandatory and really
>>>> nice-to-have features.
>>>> Miguel
>>> I do not know why you and others are singling out DTMF.  I am no fan of building
>>> stuff around carriers needs myself, but DTMF is a codec, no more, no less.  Even
>>> the fast codec switching mechanism is not special - comfort noise use it too,
>>> and a system that would recognize music and dynamically switch between audio and
>>> MIDI would probably be considered innovative.
>> Which gives further weight to my argument that we should be exposing the codec
>> as  a javascript object , the we could have a generic 'notification from this codec instance'
>> callback, instead of doing all these legacy hacks as one-off special cases.
> what would the codec object represent?

The publicly useful state of a current codec instance. 

Properties like - bitrate, error - rate, width, height, quality
complexity, sample-rate, quantity available (possible hardware limits...), 
name, SDP stanza (perhaps), current status (initialized etc) 

Property change notifiers (if the far end changes what it is sending we get a notification here).

Setters for such properties as make sense to set (some might be valid only pre-initialization)

codec specific events  (silence detection, tone detect, typing detect , 
whiteout, dtmf perhaps, movement detection)

And the really controversial one:  an api to allow manipulation of the encoded and
decoded datastreams by inserting filters into the pipeline before or after the codec.
- (Like DMR's streams pre unix SystemV)


> 
> The currently proposed API presents a MediaStreamTrack object.
> How would a codec object relate to the MediaStreamTrack object?
> 

I don't know - let me look at the MediaStreamTrack again and get back to you.

> (this is an api discussion, so probably belongs on the W3C list)

Lets keep it here for now and see if anything solid comes of it.
> 
>               Harald
> 
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb