AVPlayer playing m3u8 switch to background, resume play fail. iOS 14

If the problem occurs in iOS 14 but not iOS 13, please file a bug report using the feedback assistant.
Try to move
Code Block
playerLayer.player = nil

to
Code Block
UIApplication.willResignActiveNotification

callback, worked for me.
I have the same issue with iOS 14
AVPlayer playing m3u8 switch to background, resume play fail. iOS 14
 
 
Q