Code Monkey home page Code Monkey logo

vevoddemo-ios's Introduction

VOLCDemo介绍

VOLCDemo基于TTSDK点播SDK开发,目前完成了短、中、长等场景的视频基础能力展示。并提供了一些示例使用方式和工具层,后续会持续迭代。 通过展示各种场景化解决方案来协助业务侧快速完成各类视频业务的快速搭建。

目录结构说明

├─ VOLCDemo 
└── VOLCDemo
    ├── Base    // AppDelegate等App基本文件
    ├── Entry   // 入口ViewController
└── Pods
    ├── TTSDK   // 火山引擎SDK(点播SDK载体)
        ...
    ├── VEPlayModule        // 火山引擎场景模块(短、中、长视频模块示例)
    ├── VEPlayerKit         // 火山引擎点播播放器封装层
    ├── VEPlayerUIModule    // 火山引擎点播UI控件封装层
    ├── VESceneKit          // 火山引擎短视频业务场景框架    

VOLCDemo运行

  1. 进入 VEVodDemo-iOS/VOLCDemo 文件夹
  2. 执行 pod install
  3. 打开 VOLCDemo.xcworkspace 编译运行

TTSDK点播SDK 集成方式

方式一:CocoaPods集成静态库

  1. 添加pod依赖
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/volcengine/volcengine-specs.git'

platform :ios, '9.0'

target 'VOLCDemo' do
  
  #这里需要明确指定使用 subspecs => Player
  #可在 ChangeLog 获取版本号,推荐使用最新版本
  pod 'TTSDK', 'x.x.x.x-premium', :subspecs => ['Player']

end
  1. 执行 pod install

方式二:CocoaPods集成动态库

  1. 添加pod依赖
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/volcengine/volcengine-specs.git'

platform :ios, '9.0'

target 'VOLCDemo' do
  
  #添加TTSDKFramework动态库,版本号同静态库版本号
  pod 'TTSDKFramework', 'x.x.x.x-premium'
  
  #添加日志上报SDK,用于点播日志上传
  pod 'RangersAppLog', '6.9.1', :subspecs =>['Core','Log','Host/CN']

end
  1. 执行 pod install

更多集成相关文档链接

ChangeLog

链接:https://www.volcengine.com/docs/4/66438

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.