Post

Replies

Boosts

Views

Activity

Reply to iOS 14 Play audio from video in background
@tungdangplus  That didn't work for me. In AppDelegate, I did:     func applicationWillResignActive(_ application: UIApplication) {         let viewController = window?.rootViewController as! ViewController         viewController.disconnectAVPlayer()     } and then in ViewController, I did:     public func disconnectAVPlayer() {       playerViewController.player = nil     }
Topic: Media Technologies SubTopic: Audio Tags:
Sep ’20