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

Randell Jesup <randell-ietf@jesup.org> Mon, 14 November 2011 15:10 UTC

Return-Path: <randell-ietf@jesup.org>
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 A6B9F21F8E14 for <rtcweb@ietfa.amsl.com>; Mon, 14 Nov 2011 07:10:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.564
X-Spam-Level:
X-Spam-Status: No, score=-2.564 tagged_above=-999 required=5 tests=[AWL=0.035, 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 RpmegWkP-C4H for <rtcweb@ietfa.amsl.com>; Mon, 14 Nov 2011 07:10:41 -0800 (PST)
Received: from r2-chicago.webserversystems.com (r2-chicago.webserversystems.com [173.236.101.58]) by ietfa.amsl.com (Postfix) with ESMTP id BED9221F8E10 for <rtcweb@ietf.org>; Mon, 14 Nov 2011 07:10:41 -0800 (PST)
Received: from pool-173-49-135-74.phlapa.fios.verizon.net ([173.49.135.74] helo=[192.168.1.12]) by r2-chicago.webserversystems.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <randell-ietf@jesup.org>) id 1RPyB7-0006u4-Hk for rtcweb@ietf.org; Mon, 14 Nov 2011 09:10:33 -0600
Message-ID: <4EC12F38.4070806@jesup.org>
Date: Mon, 14 Nov 2011 10:09:44 -0500
From: Randell Jesup <randell-ietf@jesup.org>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <CALiegfkVNVAs_MyU_-4koA4zRwSn1-FwLjY9g_oZVkhi9rSK5Q@mail.gmail.com> <CALiegfkWnRT8m4S9pXTxuLsc-p_bhkG3d=PX3qgiFFt5gW5yfw@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> <CABRok6mJx+quBzdzRZ8fX774+kj-ABWJJvPB=P7=7R5s=ZA2Yg@mail.gmail.com>
In-Reply-To: <CABRok6mJx+quBzdzRZ8fX774+kj-ABWJJvPB=P7=7R5s=ZA2Yg@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - r2-chicago.webserversystems.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jesup.org
X-Source:
X-Source-Args:
X-Source-Dir:
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: Mon, 14 Nov 2011 15:10:47 -0000

On 11/14/2011 3:39 AM, Neil Stratford wrote:
> On Sun, Nov 13, 2011 at 2:24 PM, Justin Uberti <juberti@google.com
> <mailto:juberti@google.com>> wrote:
>
>
>     As a non-"telco" participant in this WG, I strongly agree with this.
>     DTMF has a clear upside (support for PSTN) and no downside other
>     than the need for a new API method.
>
>
> This is my concern, that we are proposing a codec specific API method
> when we have ruled out exposing APIs for other codecs.

Well, "codec" is a very strong word for RFC 4733 (though you can argue 
it's pedantically correct, and see below for why it's actually not a bad 
description in a way).

> If two peers have negotiated a data channel between them it doesn't make
> a lot of sense to send DTMF over RTP, it should be carried over the
> reliable data channel. So if we do expose an API for sending tones, can
> it be done in such a way that it can be carried using whatever the most
> appropriate transport is? (obviously without requiring any javascript
> changes - because we can't expect javascript developers to upgrade)

RFC 4733 is similar to a "Partially-reliable realtime data stream with a 
limited vocabulary" - basically (typically) around 4-5 bits plus timing 
info.  However...

This is somewhat distinct from the data channels in WebRTC, though it 
might fit in there once we choose a data solution.  The problem is that 
the data solution may not match the needs of DTMF (though perhaps that 
speaks to the requirements for the data section).  Right now partial 
reliability isn't required, and would be needed OR the application would 
have to use unreliable and duplicate much of the details of RFC 4733. 
In general, we've discussed in generalities prioritization of data vs. 
media, but there's no guaranteed delivery speed for a data channel vs. a 
media channel.

However, even if you can deliver it out-of-band via a data channel, it 
wouldn't have a shared timebase (and synchronized playback) - an area 
where the 'codec' description fits better.  DTMF in terms of 4733 really 
is a media stream, just a partially-reliable one.  Ignoring 
compatibility, I would have no problem with defining it as a separate 
media stream (m= line in SDP speak) which is part of a synchronization 
group with the normal audio streams.  However, given 'normal' RTP audio 
receivers generally are already designed to handle RFC 4733, there's 
little advantage to going with a separate stream.  There might be other 
uses for such a parallel media stream, of course.

The question is how much need is there in WebRTC for a 
media-synchronized, partially-reliable data channel outside of the 
current RFC 4733 definitions?  If there is a need, we could define a use 
(or perhaps superset) of RFC 4733 that allows wider application use, in 
place of or in addition to the current RFC uses/codes.

If media synchronization isn't needed, then a data channel may do 
(depending on the data spec agreed to).

-- 
Randell Jesup
randell-ietf@jesup.org