Ignore:
Timestamp:
Nov 22, 2019 6:18:55 AM (3 years ago)
Author:
ming
Message:

Fixed #2253: Support for VP8 and VP9 video codec

File:
1 edited

Legend:

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

    r5943 r6110  
    396396#   endif 
    397397 
     398#   if defined(PJMEDIA_HAS_VPX_CODEC) && PJMEDIA_HAS_VPX_CODEC != 0 
     399    status = pjmedia_codec_vpx_vid_init(NULL, &cp.factory); 
     400    PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); 
     401#   endif 
     402 
    398403#  if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC!=0 
    399404    /* Init ffmpeg video codecs */ 
     
    596601#   if PJMEDIA_HAS_VIDEO && PJMEDIA_HAS_VID_TOOLBOX_CODEC 
    597602    pjmedia_codec_vid_toolbox_deinit(); 
     603#   endif 
     604#   if defined(PJMEDIA_HAS_VPX_CODEC) && PJMEDIA_HAS_VPX_CODEC != 0 
     605    pjmedia_codec_vpx_vid_deinit(); 
    598606#   endif 
    599607 
Note: See TracChangeset for help on using the changeset viewer.