Ignore:
Timestamp:
Jun 5, 2008 10:50:40 AM (16 years ago)
Author:
nanang
Message:

Ticket #473:

  • fixed issue on Speex multiple frames (encoding: encoded bits concatenation & decoding: frames parsing)
  • updated pjmedia stream & codecs on encoding multiple frames
  • introduced bit_info in pjmedia_frame and jitter buffer
File:
1 edited

Legend:

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

    r1961 r1983  
    220220 *                      buffer. 
    221221 * @param size          The frame size. 
     222 * @param bit_info      Bit precise info of the frame, e.g: a frame may not  
     223 *                      exactly start and end at the octet boundary, so this 
     224 *                      field may be used for specifying start & end bit offset. 
    222225 * @param frame_seq     The frame sequence number. 
    223226 * @param discarded     Flag whether the frame is discarded by jitter buffer. 
     
    226229                                       const void *frame,  
    227230                                       pj_size_t size,  
     231                                       pj_uint32_t bit_info, 
    228232                                       int frame_seq, 
    229233                                       pj_bool_t *discarded); 
     
    268272 * @param p_frm_type    Pointer to receive frame type. 
    269273 *                      @see pjmedia_jbuf_get_frame().     
     274 * @param bit_info      Bit precise info of the frame, e.g: a frame may not  
     275 *                      exactly start and end at the octet boundary, so this 
     276 *                      field may be used for specifying start & end bit offset. 
    270277 */ 
    271278PJ_DECL(void) pjmedia_jbuf_get_frame2(pjmedia_jbuf *jb,  
    272279                                      void *frame,  
    273280                                      pj_size_t *size,  
    274                                       char *p_frm_type); 
     281                                      char *p_frm_type, 
     282                                      pj_uint32_t *bit_info); 
    275283 
    276284 
Note: See TracChangeset for help on using the changeset viewer.