Changeset 2475

Show
Ignore:
Timestamp:
05/09/99 20:01:50 (15 years ago)
Author:
ucacoxh
Message:

- Moved rtp and rtcp packet queue lengths into session.c where they
are used.

- Reduced queue sizes to 24 and 12 packets respectively. Queues want
to be long enough to absorb processor variation, but short so they
don't use too much memory and reduce amount of "burst" processing to
recover from packet build up. The decoder should be smarter, but it
won't happen before next release.

Location:
rat/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • rat/trunk/pckt_queue.h

    r2314 r2475  
    1414#ifndef _pckt_queue_h_ 
    1515#define _pckt_queue_h_ 
    16  
    17 #define PCKT_QUEUE_RTP_LEN  64 
    18 #define PCKT_QUEUE_RTCP_LEN 32 
    1916 
    2017#include "ts.h" 
  • rat/trunk/session.c

    r2368 r2475  
    3131#include "crypt.h" 
    3232#include "source.h" 
     33 
     34#define PCKT_QUEUE_RTP_LEN  24 
     35#define PCKT_QUEUE_RTCP_LEN 12 
    3336 
    3437static void