Re: [rtcweb] DataChannel Questions

Eric Rescorla <ekr@rtfm.com> Mon, 22 July 2013 18:21 UTC

Return-Path: <ekr@rtfm.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 1CD1611E80E7 for <rtcweb@ietfa.amsl.com>; Mon, 22 Jul 2013 11:21:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.976
X-Spam-Level:
X-Spam-Status: No, score=-102.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, 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 pjoVKlq5GQKV for <rtcweb@ietfa.amsl.com>; Mon, 22 Jul 2013 11:20:55 -0700 (PDT)
Received: from mail-qe0-f51.google.com (mail-qe0-f51.google.com [209.85.128.51]) by ietfa.amsl.com (Postfix) with ESMTP id 25BB021F8546 for <rtcweb@ietf.org>; Mon, 22 Jul 2013 11:20:55 -0700 (PDT)
Received: by mail-qe0-f51.google.com with SMTP id a11so3884792qen.24 for <rtcweb@ietf.org>; Mon, 22 Jul 2013 11:20:54 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:x-gm-message-state; bh=43yM/iZEolx00l4lxCZqsJwSED1EJJv2mtalB5FhJpQ=; b=SeiEK8UE/gP8/WiNaemye7hTxoPz2Qbz8vMQ2hGF3gSco6RSB5gEg+5wg5FL5HDYqR cEV9oxCDfNZoiv2xOW1+8DRAObtf41mPAnygz1S1R+71IoVgKSp621saoeK8Mp5QMSJ1 Yxogq5806ctM9hGU3ZF+uPDsriQFQwu2qLGaoHz2LtQWm8Cqq/JNsTqidrViefW1xQ6P K80DZFrUswsbPOL+eXVC7NI2Ccv7ch2NvFG82Lb9BiqbvWGX8tbFWwqJasVPPEjJx49G sf1RRh0Q1tjWr5Xu6EOkLKE+cUT6cew+FkyRahEkfFjhVR9n585owTvLM6lCzC3ts2kG tbxw==
X-Received: by 10.224.22.195 with SMTP id o3mr8480712qab.90.1374517254531; Mon, 22 Jul 2013 11:20:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.48.234 with HTTP; Mon, 22 Jul 2013 11:20:14 -0700 (PDT)
X-Originating-IP: [74.95.2.173]
In-Reply-To: <CAD5OKxsYRC54-sM6wCzVVL==kQC0F0YBoLeZf_t+SJ4_zxoCJg@mail.gmail.com>
References: <CAD5OKxsYRC54-sM6wCzVVL==kQC0F0YBoLeZf_t+SJ4_zxoCJg@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Mon, 22 Jul 2013 11:20:14 -0700
Message-ID: <CABcZeBNmRr0-rPAgfrc4inKcRONy9PEQAD0WXpbi8BN7UypT-A@mail.gmail.com>
To: Roman Shpount <roman@telurix.com>
Content-Type: multipart/alternative; boundary="047d7b5da5bbb1d88504e21dbc51"
X-Gm-Message-State: ALoCoQkIRIUEEVluTtDzRPqIBbQ6UMJ6PWRBBetE2Htf+vhJaOLR/1gr+cVkRvhDdo4GgHwOT7Gm
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] DataChannel Questions
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, 22 Jul 2013 18:21:01 -0000

On Mon, Jul 22, 2013 at 11:15 AM, Roman Shpount <roman@telurix.com> wrote:

> I am sorry if I missed this somewhere in the draft, but I got two
> DataChannel related questions:
>
> First question: is it possible to bundle DataChannel with DTLS-SRTP? I do
> not see how this can be implemented since DTLS in DataChannel can negotiate
> any encryption protocol and I do not see a simple way to de-mux this on the
> wire.


I don't understand that "negotiate any encryption protocol" means. The SCTP
in the
DataChannel is encrypted under DTLS. The only potential problem here could
be
demuxing the SCTP from non-SCTP traffic once you have demuxed DTLS versus
SRTP, but we don't support anything that's non-SCTP here yet.



> Just wanted to confirm that bundling is not something that is planned to
> be supported.
>

As far as I know, it's fine.


Second question: is there a way to time synchronize DataChannel messages
> and real time media? For instance I want to use DataChannel for a subtitle
> track, is there a way to synchronize messages with video track?


You would presumably need to add the timing data into the DC messages
themselves, since SCTP does not provide any real-time function.

-Ekr