Navigation Menu

Skip to content

Commit

Permalink
Minor changes related to automaticallyWaitsToMinimizeStalling.
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahselek committed Nov 5, 2019
1 parent e58ffde commit 8d5a91e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Sample/Sample/ViewController.swift
Expand Up @@ -21,7 +21,6 @@ class ViewController: UIViewController {

let videoURL = URL(fileURLWithPath: Bundle.main.path(forResource: "google-help-vr", ofType: "mp4")!)
let player = AVPlayer(url: videoURL)
player.automaticallyWaitsToMinimizeStalling = false

let motionManager = Swifty360MotionManager.shared
// set motionManager nil to skip motion changes
Expand Down
1 change: 0 additions & 1 deletion Swifty360Player/Swifty360PlayerScene.swift
Expand Up @@ -43,7 +43,6 @@ open class Swifty360PlayerScene: SCNScene {
super.init()
self.videoPlaybackIsPaused = true
self.player = player
self.player.automaticallyWaitsToMinimizeStalling = false
self.rootNode.addChildNode(self.cameraNode)
let scene = getScene()
videoNode = getVideoNode(withPlayer: self.player, scene: scene)
Expand Down

0 comments on commit 8d5a91e

Please sign in to comment.