Ethereal-users: Re: [Ethereal-users] RTP Analysis enhancement request

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Lars Ruoff" <Lars.Ruoff@xxxxxxxxxx>
Date: Thu, 15 Jul 2004 16:18:53 +0200
I have allready submitted a patch to ethereal-dev. ;-)
thanks anyway!

----- Original Message ----- 
From: "Jason Davis" <jason.lee.davis@xxxxxxxxx>
To: <ethereal-users@xxxxxxxxxxxx>
Sent: Thursday, July 15, 2004 2:07 PM
Subject: Re: [Ethereal-users] RTP Analysis enhancement request


> Lars, here is the lookup table you requested that determines the
> appropriate frequency of the RTP timestamp based upon the payload
> type.  Thanks for the help.
> 
> const int payloadToClockRate[128] =
> {
>    8000,    //PCMU      
>    8000,    //Reserved 
>    8000,    //Reserved  
>    8000,    //GSM       
>    8000,    //G723      
>    8000,    //DVI4      
>    16000,   //DVI4      
>    8000,    //LPC       
>    8000,    //PCMA      
>    8000,    //G722      
>    44100,   //L16       
>    44100,   //L16       
>    8000,    //QCELP     
>    8000,    //CN        
>    90000,   //MPA       
>    8000,    //G728      
>    11025,   //DVI4      
>    22050,   //DVI4      
>    8000,    //G729      
>    8000,    //reserved  
>    8000,    //unassigned
>    8000,    //unassigned
>    8000,    //unassigned
>    8000,    //unassigned
>    8000,    //unassigned
>    90000,   //CelB      
>    90000,   //JPEG      
>    8000,    //unassigned
>    90000,   //nv        
>    8000,    //unassigned
>    8000,    //unassigned
>    90000,   //H261      
>    90000,   //MPV       
>    90000,   //MP2T      
>    90000,   //H263
>    8000,    //35--71 unassigned
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,     
>    8000,      
>    8000,    //72-76 reserved for RTCP conflict avoidance
>    8000,
>    8000,
>    8000,
>    8000,    
>    8000,    //77-95 unassigned
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,    
>    8000,    //96-127 dynamic
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000,
>    8000
> };
> 
> _______________________________________________
> Ethereal-users mailing list
> Ethereal-users@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-users