Try to move
playerLayer.player = nil
to
UIApplication.willResignActiveNotification
callback, worked for me.
Post
Replies
Boosts
Views
Activity
I have the same issue with iOS 14, tested on iPhone XR.
BTW, iOS 13 does NOT has this issue.