As a livestreamer, I often encountered some situation where I need to use phone as camera source due to tight spaces and camera availability.
There are many ways to achieve this but the video quality is often dictated by
network speed / bandwidth
camera quality on the phone
So in this video I use DroidCam Free Version and window capture it into my OBS as camera source.