Saifullah Ahad

All one hundred eight build stories

IrisLive on Google Play

Use phone as webcam with VLC or OBS

If you searched for use phone as webcam, look on your phone for an address starting with rtsp://. A camera app that shows this address can send live video over your network. You can open the picture in VLC or use it in an OBS scene.

Get a picture on the computer

Connect the phone and computer to the same Wi-Fi. Start the stream in your phone's camera streaming app. Keep the full address handy, including the port number after the colon. The same address goes into either program below.

  1. Use your phone as a webcam on Windows 11

    Open VLC on the PC. The VideoLAN desktop guide gives the menu path. "To play a network stream, click on Media on the menu bar and select Open Network Stream." Paste the phone's address and click Play. Move your hand in front of the lens. If you see it move in VLC, you know the PC can read the live picture.

  2. Use your Android phone as a webcam in OBS

    Choose the scene where you want the picture. In the words of the University of South Florida's OBS guide, "The sources are the elements that make up a scene." Under Sources, click the plus button and add a Media Source. Clear Local File, paste the address into Input, and click OK.

    Check the framing in the OBS preview. To send that scene to a meeting app, click Start Virtual Camera in OBS, then choose OBS Virtual Camera in the meeting app's camera menu if it appears there.

What Iris sends from the phone

I built Iris to send a single H.264 video track. The PC reads the stream with VLC or OBS. Iris supplies no Windows webcam driver. For sound on a call, choose a separate microphone in the meeting app.

With the stream off, choose a lens, resolution, and frame rate. The starting settings are the back camera at 720p and 30 frames per second. Turn on the camera switch and allow camera access if asked. Iris then shows the connection details and a viewer count.

Iris with the camera off and 720p, 30 fps, and the back camera selected.
Choose the camera settings before starting the stream.
Detail of Iris streaming with zero viewers connected.
Zero viewers means Iris is waiting for a player to open the stream.

Which address goes into the player?

Two ways to reach the same Iris stream
ConnectionAddress on the PC
Wi-Firtsp://192.168.0.125:8554/
Example for a phone at 192.168.0.125. Use the address your phone shows.
USBrtsp://127.0.0.1:8554/
Use this address on the PC after setting up USB forwarding.

For USB, connect the cable, enable USB debugging on the phone, and authorize your PC. With Android Debug Bridge installed on the PC, run adb forward tcp:8554 tcp:8554. Start Iris and set the player to use RTSP over TCP. The address in the USB row now reaches the phone through the cable.

What was not checked

On a Pixel Fold, the stream reported 1280 by 720 at 30 frames per second, and a video tool decoded a frame. That check did not cover a full meeting on Windows 11, sustained playback at 60 fps, or a timed comparison of Wi-Fi and USB delay. Battery use during a call was also unmeasured.

Email Saifullah Explore all one hundred eight stories