Re: [AVT] draft-kerr-avt-vorbis-rtp-04

Phil Kerr <phil@plus24.com> Mon, 17 January 2005 12:55 UTC

Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA01066 for <avt-archive@ietf.org>; Mon, 17 Jan 2005 07:55:59 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CqWfO-0003RJ-6L for avt-archive@ietf.org; Mon, 17 Jan 2005 08:11:34 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CqWMl-0000P8-8f; Mon, 17 Jan 2005 07:52:19 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CqWLD-0000C6-QX for avt@megatron.ietf.org; Mon, 17 Jan 2005 07:50:43 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA00630 for <avt@ietf.org>; Mon, 17 Jan 2005 07:50:42 -0500 (EST)
Received: from moutng.kundenserver.de ([212.227.126.189]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CqWaH-0003JP-75 for avt@ietf.org; Mon, 17 Jan 2005 08:06:17 -0500
Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CqWL9-0003OL-00; Mon, 17 Jan 2005 13:50:39 +0100
Received: from [81.97.253.215] (helo=[192.168.2.30]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CqWL8-0007Vv-00; Mon, 17 Jan 2005 13:50:38 +0100
Received: from 127.0.0.1 (AVG SMTP 7.0.300 [265.6.13]); Mon, 17 Jan 2005 12:53:30 +0000
Message-ID: <41EBB54A.6020601@plus24.com>
Date: Mon, 17 Jan 2005 12:53:30 +0000
From: Phil Kerr <phil@plus24.com>
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
Subject: Re: [AVT] draft-kerr-avt-vorbis-rtp-04
References: <41EB9C99.2080508@plus24.com> <41EBAE6C.5020603@ericsson.com>
In-Reply-To: <41EBAE6C.5020603@ericsson.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:1907b53fda813d7ffa8c75f6e67ef540
X-Spam-Score: 0.1 (/)
X-Scan-Signature: a2c12dacc0736f14d6b540e805505a86
Content-Transfer-Encoding: 7bit
Cc: Colin Perkins <csp@csperkins.org>, AVT List <avt@ietf.org>
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group <avt.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
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>
Sender: avt-bounces@ietf.org
Errors-To: avt-bounces@ietf.org
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 5011df3e2a27abcc044eaa15befcaa87
Content-Transfer-Encoding: 7bit

Hi Magnus,

Thanks for clarifying this point.  To avoid the problems you've 
mentioned should I include polynomial function and a C code snippet?

Cheers

Phil


Magnus Westerlund wrote:

> Hi Phil,
>
> I think the point Colin tries to make is that the CRC polynom and how 
> it is calculated must be very well defined. This is an important to 
> get correct to be interoperable, however history in many groups has 
> shown that definitions of checksums are often not sufficiently explicit.
>
> Cheers
>
> Magnus
>
> Phil Kerr wrote:
>
>> Hi Colin,
>>
>> Colin Perkins wrote:
>>
>>
>>> Actually, I meant what is the CRC algorithm, not which data is it 
>>> calculated using?
>>
>>
>>
>> I'm probably not the best person to discuss polynomial functions in 
>> depth with, but the CRC32 routine I'm using in the implementations is 
>> a basic, non-table lookup algorithm. As the CRC is fixed for the 
>> duration it's only calculated once per chained file, and as the 
>> codebooks are limited to 64K for RTP, it doesn't need to be highly 
>> optimised.
>>
>>
>>>> The chance of collision should be quite low, MD5 would be a lot 
>>>> safer in this regard but it does add quite a lot of overhead to 
>>>> each packet.  There may need to be an additional identifier, 
>>>> possibly a host id which ties the CRC32 value to the host, which is 
>>>> sent via SDP to reduce the chance of collision further.
>>>
>>>
>>>
>>> Host identifiers are difficult to pick too, so I'm not sure that'd 
>>> help.
>>>
>>> Can you expand on why the CRC was chosen, and why a table-indexing 
>>> to onto a list of URLs wouldn't work?
>>
>>
>>
>> The decoding codebook associated with the stream can change at the 
>> boundary of a chained file, which can be at any point in the session 
>> (new audio tracks or station jingles for example).  Having a CRC of 
>> the associated codebook in each packet means there is a hard 
>> association between the audio and decoder.
>>  
>> As the CRC is derived from the codebook itself we have a mechanism 
>> for verifying the correct decoder is being used at any particular 
>> time independent of any table.
>>
>> Cheers
>>
>> Phil
>>
>>
>>> Cheers,
>>> Colin
>>>
>>>
>>> _______________________________________________
>>> Audio/Video Transport Working Group
>>> avt@ietf.org
>>> https://www1.ietf.org/mailman/listinfo/avt
>>>
>>
>>
>>
>> _______________________________________________
>> Audio/Video Transport Working Group
>> avt@ietf.org
>> https://www1.ietf.org/mailman/listinfo/avt
>>
>
>


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