MPMusicPlayerController does not playing Music on tvOS

131 views Asked by At

Hey there im trying to play music by MPMusicPlayerController. But when i start to prepare the player it goes into a timeout. (not in the completionHandler) Here is the Error:
[SDKPlayback] applicationQueuePlayer _establishConnectionIfNeeded timeout [ping did not pong]

        self.musicPlayer.setQueue(with: ["1033200131"])
        self.musicPlayer.prepareToPlay { err in
            if let error = err {
                print(error.localizedDescription)
            }
            self.musicPlayer.play()
        }

tvOS-Version: 14.6 Beta

Hope anyone can help. Thanks

0

There are 0 answers