Ignore:
Timestamp:
Dec 30, 2006 2:46:57 AM (17 years ago)
Author:
bennylp
Message:

Implement ticket #40: support for asymmetric encoding/decoding ptime (e.g. with iLBC when local and remote have different mode)

File:
1 edited

Legend:

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

    r867 r874  
    254254       unsigned    channel_cnt;         /**< Channel count.                 */ 
    255255       pj_uint32_t avg_bps;             /**< Average bandwidth in bits/sec  */ 
    256        pj_uint16_t frm_ptime;           /**< Base frame ptime in msec.      */ 
     256       pj_uint16_t frm_ptime;           /**< Decoder frame ptime in msec.   */ 
     257       pj_uint16_t enc_ptime;           /**< Encoder ptime, or zero if it's 
     258                                             equal to decoder ptime.        */ 
    257259       pj_uint8_t  pcm_bits_per_sample; /**< Bits/sample in the PCM side    */ 
    258260       pj_uint8_t  pt;                  /**< Payload type.                  */ 
     
    307309 
    308310    /**  
    309      * Open the codec and initialize with the specified parameter.. 
     311     * Open the codec and initialize with the specified parameter. 
     312     * Upon successful initialization, the codec may modify the parameter 
     313     * and fills in the unspecified values (such as enc_ptime, when 
     314     * encoder ptime is different than decoder ptime). 
    310315     * 
    311316     * @param codec     The codec instance. 
     
    315320     */ 
    316321    pj_status_t (*open)(pjmedia_codec *codec,  
    317                         const pjmedia_codec_param *param ); 
     322                        pjmedia_codec_param *param ); 
    318323 
    319324    /**  
Note: See TracChangeset for help on using the changeset viewer.