[rtcweb] AMR and max-red in draft-ietf-rtcweb-fec

Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 05 April 2016 21:02 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id 825A812DA0B for <rtcweb@ietfa.amsl.com>; Tue, 5 Apr 2016 14:02:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id jqfxc8qN8X2B for <rtcweb@ietfa.amsl.com>; Tue, 5 Apr 2016 14:01:58 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net []) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3EE8A12DA04 for <rtcweb@ietf.org>; Tue, 5 Apr 2016 14:01:58 -0700 (PDT)
X-AuditID: c1b4fb3a-f79d86d000005b69-44-570427c45c8f
Received: from ESESSHC017.ericsson.se (Unknown_Domain []) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id C7.F4.23401.4C724075; Tue, 5 Apr 2016 23:01:56 +0200 (CEST)
Received: from [] ( by smtp.internal.ericsson.com ( with Microsoft SMTP Server id; Tue, 5 Apr 2016 23:01:54 +0200
To: "rtcweb@ietf.org" <rtcweb@ietf.org>, Justin Uberti <juberti@google.com>
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
Message-ID: <570427BD.2040506@ericsson.com>
Date: Tue, 05 Apr 2016 18:01:49 -0300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBLMWRmVeSWpSXmKPExsUyM2K7q+4RdZZwg85vGhZbpwpZrP3Xzu7A 5LFgU6nHkiU/mQKYorhsUlJzMstSi/TtErgynl5pYCvYIFvRsPIlSwNjo3gXIyeHhICJxNEf XWwQtpjEhXvrwWwhgSOMEjte53YxcgHZyxglZu/YwAySEBHwluibvo0VxGYTsJC4+aMRrEFY wFBi68qnjCA2r4C2xKRLDewgNouAisSlwx1gcVGBGInj785B1QhKnJz5hKWLkYODWcBe4sHW MpAws4C8RPPW2cwQN2hLNDR1sE5g5JuFpGMWQscsJB0LGJlXMYoWpxYX56YbGemlFmUmFxfn 5+nlpZZsYgSG18Etv612MB587niIUYCDUYmHV0GGOVyINbGsuDL3EKMEB7OSCG+jGku4EG9K YmVValF+fFFpTmrxIUZpDhYlcd6cyH9hQgLpiSWp2ampBalFMFkmDk6pBkbZndPeSU6w/mOq EH1fMf6CpQuv9P4f398GW0i7doYJ2xVc++B9+j3HzjPKTDtXvLfwPvHYxIrt8XmvfW+bJnH+ euByzHLu8eLkPr09SvOyNc+aenqxdD8/ZfXpdXto0dcSfqUI8fezQi5PcRC2ST5lV3xYc3r5 XpbvAUePaa2q/OaV3RLqfFeJpTgj0VCLuag4EQAvgvYYKwIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/5VBraCVk3_JUG9fznZ0q4O2B3cY>
Subject: [rtcweb] AMR and max-red in draft-ietf-rtcweb-fec
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 05 Apr 2016 21:02:00 -0000


As raised in the WG session there are where an open issue if there need 
to be any specification of the AMR/AMR-WB max-red parameter.

So RFC4867 do have the following on offer/answer usage of the parameter:

       -  The parameter "max-red" is a stream property parameter.  For
          send-only or send-recv unicast media streams, the parameter
          declares the limitation on redundancy that the stream sender
          will use.  For recvonly streams, it indicates the desired value
          for the stream sent to the receiver.  The answerer MAY change
          the value, but is RECOMMENDED to use the same limitation as the
          offer declares.  In the case of multicast, the offerer MAY
          declare a limitation; this SHALL be answered using the same
          value.  A media sender using this payload format is RECOMMENDED
          to always include the "max-red" parameter.  This information is
          likely to simplify the media stream handling in the receiver.
          This is especially true if no redundancy will be used, in which
          case "max-red" is set to 0.  As this parameter was not defined
          originally, some senders will not declare this parameter even
          if it will limit or not send redundancy at all.

Most notable is that media senders are RECOMMENDED to include it. Also 
note that it is the sender that indicates the limitation it intends to 
adhere to for the streams using this RTP payload type.

I also like to note that 3GPP in its specification for its Multimedia 
Telephony, has specified that one shall not use a value larger than 220 
ms, and the value should be a multiple of 20 ms.  Please see 3GPP TS 
26.114 version 13.3.0

So from my perspective I think a WebRTC endpoint simply should follow 
the AMR RTP Payload specification when supported and include the 
parameter to indicate the actual upper range of the redundancy it 
intended to use. It is good to know about the limitation that 3GPP has 
defined as one likely reason to support AMR/AMR-WB is to be able to 
interoperate with 3GPP Services.

Thus I would suggest that a small addition to the Section 4.3 text and 
corrections in the first sentence:

    For AMR/AMR-WB, support for redundant encoding, and the maximum
    supported depth, are controlled by the 'max-red' parameter, as
    specified in [RFC4867], Section 8.1.

    For AMR/AMR-WB, support for redundant encoding, and the maximum
    used depth, is indicated by the 'max-red' parameter, as
    specified in [RFC4867], Section 8.1 and 8.2. The 3GPP Multimedia
    Telephony services specifies a maximum value of 220 ms for
    'max-red', see [3GPP.26.114].

New Informational Reference:


<reference anchor="3GPP.26.114"><front><title>IP Multimedia Subsystem 
(IMS); Multimedia telephony; Media handling and 
day="17" month="March" year="2016"/></front><seriesInfo name="3GPP TS" 
value="26.114 13.3.0"/><format type="HTML" 



Magnus Westerlund

Services, Media and Network features, Ericsson Research EAB/TXM
Ericsson AB                 | Phone  +46 10 7148287
Färögatan 6                 | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com