Re: [rtcweb] Comments on draft-ietf-rtcweb-fec-04 (Opus FEC)

Justin Uberti <juberti@google.com> Thu, 25 May 2017 00:03 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 9F0B1129B44 for <rtcweb@ietfa.amsl.com>; Wed, 24 May 2017 17:03:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 NI_hPCrZMlxj for <rtcweb@ietfa.amsl.com>; Wed, 24 May 2017 17:02:59 -0700 (PDT)
Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 B952C129494 for <rtcweb@ietf.org>; Wed, 24 May 2017 17:02:59 -0700 (PDT)
Received: by mail-it0-x231.google.com with SMTP id o5so48207075ith.1 for <rtcweb@ietf.org>; Wed, 24 May 2017 17:02:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IQ9PjciHPOp0Y1q8yLL/9AoCnlX9WpHQlFfSBuWCH9E=; b=aaVo06NRiyh5RGZE1bT5s6N0cvE5JtXVWs812MkG2nOeFZPnSrDSltjunICe0phcVj 5bjQ7JFBwhlMfopO+56QEs7jbVUoHlEbG1wb7xITrppxNS3NA3zoogMdeUwQUgdFYxS9 43iBUCHQkvLVbv4jqnUdY9F0uRJF4aepflaJmzxlENczENZZleRU/ETCZhiqQsBqoouV BMyO6IQnhP3rfhszvrN+EHtr91+baHJDa08gNvVc/9q7KDVEcl3UtgtWuTc0oMpxlENV LlxRVzBYlP4jRy7EC+uWpDzW+VUNY3DAu+j71ydkYQp33OdDUtf8r2athu8jhAYb0oT1 If6A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IQ9PjciHPOp0Y1q8yLL/9AoCnlX9WpHQlFfSBuWCH9E=; b=ZDtnF4kbyWGNq6svVBej9KkoKwae1JXXKBGcDoLXezK3xICCDOz1sJhBhageN4EAjE Y+1Xqjo1ml96+zhoxQa54fclysalpA/+YFMKXqTbKG7h2ZzYjeacyggnALTyJxK/Vo8a flTEbp9tXMdaYPjvAtOaipXt8qRV4FjyPk05OWrLBvRDpQfy8zjVW40BByh72Cn4IhiS WA1XwhlH6k6tr/yuHN8ScRAVFogvixQ8pTLqln0/ekxMMTCtY/PwRSOXsq5aR7z7Ua4W t09gB0reSw7zQHi1qQ5JF+neOXvL2F8bUQ9chxpB21dfayRSSU2PBJLXjsn11LhSceP3 sKEw==
X-Gm-Message-State: AODbwcB6sZnx4au8k+5CUb8P7fDLFXMHTjs1G8kbjmm67zcTz86zbwIm J/2/ZipenqKTjnDzVrxymCAc3aaa+ks+DFo=
X-Received: by 10.36.29.204 with SMTP id 195mr11117352itj.112.1495670578960; Wed, 24 May 2017 17:02:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.11.149 with HTTP; Wed, 24 May 2017 17:02:38 -0700 (PDT)
In-Reply-To: <CAOW+2dvqAYY0hLHsdS56ab8k0E+w+1+aFyiM8hOgq-Z9JKKcDw@mail.gmail.com>
References: <CAOW+2dvqAYY0hLHsdS56ab8k0E+w+1+aFyiM8hOgq-Z9JKKcDw@mail.gmail.com>
From: Justin Uberti <juberti@google.com>
Date: Wed, 24 May 2017 17:02:38 -0700
Message-ID: <CAOJ7v-1D3E1DCWJFy5M5op5JaO_UPAc0i--ci+Y7GWsX6hn87Q@mail.gmail.com>
To: Bernard Aboba <bernard.aboba@gmail.com>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="001a1135b7648fe0f105504df19c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/__bmW4-XVefbLR8kIywmEEMhCh4>
Subject: Re: [rtcweb] Comments on draft-ietf-rtcweb-fec-04 (Opus FEC)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 25 May 2017 00:03:02 -0000

This would be a pretty dramatic statement, basically indicating that the
FEC mechanism that has been built for Opus is not useful.

While I understand the rationale, I would like to have some more specific
results that we can point at before making such a claim in a RFC.

On Tue, May 16, 2017 at 2:50 PM, Bernard Aboba <bernard.aboba@gmail.com>
wrote:

> Section 3.3
>
>    For Opus, packets deemed as important are re-encoded at a lower
>    bitrate and added to the subsequent packet, allowing partial recovery
>    of a lost packet.  This scheme is fairly efficient; experiments
>    performed indicate that when Opus FEC is used, the overhead imposed
>    is about 20-30%, depending on the amount of protection needed.  Note
>    that this mechanism can only carry redundancy information for the
>    immediately preceding packet; as such the decoder cannot fully
>    recover multiple consecutive lost packets, which can be a problem on
>    wireless networks.  See [RFC6716], Section 2.1.7 <https://tools.ietf.org/html/rfc6716#section-2.1.7> for complete
>    details.
>
>
> Section 4.1
>
>
>    When using the Opus codec, use of the built-in Opus FEC mechanism is
>    RECOMMENDED.  This provides reasonable protection of the audio stream
>    against typical losses, with modest overhead.  Note that as indicated
>    above the built-in Opus FEC only provides single-frame redundancy; if
>    multi-packet protection is needed, the built-in FEC should be
>    combined with [RFC2198 <https://tools.ietf.org/html/rfc2198>] redundancy to protect the N-2th, N-3rd, etc.
>    packets.
>
>
> [BA] While loss of a single packet is by far the most likely loss
>
> mode, our tests do not indicate that there is much benefit from
>
> Opus internal FEC.  For example, when we compared Opus internal
>
> FEC against no FEC and concealment, we found little discernible
>
> difference in MOS score. On the other hand, we did see a benefit
>
> arising from RFC 2198 redundancy to protect against burst loss.
>
> So based on our test results, we cannot recommend use of built-in
>
> Opus FEC.
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>
>