Re: [rtcweb] Ben Campbell's Yes on draft-ietf-rtcweb-fec-08: (with COMMENT)

Justin Uberti <juberti@google.com> Sat, 23 February 2019 01:17 UTC

Return-Path: <juberti@google.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 1B3ED130ED1 for <rtcweb@ietfa.amsl.com>; Fri, 22 Feb 2019 17:17:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KhBBMh3YSPXC for <rtcweb@ietfa.amsl.com>; Fri, 22 Feb 2019 17:17:33 -0800 (PST)
Received: from mail-it1-x130.google.com (mail-it1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 27CE612D4E7 for <rtcweb@ietf.org>; Fri, 22 Feb 2019 17:17:33 -0800 (PST)
Received: by mail-it1-x130.google.com with SMTP id m137so5720920ita.0 for <rtcweb@ietf.org>; Fri, 22 Feb 2019 17:17:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lvaMjMfnnBW6ip6H4W6bSDt3TXPafq8PanvisqXnFS0=; b=rtJIYmHoGNauLVJErT4EfEx5SQXmFlWjfrZguR5diB6/sQ5MYDlS0b0v8ZZgg+enu2 bIm0HlDaTsfVbNtkOjPUoYq46mL5/hbJVVsxIjizAYV8AMpIg8UzEbuiJ3ICM4RzUoY7 482Zze6mijiDxP4AnSoLYgyERSa6YbI8zsZZ5r/NiP0+EIsqWVH5d0mQ+MqUayST+jto Lgshns0ZVDMtuOnhIbJCq+ozlkejEjr6D7/7ETURXLtL6qIs8eeAXyiA2Z8t/Slh4QDR HDrPb8ObkFdfnTqto7ZW4/9HvLfrryBFWfpJrXHwPnP3foGJT5OBpGhDswqj/fwIaXBl Tqhg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lvaMjMfnnBW6ip6H4W6bSDt3TXPafq8PanvisqXnFS0=; b=udVjGitCuAeDR3GMhe/X0h6jH6Jr5rf6ckpQwmo3hUPTrBsdGDaxKBSjwVjMZvNMnx tNxWbqrzEt36U3hL5EsxDRYj47UJf5oLUmj1k58mvCjX0OJRfYR5CTo9ZOaJ8fRSnJWo psbDQKwozEwb9Z5Ki8Db5v051/PN02ZKzo5bJ/68W4Ya75JGFwdLvmt1vm2yWKfdu8iV udIjmIHUjKgW6DcFSpownachBt4eGqNjLVDhZAavJBd73SHQIsUIrG4V1FRhp1P/xK8Y rP0u64kGYS0dKguMWVVR2ipyxnfl47T3abakMtOxcUVCb9meRi+kkL9X2C+N+Hqg3At/ 2wcA==
X-Gm-Message-State: AHQUAuZ+D0XnmxCjQwxfuLPRF2+5zF9sKoKSEpr9mmXao20suUvhXux4 sI/LSN91wf7jXNZNCnpFC2B9qSrQ9NA3HvgsPMgfyg==
X-Google-Smtp-Source: AHgI3IbNHOukt5WKm/sAX7Sn0aPa8cBVKUmfBevbIcUtFS4wdom0pQLpdywHxfD4k+FLiPklpEmrVuQxhjAyXxmTMoo=
X-Received: by 2002:a02:94eb:: with SMTP id x98mr3964942jah.88.1550884651568; Fri, 22 Feb 2019 17:17:31 -0800 (PST)
MIME-Version: 1.0
References: <155068537927.31452.11334457138991637471.idtracker@ietfa.amsl.com> <CAOJ7v-2HFn1uEYxqBp2ZyvbgwbDavOr8u9CNYo2bXdEeGeQggg@mail.gmail.com> <4C5C447B-3CAA-436C-A60D-432B4374C39A@nostrum.com>
In-Reply-To: <4C5C447B-3CAA-436C-A60D-432B4374C39A@nostrum.com>
From: Justin Uberti <juberti@google.com>
Date: Fri, 22 Feb 2019 17:17:20 -0800
Message-ID: <CAOJ7v-3=fsMzcg24FbDyRs6MC=w9jXqysoKxYEoAUpxHGRZ1tw@mail.gmail.com>
To: Ben Campbell <ben@nostrum.com>
Cc: The IESG <iesg@ietf.org>, RTCWeb IETF <rtcweb@ietf.org>, rtcweb-chairs@ietf.org, draft-ietf-rtcweb-fec@ietf.org
Content-Type: multipart/alternative; boundary="000000000000bf01cf0582857824"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/O3GM-B03DUBdTKByTW105bMulh4>
Subject: Re: [rtcweb] Ben Campbell's Yes on draft-ietf-rtcweb-fec-08: (with COMMENT)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 23 Feb 2019 01:17:36 -0000

On Fri, Feb 22, 2019 at 4:57 PM Ben Campbell <ben@nostrum.com> wrote:

> Thanks for the response. Comments below:
>
> On Feb 22, 2019, at 6:31 PM, Justin Uberti <juberti@google.com> wrote:
>
> Thanks for your comments. See below:
>
> On Wed, Feb 20, 2019 at 9:56 AM Ben Campbell <ben@nostrum.com> wrote:
>
>
> […]
>
> ----------------------------------------------------------------------
>>
>> Thanks for this effort. I am balloting "yes", but have some minor
>> comments:
>>
>> §8:
>> - "Given this, WebRTC implementations SHOULD consider using RTX or
>> flexfec retransmissions instead of FEC when RTT is low,"
>>
>> "consider" seems vague for a normative requirement. Can you describe
>> concrete
>> requirements? Otherwise I suggest descriptive language.
>>
>
> Perhaps "prefer" rather than "consider" would be less squishy.
>
>
> Prefer is better, thanks.
>
>
>> Can you give guidance on what RTT would be reasonable to consider as
>> "low"?
>>
>
> This is somewhat application-dependent, but ~100 ms would be a reasonable
> threshold.
>
>
> Would it make sense to say that the threshold for “low” is application
> dependent, but that would be a reasonable number for “typical” applications?
>
>
>
>> - "Note that when probing bandwidth, i.e., speculatively sending extra
>> data to determine if additional link capacity exists, FEC SHOULD be
>> used in all cases."
>>
>> I assume the point of this is the redundant FEC data should _be_ that
>> extra
>> data. But one could read this to mean that, if you are already sending
>> extra
>> data, you should also use FEC.
>>
>
> I see what you mean, agree this could be clarified.
>
>
> Thanks
>
>
>> §9, 2nd paragraph:
>>
>> I'm by no means an expert in this, and leave it to the crypto experts to
>> know
>> if this matters, but does the additional redundancy of FEC have any
>> impact on
>> SRTP encryption?
>>
>
> My understanding is that the fact that FEC is sent as its own stream with
> its own IV means that even if the data was identical to the primary
> payload, there would be no issue.
>
>
> Is that true for the case of in-band FEC at the codec level?
>

In the RFC 2198 case, SRTP is once again run over a new packet, again with
a new IV (from a new sequence number), and a new primary payload, so the
cipher state will be entirely different when the previous data is
re-encrypted. In the codec in-band case, you have a new bitstream, so there
are no repeated bytes.

>
> But given that no new mechanisms are being proposed in this document, it's
> probably covered elsewhere.
>
>
> I can accept that argument.
>
> Thanks!
>
> Ben.
>