We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
你是seekPlayerToTime方法提供的completion里面判断的么?这个方法是用来跳转到指定时间以后停止播放或者自动播放(根据传入autoPlay参数),通常在completion里面去做下一个逻辑处理就好了。
Sorry, something went wrong.
No branches or pull requests
这时候func avplayer(_ avplayer: SZAVPlayer, didChanged status: SZAVPlayerStatus)
status只返回loading,而没有playing或者readyToPlay
The text was updated successfully, but these errors were encountered: