Ignore:
Timestamp:
Apr 10, 2014 10:01:07 AM (8 years ago)
Author:
bennylp
Message:

Re #1758: Initial implementation of OpenH264 wrapper. Supports:

  • library detection via autoconf
  • CBP
  • packetization modes: 0, 1
  • key frame request and indication
  • obey remote's fmtp

Also added video codec test in samples (similar to the one in pjmedia test though).
And there are some fixes here and there too (e.g. in vid_codec_util.c).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/vid_streamutil.c

    r4537 r4815  
    122122    PJ_UNUSED_ARG(status); 
    123123 
     124#if defined(PJMEDIA_HAS_OPENH264_CODEC) && PJMEDIA_HAS_OPENH264_CODEC != 0 
     125    status = pjmedia_codec_openh264_vid_init(NULL, pf); 
     126    PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); 
     127#endif 
     128 
    124129#if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC != 0 
    125130    status = pjmedia_codec_ffmpeg_vid_init(NULL, pf); 
     
    138143    pjmedia_codec_ffmpeg_vid_deinit(); 
    139144#endif 
     145 
     146#if defined(PJMEDIA_HAS_OPENH264_CODEC) && PJMEDIA_HAS_OPENH264_CODEC != 0 
     147    pjmedia_codec_openh264_vid_deinit(); 
     148#endif 
     149 
    140150} 
    141151 
Note: See TracChangeset for help on using the changeset viewer.