iPhone 11 just stops as second source

Hi
I want to use my phone as a second source to record what’s on my desk, (small box) while I use my webcam for the main screen. Every time I try it the mobile just stops recording, all the settings are the same.