Re: [AVT] How is SDP a=fmtp used for RFC 2198?

Colin Perkins <csp@csperkins.org> Fri, 09 April 2004 12:41 UTC

Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA25468 for <avt-archive@odin.ietf.org>; Fri, 9 Apr 2004 08:41:35 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BBvJi-0007hs-D6 for avt-archive@odin.ietf.org; Fri, 09 Apr 2004 08:41:06 -0400
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i39Cf6X0029620 for avt-archive@odin.ietf.org; Fri, 9 Apr 2004 08:41:06 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BBvJe-0007h7-SS; Fri, 09 Apr 2004 08:41:02 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BBZNv-0006Eh-HW for avt@optimus.ietf.org; Thu, 08 Apr 2004 09:15:59 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA13133 for <avt@ietf.org>; Thu, 8 Apr 2004 09:15:57 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1BBZNt-0006KC-00 for avt@ietf.org; Thu, 08 Apr 2004 09:15:57 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BBWlN-0005cy-00 for avt@ietf.org; Thu, 08 Apr 2004 06:28:02 -0400
Received: from dundee.dcs.gla.ac.uk ([130.209.242.163]) by ietf-mx with esmtp (Exim 4.12) id 1BBVDL-00069D-00 for avt@ietf.org; Thu, 08 Apr 2004 04:48:47 -0400
Received: from csperkins-dsl.demon.co.uk ([80.176.225.173]:60186 helo=[192.168.0.5]) by dundee.dcs.gla.ac.uk with asmtp (TLSv1:RC4-SHA:128) (Exim 4.04) id 1BBVCm-0002sT-00; Thu, 08 Apr 2004 09:48:12 +0100
In-Reply-To: <40750C75.4080900@ericsson.com>
References: <20040329135920.088a0720.csp@csperkins.org> <BHEHLFPKIPMLPFNFAHJKCEICDPAA.gunnar.hellstrom@omnitor.se> <20040331163154.38cf8d5d.csp@csperkins.org> <40750C75.4080900@ericsson.com>
Mime-Version: 1.0 (Apple Message framework v613)
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Message-Id: <75C47B82-8939-11D8-B8E9-000A957FC5F2@csperkins.org>
Content-Transfer-Encoding: 7bit
Cc: avt@ietf.org, Gunnar Hellstrom <gunnar.hellstrom@omnitor.se>
From: Colin Perkins <csp@csperkins.org>
Subject: Re: [AVT] How is SDP a=fmtp used for RFC 2198?
Date: Thu, 08 Apr 2004 09:48:08 +0100
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
X-Mailer: Apple Mail (2.613)
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.60
Content-Transfer-Encoding: 7bit
Sender: avt-admin@ietf.org
Errors-To: avt-admin@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Id: Audio/Video Transport Working Group <avt.ietf.org>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit

Hi,

On 8 Apr 2004, at 09:25, Magnus Westerlund wrote:
...
> Colin Perkins wrote:
>> --> "Gunnar Hellstrom" <gunnar.hellstrom@omnitor.se> writes:
>>> On number of redundant generations for text transmission.
>>> ---------------------------------------------------------
>>> There is a need for one original and three redundant copies as the
>>> RECOMMENDED default for text transmission. That will meet the service
>>> requirements of <1% character error rate in conditions when voice is
>>> barely usable ( from F.700 & F.703 ). That can be in a society crisis
>>> situation when the network gets congested, or in next outbreak of 
>>> worms
>>> crawling the Internet.
>>> Audio can be used for voice, and video for sign language down to 
>>> around
>>> 30% packet loss. It can be a good goal to maintain usable text
>>> transmission at that packet loss rate.
>>>
>>> Try the calculator in http://packetizer.com/iptel/toip/cercalc.html
>>> and find that you need 3 levels of redundancy to get under 1% 
>>> character
>>> error with 30% packet loss. The character error figure for text coded
>>> text is at the bottom of the page.
>>>
>>> It is not expensive. The RECOMMENDATION is to send text packets with 
>>> 300
>>> ms intervals, and only when there is something to transmit. The
>>> redundancy levels take little space compared to the packet and RTP
>>> header.
>> I'd expect the gain from sending 3 levels of redundancy to be minimal
>> compared to a single delayed redundant packet.
>
> Yes, the gain for each redundancy level, becomes less and less. And I 
> would think that a third level would only be needed when packet loss 
> rates are extreme. At 10% independent packet loss rates, it would 
> result in that a third level drops the after redundancy loss rate from 
> 0.1% to 0.01%. Also for T.140 the risk for burst loss becomes 
> significantly reduced due to the long inter packet delay when using 
> the recommended buffering. Also as it is a interactive protocol the 
> loss can be repaired on human level, by "say what?" or the actual text 
> redundancy.

Also, if packet loss is bursty, the advantage of sending additional 
levels of redundancy is reduced compared to delaying the redundancy 
longer than the expected burst duration. Depends on the statistics of 
the packet loss, but the measurements I have taken indicate that loss 
often occurs in short bursts, rather than uniformly.

> But it seems natural to monitor the packet loss, and if they become 
> excessive, a client may increase the level of redundancy, while at the 
> same time make efforts to reduce the total bit-rate sent (see below).

Agreed, with the proviso that you can often get the same effect as 
increasing the level of redundancy by changing the delay before the 
redundant data.

>>> 3 generations of redundant data may sound excessive, if you have a
>>> network where loss is usually under 1%. But, if there is a risk of 
>>> 30% in
>>> a crisis situation, you should follow the recommendation.
>> As noted in the security considerations section of RFC 2198:
>>    Whilst the addition of low-bandwidth redundancy to an audio stream 
>> is
>>    an effective means by which that stream may be protected against
>>    packet loss, application designers should be aware that the 
>> addition
>>    of large amounts of redundancy will increase network congestion, 
>> and
>>    hence packet loss, leading to a worsening of the problem which the
>>    use of redundancy was intended to solve.  At its worst, this can 
>> lead
>>    to excessive network congestion and may constitute a denial of
>>    service attack.
>> I believe the same issue is applicable to text streams, and 
>> accordingly do
>> not agree that sending 3 levels of redundancy is appropriate.
>
> In regards to congestion control, I would think that the correct 
> response rather than reducing the level of redundancy is to increase 
> the buffering, resulting in fewer packets per second. As a T.140 
> payload even with three levels of redundancy is most likely smaller 
> than the headers, the most effective congestion reduction method is to 
> reduce the number of packets sent. I think that such a statement on 
> how to perform congestion control might be appropriate.

If it's possible to send fewer packets per second, that is certainly 
better.

Colin


_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt