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/simpleua.c

    r4051 r4815  
    386386    PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); 
    387387 
     388#   if defined(PJMEDIA_HAS_OPENH264_CODEC) && PJMEDIA_HAS_OPENH264_CODEC != 0 
     389    status = pjmedia_codec_openh264_vid_init(NULL, &cp.factory); 
     390    PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); 
     391#   endif 
     392 
    388393#  if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC!=0 
    389394    /* Init ffmpeg video codecs */ 
     
    576581#   if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC!=0 
    577582    pjmedia_codec_ffmpeg_vid_deinit(); 
     583#   endif 
     584#   if defined(PJMEDIA_HAS_OPENH264_CODEC) && PJMEDIA_HAS_OPENH264_CODEC != 0 
     585    pjmedia_codec_openh264_vid_deinit(); 
    578586#   endif 
    579587 
Note: See TracChangeset for help on using the changeset viewer.