Player_iOS
Player_iOS copied to clipboard
Super player for iOS...
请问开启画中画后,应该通过什么方式获取到画中画的状态回调?
'SDWebImage.h' file not found with include; use "quotes" instead Replace '' with '"SDWebImage.h"'
SuperPlayer 'SDWebImage.h' file not found with /opt/data/DUOWAN_BUILD/MarkiFlutterModule/marki_flutter_module_5.7.0_txLive_maint/2096/.ios/Pods/SuperPlayer/Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer/SuperPlayerView.m:5:9: error: 'SDWebImage.h' file not found with include; use "quotes" instead 00:42:03 #import 00:42:03 ^~~~~~~~~~~~~~ 00:42:03 "SDWebImage.h" 00:42:03 In file included from
不支持多语言...吐血了
依赖问题
通过 pod 依赖 `SuperPlayer`,会间接依赖 `Masonry` 和 `AFN`。但是 Swift 项目的话,使用的不是这两个框架,这样会导致多引入了两个无关的依赖。 建议不要依赖 `Masonry` 和 `AFN`,手动集成在 `SuperPlayer` 内部,或者使用原生api实现相关功能。 而且现在 pod 上的 `SuperPlayer` 强依赖 `TXLiteAVSDK_Player`,为什么不出一个不依赖 `TXLiteAVSDK_Player`,或者说依赖 `TXLiteAVSDK_Professional` 的版本呢?现在这样导致依赖了 `TXLiteAVSDK_Professional` 的用户只能手动集成 `SuperPlayer`,体验也是非常差
demo 在iOS12模拟器上黑屏
Installing SuperPlayer (3.4.7) 编译报错: 
报错 Showing All Errors Only Undefined symbol: _ff_mpv_common_init_neon 换个新一点的版本也报错 Showing All Errors Only Library not found for -lAFNetworking 之后试了好多版本,比较新的版本只有 pod 'SuperPlayer', '~> 3.2.9' 能跑起来。
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AFHTTPSessionManager invalidateSessionCancelingTasks:]: unrecognized selector sent to instance 0x28374ab20' 在退出播放是发送了如下异常,在可以搜索到的代码中,AFNetwork 4.0.1该方法签名为- (void)invalidateSessionCancelingTasks:(BOOL)cancelPendingTasks resetSession:(BOOL)resetSession;,但在AFNetwork3.2.1中该方法签名为是- (void)invalidateSessionCancelingTasks:(BOOL)cancelPendingTasks; 我搜索到SuperPlayerModel时使用AFNetwork 4.0.1版本的方法,使用我猜测是否代码中有部分适配AFNetwork4.0.1未完成