SVGA
实现,特效动画仅支持 SVGA
格式文件。跑车 | 猫咪 | 汽车 |
| | |
TUILiveKit
高级特效播放器采用腾讯特效播放器,支持多种格式的特效动画(如:vap、Lottie、mp4、svga 等)。爱心火箭 | 冰雪城堡 | 一鹿有你 |
| | |
iOS/TCEffectPlayerKit
文件夹拷贝到自己的工程中,和 Podfile
同级目录。
podfile
文件,添加下面的代码:pod 'TCEffectPlayerKit',:podspec => './TCEffectPlayerKit/TCEffectPlayerKit.podspec'
pod install
命令。LicenseURL
和 LicenseKEY
。详情请咨询 TRTC_helper@tencent.com 。URL
和 KEY
。如 iOS 可在 AppDelegate
的 didFinishLaunchingWithOptions
方法中设置相关内容。//// AppDelegate.swift//import TCMediaXfunc application(_ application: UIApplication,didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {TCMediaXBase.getInstance().setLicenceURL("LicenseURL
", key: "LicenseKEY")return true}
本页内容是否解决了您的问题?