Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

AVPlayerItemStatusUnknown after several player.reset() and player.setUrl() #48

Open
callmewa opened this issue Apr 2, 2016 · 2 comments

Comments

@callmewa
Copy link

callmewa commented Apr 2, 2016

Issue Summary

A brief but thorough description of the issue.

Reproduction Steps

repeat the following code several times

playerView.player.reset()
self.playerView.player.setURL(#validUrl)
playerView.player.play()

Expected Behavior

after setURL player status becomes AVPlayerItemStatusReadyToPlay regardless of repetition

Actual Behavior

player status permanently becomes AVPlayerItemStatusUnknown and will not recover with reset

@callmewa
Copy link
Author

callmewa commented Apr 2, 2016

Swapped out VimVideoPlayer with piemonte/Player. Problem went away

@alfiehanssen
Copy link
Contributor

cc @jasonhawkins

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants