Ignore:
Timestamp:
Mar 17, 2011 11:33:34 AM (14 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/src/pjmedia/endpoint.c

    r3450 r3461  
    546546    pj_status_t status; 
    547547 
     548    PJ_UNUSED_ARG(options); 
     549 
    548550    /* Make sure video codec manager is instantiated */ 
    549551    if (!pjmedia_vid_codec_mgr_instance()) 
     
    584586        } 
    585587 
    586         /* Payload type */ 
    587         if (codec_info[i].pt == 255) { 
    588             PJ_TODO(ALLOCATE_DYNAMIC_PAYLOAD_TYPE); 
     588        /* Must support RTP packetization and bidirectional */ 
     589        if (!codec_info[i].has_rtp_pack || 
     590            codec_info[i].dir != PJMEDIA_DIR_ENCODING_DECODING) 
     591        { 
    589592            continue; 
    590593        } 
Note: See TracChangeset for help on using the changeset viewer.