Ignore:
Timestamp:
May 13, 2006 10:46:23 PM (18 years ago)
Author:
bennylp
Message:

Another major modifications in PJMEDIA:

  • handle multiple frames in one packet
  • split stream creation into two steps to allow customization
  • PLC framework and implementation with G.711 and speex
  • stream returns NO_FRAME correctly.
  • added ptime argument in pjsua
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/jbuf.h

    r436 r438  
    5656 
    5757/** 
     58 * @see pjmedia_jb_frame_type. 
     59 */ 
     60typedef enum pjmedia_jb_frame_type pjmedia_jb_frame_type; 
     61 
     62 
     63/** 
    5864 * This structure describes jitter buffer current status. 
    5965 */ 
     
    7985 */ 
    8086#define PJMEDIA_JB_DEFAULT_INIT_DELAY    15 
     87 
     88/** 
     89 * Opaque declaration for jitter buffer. 
     90 */ 
     91typedef struct pjmedia_jbuf pjmedia_jbuf; 
    8192 
    8293 
     
    182193 * @return              PJ_SUCCESS on success. 
    183194 */ 
    184 PJ_DECL(pj_status_t) pjmedia_jbuf_put_frame(pjmedia_jbuf *jb,  
    185                                             const void *frame,  
    186                                             pj_size_t size,  
    187                                             int frame_seq); 
     195PJ_DECL(void) pjmedia_jbuf_put_frame( pjmedia_jbuf *jb,  
     196                                      const void *frame,  
     197                                      pj_size_t size,  
     198                                      int frame_seq); 
    188199 
    189200/** 
     
    211222 *                      buffer will copy the frame to the buffer, and frame 
    212223 *                      type will be set to PJMEDIA_JB_NORMAL_FRAME. 
    213  * 
    214  * @return              Always returns PJ_SUCCESS. 
    215  */ 
    216 PJ_DECL(pj_status_t) pjmedia_jbuf_get_frame( pjmedia_jbuf *jb,  
    217                                              void *frame,  
    218                                              char *p_frm_type); 
     224 */ 
     225PJ_DECL(void) pjmedia_jbuf_get_frame( pjmedia_jbuf *jb,  
     226                                      void *frame,  
     227                                      char *p_frm_type); 
    219228 
    220229 
Note: See TracChangeset for help on using the changeset viewer.