What apps or programs do you use to make your phone work as a webcam? I've tried that last year but none of the solutions in the play store seemed to work for me.
There's also https://vdo.ninja/ (previously obs.ninja) that doesn't require any special apps. You open up a browser on your smartphone and input the link into OBS as a browser source. The performance on Chrome is superior to other Android browsers in my experience. There's a bit of delay and the quality isn't quite as good as OBS as the connection goes through the internet and isn't local, but the delay is actually surprisingly small.