AVPlayerViewController & RemoteIO interaction

? I am finding some issues with the way AVPlayerViewController is controlling AVAudioSession. I set AVAudioSession category to PlayAndRecord, start a RemoteIO unit and start getting audio samples from mic. Next, I open another screen in which I have AVPlayerViewController setup and I set AVAudioSession category to Play. After I dismiss this screen, I reset the category to playAndRecord and set sample rate back to 44100. But AVAudioSession doesn't change sample rate to 44100, and AudiioUnitRender fails with error -50. Is this a known bug in AVPlayerViewController? Using custom AVPlayer doesn't gives any issues.