Created
February 23, 2018 18:05
-
-
Save netgfx/bda571617355ca1907bee9b4915a8474 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| self.onCollectionReady.subscribe(with: self) { | |
| (isReady) in | |
| print("Are assets ready: \(isReady)") | |
| // init player queue | |
| self.playerQueue = AVQueuePlayer(items: self.AVItemPool) | |
| self.playerQueue?.usesExternalPlaybackWhileExternalScreenIsActive = true | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment