AliyunPlayer_iOS icon indicating copy to clipboard operation
AliyunPlayer_iOS copied to clipboard

pod 版本能否更新一下呀?

Open WilliamCheen opened this issue 5 years ago • 6 comments

从阿里云上的文档查看到播放器 SDK 已经更新到 4.7.1 了,但是 pod 的版本号才到 3.4.10,请问能否同步更新一下呢

WilliamCheen avatar Sep 23 '19 06:09 WilliamCheen

同问楼+1

Wayyy avatar Sep 25 '19 05:09 Wayyy

pod 路径变了,换新的:pod 'AliPlayerSDK_iOS'

TheLittleBoy avatar Sep 25 '19 07:09 TheLittleBoy

仓库地址:https://github.com/aliyunvideo/AliPlayerSDK

TheLittleBoy avatar Sep 25 '19 07:09 TheLittleBoy

@TheLittleBoy 你好,看到更新的版本了,可是 4.7.1 跟 3.4.10 版本差距太大了吧,3.4.* 版本有个更新 STS 的方法回调 - (AliyunStsData *)onGetAliyunStsData:(NSString *)videoID format:(NSString *)format quality:(AliyunVodPlayerVideoQuality)quality 要求同步返回最新的 AliyunStsData 对象,但是在 4.7.1 中被去掉了,而且连 AliyunStsData 这个类都没有了。请问你们连大的结构都更改了吗?哪里能找到迁移适配文档呢?

WilliamCheen avatar Sep 26 '19 06:09 WilliamCheen

好心的 @TheLittleBoy 不好意思,发现 AT 错人了😓,不过你要是有适配经验的话希望能分享一下呀

WilliamCheen avatar Sep 26 '19 06:09 WilliamCheen

@WilliamCheen 这里有官方升级文档https://help.aliyun.com/document_detail/124709.html

STS 初始化播放源是用新的类:AVPVidStsSource

多研究一下官方demo吧

TheLittleBoy avatar Sep 26 '19 06:09 TheLittleBoy