SZAVPlayer
SZAVPlayer copied to clipboard
SZAVPlayer is a lightweight audio/video player library, based on AVPlayer and AVAssetResourceLoaderDelegate, pure-Swift. Support cache and video image output.
I know you have said that there are bugs/incompatibilities with the simulator. Its very annoying not being able to use simulator - can you please share what you know about...
We tried but its not working we are fetching videos from Dash Camera through Wifi connected but its playing only after the file downloaded Can you get me some solution...
EAGER LOADING This repo by @ChrishonWyllie https://github.com/ChrishonWyllie/Celestial Provides an easy way to kick off a download like this Celestial.shared.startDownload(for: url) By hooking into uikit method - ```swift extension VideoVC: UICollectionViewDataSourcePrefetching...
sample code. https://github.com/ChrishonWyllie/Celestial
demo跑真机,同样的视频链接,真机没有画面输出,模拟器可以。
Can we have it working with .m3u8 file hosted at CDN server?
let config = SZAVPlayerConfig(urlStr: url, uniqueID: nil) player.setupPlayer(config: config) player.seekPlayerToTime(time: Float64(seconds), completion: nil) 这时候func avplayer(_ avplayer: SZAVPlayer, didChanged status: SZAVPlayerStatus) status只返回loading,而没有playing或者readyToPlay
When using SZAVPlayer for video, there is no audio feedback. This also happens in the example app attached (both for video or audio).
目前用AVPlayer实现左右滚动Feed流,因为滚动后每加载新的界面,会实例化播放控件,内存一直逐渐增加,所以想试试你这个SZAVPlayer。还有请问下这种情况是什么原因呢?