Changes between Initial Version and Version 1 of Ticket #1947


Ignore:
Timestamp:
Aug 3, 2016 5:25:56 AM (3 years ago)
Author:
ming
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1947 – Description

    initial v1  
    2323./configure --with-openh264=/home/user/opt 
    2424 }}} 
    25  1. Add this to your {{{config_site.h}}}: 
    26  {{{ 
    27 #define PJMEDIA_HAS_OPENH264_CODEC              1 
    28  }}} 
    29  3. If you specify an alternate OpenH264 location, add the location path (the path which contains libopenh264*.dylib) to your OS dynamic library path. For example, on Mac: 
     25 1. If you specify an alternate OpenH264 location, add the location path (the path which contains {{{libopenh264*.dylib}}}) to your OS dynamic library path. For example, on Mac: 
    3026 {{{ 
    3127export DYLD_LIBRARY_PATH=/Users/teluu/openh264-1.6-mac/lib:$DYLD_LIBRARY_PATH 
     
    4642 
    4743For iOS: 
    48  1. Follow the guidance for GNU targets above. 
    49  1. Include {{{libopenh264.a}}} and iOS-SDK's {{{libstdc++.dylib}}} to application project in XCode. 
     44 1. Modify the Makefile to install it to a custom folder (find the string PREFIX and modify the value), for example: {{{PREFIX=ios_local}}}. Build the OpenH264 library (example: {{{make OS="ios" ARCH=armv7}}}). Install it to the specified directory (example: {{{make OS="ios" ARCH=armv7 install}}}). 
     45 1. Run PJSIP's {{{configure}}} with {{{--with-openh264}}} option. E.g.: 
     46 {{{ 
     47./configure --with-openh264=/Users/teluu/openh264-iphone/ios_local 
     48 }}} 
     49 1. Copy {{{libopenh264.a}}} to your XCode project directory. Create a folder {{{ios_local/lib}}} inside your XCode project directory (example: for our ipjsua sample app, the directory will be: {{{(PJPROJECT_DIR)/pjsip-apps/src/pjsua/ios/ios_local/lib}}}). Then copy OpenH264 dynamic library files to the folder.  
     50 Example: 
     51 {{{ 
     52cp openh264-iphone/ios_local/lib/libopenh264.a pjproject-iphone/pjsip-apps/src/pjsua/ios/ 
     53cp openh264-iphone/ios_local/lib/*.dylib pjproject-iphone/pjsip-apps/src/pjsua/ios/ios_local/lib 
     54 }}} 
     55 1. Add {{{libopenh264.a}}} and iOS-SDK's {{{libstdc++.dylib}}} to your application project in XCode. 
    5056 
    5157For Android: