Ignore:
Timestamp:
Apr 6, 2011 1:55:01 PM (10 years ago)
Author:
nanang
Message:

Re #1186:

  • Added custom negotiation callback mechanism in SDP negotiator, mainly for specific formats that require SDP fmtp negotiation.
  • Modified video codec ID string to use encoding name+payload type (was encoding name+clock rate), also added encoding description in video codec info, so duplicated codecs (e.g: multiple H264 configurations) can be differentiated.
  • Few enhancements for H264 in ffmpeg wrapper (e.g: added proper profile-id & packetization-mode setup).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/vid_codec.h

    r3493 r3500  
    4545{ 
    4646    pjmedia_format_id   fmt_id;         /**< Encoded format ID              */ 
     47    unsigned            pt;             /**< Payload type                   */ 
    4748    pj_str_t            encoding_name;  /**< Encoding name                  */ 
    48     unsigned            pt;             /**< Payload type (may be 255 for 
    49                                              dynamic payload type)          */ 
     49    pj_str_t            encoding_desc;  /**< Encoding desc                  */ 
    5050    unsigned            clock_rate;     /**< Clock rate                     */ 
    5151    pjmedia_dir         dir;            /**< Direction                      */ 
     
    535535 
    536536/** 
    537  * Get codec info for the specified static payload type. 
    538  * 
    539  * @param mgr       The codec manager instance. If NULL, the default codec 
    540  *                  manager instance will be used. 
    541  * @param pt        Static payload type/number. 
     537 * Get codec info for the specified payload type. The payload type must be 
     538 * static or locally defined in #pjmedia_video_pt. 
     539 * 
     540 * @param mgr       The codec manager instance. If NULL, the default codec 
     541 *                  manager instance will be used. 
     542 * @param pt        The payload type/number. 
    542543 * @param info      Pointer to receive codec info. 
    543544 * 
Note: See TracChangeset for help on using the changeset viewer.