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

    r4537 r4815  
    501501    } 
    502502     
     503#if defined(PJMEDIA_HAS_OPENH264_CODEC) && PJMEDIA_HAS_OPENH264_CODEC != 0 
     504    status = pjmedia_codec_openh264_vid_init(NULL, &cp.factory); 
     505    if (status != PJ_SUCCESS) 
     506        goto on_return; 
     507#endif 
     508 
    503509#if PJMEDIA_HAS_FFMPEG_VID_CODEC 
    504510    status = pjmedia_codec_ffmpeg_vid_init(NULL, &cp.factory); 
     
    522528    pjmedia_codec_ffmpeg_vid_deinit(); 
    523529#endif 
     530#if defined(PJMEDIA_HAS_OPENH264_CODEC) && PJMEDIA_HAS_OPENH264_CODEC != 0 
     531    pjmedia_codec_openh264_vid_deinit(); 
     532#endif 
    524533    pjmedia_aud_subsys_shutdown(); 
    525534    pjmedia_vid_dev_subsys_shutdown(); 
Note: See TracChangeset for help on using the changeset viewer.