Ignore:
Timestamp:
Mar 17, 2011 11:33:34 AM (13 years ago)
Author:
bennylp
Message:

Re #1215 (framework):

  • vstream:
    • allow NULL pool parameter which means vstream will create one
    • Updated remote FPS detection to only be performed if decoder returns frame (however the FPS detection is currently disabled as some endpoints changes fps continuously, causing renderer restart continuously too).
  • codec:
    • Updated video codec info to have RTP packetization support flag, also update endpoint in generating SDP to only include codecs whose RTP packetization support.
    • Added dynamic payload types for video codecs.
    • (minor) separate video PT into separate enum in pjmedia-codec/types.h
  • H264 initial experiment.

generated frames (for libx264 sake).

  • Replaced PJ_EUNKNOWN in some places with the appropriate error code.
File:
1 edited

Legend:

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

    r3358 r3461  
    3939 
    4040/** 
    41  * These are the dynamic payload types that are used by codecs in 
     41 * These are the dynamic payload types that are used by audio codecs in 
    4242 * this library. Also see the header file <pjmedia/codec.h> for list 
    4343 * of static payload types. 
    4444 */ 
    45 enum 
     45enum pjmedia_audio_pt 
    4646{ 
    4747    /* According to IANA specifications, dynamic payload types are to be in 
     
    9999 
    100100/** 
     101 * These are the dynamic payload types that are used by video codecs in 
     102 * this library. 
     103 */ 
     104enum pjmedia_video_pt 
     105{ 
     106     /* Video payload types */ 
     107     PJMEDIA_RTP_PT_VID_START = (PJMEDIA_RTP_PT_DYNAMIC-1), 
     108     PJMEDIA_RTP_PT_H263P, 
     109     PJMEDIA_RTP_PT_H264, 
     110 
     111     /* Caution! 
     112      * Ensure the value of the last pt above is <= 127. 
     113      */ 
     114}; 
     115 
     116 
     117/** 
    101118 * @} 
    102119 */ 
Note: See TracChangeset for help on using the changeset viewer.