GithubHelp home page GithubHelp logo

txsdkplayerplugin's Introduction

TXSdkPlayerPlugin

add Tencent player SDK into Unity

  1. 取其中資料夾 Player,Third, common, app, Resource, Assets.xcassets ,push(推播)

  2. 匯入 TXLiteAV_professional.framework (選加入group)

  3. 匯入他說的一堆 framework

  4. 看target參數

  5. target -> Build Setting -> preprocessor Macros

增加tag ENABLE_PLAY 或是有的沒的

  1. 加入common, third, Player, app 資料夾( 選加入group 不然不寫絕對路徑讀不到)

  2. Build Setting -> Search path -> head search Paths 需要設定

    原專案這邊是空的 可是這裡好像繼承了unity的設定 所以要看一下怎麼設定

    https://blog.csdn.net/u012703795/article/details/24464837

  3. 砍掉一些檔案&資料夾

檔案
CustomProcessFilter.m
superPlayer/ListUI/LiVIdeoCell.m
superPlayer/ZFPlayer.h. --//#import <Masonry/Masonry.h>

資料夾
common/BeautySettingPanel/ZipArchive/ZipArchive.mm
common/VideoCompress
common/VideoLoading
common/VideoLoadingController
third/QBImagePicker
third/Masonry
player/superplayer

資源資料夾
rescorce/videoedit/裡面的bundel 
  1. Build Setting -> exception (try catch)

  2. 匯入framework

    • Accelerate framework (會有一堆8888)
    • sqliteb3, (會說要)sqlite
    • MobileCoreServices.framework
    • SystemConfiguration.framework
  3. 加入麥克風權限 (會閃退) 加入相機權限

txsdkplayerplugin's People

Contributors

linachiu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.