Use DroidCam to turn your Android phone into a wireless webcam for Linux or Windows PC’s and laptops

Two windows are shown open - one on the left is titled DroidCam Client and shows a preview of some flowers standing in a glass of water, with some icons at the bottom to increase/decrease zoom, brightness, autofocus, and switching perspective and rotating the image. The rightmost window is titled Skype Options and shows the video settings selected, with the source name as DroidCam Source 1, and the same preview image is shown of the flowers in a glass of water.

This is probably most useful on desktop computers that have no webcam, but there is also an OBS Studio plugin, so an Android phone could also act as a secondary webcam when needed on those odd occasions. Also, seeing this can connect wirelessly, you could place this Android webcam further away from your PC as most desktop webcams connect via a USB cable, which can limit its reach.

The free version of DroidCam will get the job done for the most part, but keep in mind that it only allows SD-quality video streams. The higher video quality (1080p) and extra features such as Smooth FPS, video mirroring, the ability to adjust, autofocus, brightness and contrast, and more can be unlocked by purchasing DroidCam X, the paid version of the app.

See https://www.xda-developers.com/how-to-use-android-phone-as-webcam-for-pc/