playerViewController(_:didPresent:) not being called (interstitial)

Originator:khamsing
Number:rdar://34691849 Date Originated:09/27/17
Status:Closed Resolved:
Product:tvOS Product Version:11
Classification:Serious Bug Reproducible:Always
 
Area:
AV Playback

Summary:
On tvOS 11, the AVPlayerViewControllerDelegate method func playerViewController(_ playerViewController: AVPlayerViewController, didPresent interstitial: AVInterstitialTimeRange) does not get called.

The method does get called using tvOS 10.

Steps to Reproduce:

1. Create AVPlayerItem (with URL)
2. Set interstitialTimeRanges on item
3. Load item in AVPlayer
3. Setup AVPlayerViewController with player
4. Play

Expected Results:

At interstitial range end, the delegate method below should be called 

playerViewController(_ playerViewController: AVPlayerViewController, didPresent interstitial: AVInterstitialTimeRange) does not get called

Actual Results:

The delegate method below never gets called

playerViewController(_ playerViewController: AVPlayerViewController, didPresent interstitial: AVInterstitialTimeRange) does not get called

Version/Build:

Version 9.0 (9A235)
Apple TV with tvOS 11
Simulator with tvOS 11

Comments

Issue fixed with tvOS 11.2

Build 15K106 released Dec 4, 2017


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!