Speech Recognition not working with QuickTime iPhone mirroring

So I have the same problem as this one https://developer.apple.com/forums/thread/69046. There is voice control in my application by using SFSpeechAudioBufferRecognitionRequest and it works fine without capturing my iPhone screen with QuickTime. While QuickTime iPhone mirroring is on – recognition tasks closure did not call at all