• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 298  文章 - 377  trackbacks - 0
            <2008年11月>
            2627282930311
            2345678
            9101112131415
            16171819202122
            23242526272829
            30123456

            常用鏈接

            留言簿(34)

            隨筆分類

            隨筆檔案

            文章檔案

            相冊(cè)

            收藏夾

            搜索

            •  

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

            @import url(http://m.shnenglu.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);

            From http://code.google.com/p/siphon/wiki/VIdeoSupport 

            PJSIP 在IOS視頻通信的方案,sipho開(kāi)源項(xiàng)目已經(jīng)告訴了我們!感謝他們~等會(huì)自己來(lái)試一下。大笑

            Introduction

            Currently, pjsip 2.0 includes the video support, also we will use it. And we won't backport video support in pjsip 1.x branch.

            We use three external libraries :

            The statements to compile libyuv are described in this site. Maybe your svn version is too old, in this case you can update svn by following the statements of Jason McCreary's blog.

            The statements to compile ffmpeg and x264 libraries are given on this site.

            Some statements to include VP8 support in pjsip are given on this page.

            libx264 compilation

            #!/bin/sh
            DEST=../iOS/video/iOS
            VERSION="5.1"
            SDK_VERSION="5.1"
            DEVPATH=/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
            #DEVPATH=/Developer/Platforms/iPhoneOS.platform/Developer
            echo "Building armv7..."
            export CC=${DEVPATH}/usr/bin/llvm-gcc
            ./configure --host=arm-apple-darwin \
                --sysroot=${DEVPATH}/SDKs/iPhoneOS${VERSION}.sdk \
                --prefix=$DEST \
                --extra-cflags='-arch armv7' \
                --extra-ldflags="-L${DEVPATH}/SDKs/iPhoneOS${SDK_VERSION}.sdk/usr/lib/system -arch armv7" \
                --enable-pic \
                --enable-static
            make && make install
            echo "Installed: $DEST"

            ffmpeg compilation

            #!/bin/sh
            DEST=../iOS/video/iOS
            VERSION=5.1
            IPHONEOS_DEPLOYMENT_TARGET=5.1  
            DEVPATH=/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
            #DEVPATH=/Developer/Platforms/iPhoneOS.platform/Developer
            X264INCLUDE=${DEST}/include
            X264LIB=${DEST}/lib
            COMMONFLAGS="-miphoneos-version-min=$IPHONEOS_DEPLOYMENT_TARGET -arch armv7 "
            CFLAGS="$CFLAGS $COMMONFLAGS -I$X264INCLUDE"
            LDFLAGS="$LDFLAGS -L${DEVPATH}/SDKs/iPhoneOS${VERSION}.sdk/usr/lib/system $COMMONFLAGS -L$X264LIB"
            export CC=${DEVPATH}/usr/bin/llvm-gcc
            export RANLIB=${DEVPATH}/usr/bin/ranlib
            echo "Building armv7..."
            ./configure \
                --cpu=cortex-a8 \
                --extra-cflags="$CFLAGS" \
                --extra-ldflags="$LDFLAGS" \
                --enable-cross-compile \
                --arch=arm \
                --target-os=darwin \
                --cc=${CC} \
                --sysroot=${DEVPATH}/SDKs/iPhoneOS${VERSION}.sdk \
                --prefix=${DEST} \
                --enable-gpl \
                --disable-network \
                --disable-decoders \
                --disable-muxers \
                --disable-demuxers \
                --disable-devices \
                --disable-parsers \
                --disable-encoders \
                --disable-protocols \
                --disable-filters \
                --disable-bsfs \
                --enable-libx264 \
                --enable-encoder=libx264 \
                --enable-encoder=libx264rgb \
                --enable-decoder=h264 \
                --enable-encoder=h263 \
                --enable-decoder=h263 \
                --enable-gpl \
                --enable-pic \
                --disable-doc \
                --disable-ffplay \
                --disable-ffprobe
               
            make & make install
            echo "Installed: $DEST"

            vpx compilation

            #!/bin/sh
            DEST=../iOS/video/iOS
            VERSION=6.0
            DEVPATH=/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
            mkdir armv7_build
            cd armv7_build
            ../configure --target=armv7-darwin-gcc \
                 --prefix=${DEST} \
                 --disable-install-bins \
                 --libc=${DEVPATH}/SDKs/iPhoneOS${VERSION}.sdk
            make & make install

            pjsip compilation

            You have to enable video support in config_site.h:

            #define PJMEDIA_HAS_VIDEO 1

            iOS

            ./configure-iphone --prefix=./iOS --with-ffmpeg=../iOS/video/iOS
            make & make install

            Simulator

            export ARCH="-arch i386"
            export DEVPATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer
            export IPHONESDK=iPhoneSimulator6.0.sdk
            export CC=${DEVPATH}/usr/bin/llvm-gcc
            export CFLAGS="-O2 -m32 -miphoneos-version-min=5.0 -fobjc-abi-version=2 -fobjc-legacy-dispatch"
            export LDFLAGS="-O2 -m32"
            ./configure-iphone --prefix=./Simulator --with-ffmpeg=../iOS/video/iOS
            make & make install
            @import url(http://m.shnenglu.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);


            http://www.docin.com/p-1249529767.html

            posted on 2016-11-04 17:45 聶文龍 閱讀(964) 評(píng)論(0)  編輯 收藏 引用

            只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


            国内精品久久久久久久coent| 国产69精品久久久久观看软件 | 久久亚洲天堂| 久久最新精品国产| 伊人久久综合成人网| 久久天天躁狠狠躁夜夜不卡 | 久久精品国产第一区二区| 久久国产精品99精品国产987| 久久99热这里只有精品国产| 精品久久久久成人码免费动漫| 亚洲国产婷婷香蕉久久久久久| 国产香蕉久久精品综合网| 噜噜噜色噜噜噜久久| 国产aⅴ激情无码久久| 2021国产精品午夜久久| 亚洲午夜久久久久妓女影院| 无遮挡粉嫩小泬久久久久久久| 美女写真久久影院| 人妻少妇久久中文字幕| 免费精品久久久久久中文字幕| 国产精品久久久久久| 久久亚洲AV无码精品色午夜| 26uuu久久五月天| 99久久777色| 国产产无码乱码精品久久鸭| 久久婷婷午色综合夜啪| 久久精品国产99久久久香蕉| 91精品国产综合久久久久久| 精品国产99久久久久久麻豆| 亚洲欧美日韩精品久久亚洲区 | 国产精品VIDEOSSEX久久发布| 久久久久久国产精品无码超碰| 国产精品久久久久免费a∨| 久久免费国产精品| 亚洲国产精品嫩草影院久久 | 99久久国产亚洲综合精品| 久久精品国产亚洲精品| 久久国产精品波多野结衣AV| 久久精品无码专区免费| 久久精品一区二区影院| 欧美无乱码久久久免费午夜一区二区三区中文字幕 |