ios 16 lockscreen playbutton is disabled but working fine with ios15 (iphone11)

Hello, I have used AVPlayer and AVPlayerViewController to play a video from url. I can control lockscreen play/pause button through avaudiosession as below--

[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:&sessionError];

[[AVAudioSession sharedInstance] setActive:YES error:nil];

[[UIApplication sharedApplication] beginReceivingRemoteControlEvents];

Its working fine with iphone having ios 15, can control play/pause from lockscreen. But in ios 16 iphone , the play/pause button is disabled. Can anyone please help me why its not working with ios 16.

ios 16 lockscreen playbutton is disabled but working fine with ios15 (iphone11)
 
 
Q