Skip to content

Commit

Permalink
Update 集成指南.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vxifu committed Apr 23, 2020
1 parent 35f0cce commit 7099f11
Showing 1 changed file with 13 additions and 15 deletions.
Expand Up @@ -8,21 +8,19 @@

## 集成 SDK(aar)
1. 登录 [物联网智能视频服务控制台](https://console.cloud.tencent.com/iot-video) 进行申请,申请完成后,相关工作人员将联系您进行需求沟通,并提供对应 SDK 及 Demo。
2. 将下载并解压得到的 IoT Video 相关 Framework 添加到工程中。
- IoTVideo.framework //核心库
- IVVAS.framework //增值服务相关
>!需要设置TATGETS > Build Phases > Embed Frameworks 为 Embed&sign,或者 Xcode11 后可在 General > Frameworks,Libraries,and Embedded Content 设置 Embed&Sign。
![image](https://main.qcloudimg.com/raw/46fddab0a7d63c69dddea8b283d0543c.png)
3. 添加系统的 Framework。
- AudioToolbox.framework
- VideoToolbox.framework
- CoreMedia.framework
- libz.tbd
4. 添加其他第三方库依赖。
- AFNNetWorking 3.0+
- 添加方法请参见 [GitHub](https://github.com/AFNetworking/AFNetworking)

5. 其他设置。
2. 将下载并解压得到的 IoT Video 相关 Framework 添加到工程中,并添加相应依赖库:
- 必选库:
- IoTVideo.framework // 核心库
- IVVAS.framework // 增值服务相关
- 依赖库:
- AudioToolbox.framework
- VideoToolbox.framework
- CoreMedia.framework
- 可选库:IJKMediaFramework.framework // 用于播放云回放的m3u8文件
![](https://main.qcloudimg.com/raw/287b0b2242f1beb335f647c8f77c0d3f.png)
3. 需要设置 TATGETS > Build Phases > Embed Frameworks 为 Embed&sign,或者 Xcode11 后可在 General > Frameworks,Libraries,and Embedded Content 设置 Embed&Sign。
![image](https://main.qcloudimg.com/raw/14e1fc7fa7df2e7df7db4af0b04384d8.png)
4. 其他设置。
1. 关闭 bitcode: TARGETS > Build Settings > Build Options > Enable Bitcode > NO
![image](https://main.qcloudimg.com/raw/00863e4751dc9595afd62e57e56fdb90.png)
2. 设置 App 权限,在 info.plist 中添加以下代码:
Expand Down

0 comments on commit 7099f11

Please sign in to comment.