VybeCoding_

Webcam Streaming

Stream your Mac webcam to your iPhone or browser using VybeCoding's built in MJPEG streaming with token authentication. Zero dependencies, instant setup.

VybeCoding for Mac includes a built in webcam streaming server that broadcasts your Mac's camera feed as an MJPEG stream over HTTP. This lets you view your webcam on your iPhone through the VybeCoding companion connection, or in any web browser on your local network. The stream is secured with a random authentication token generated for each session. There are no external dependencies, the streaming server is built directly into VybeCoding.

Starting a Webcam Stream

Open the webcam panel in VybeCoding's sidebar on your Mac. Select the camera you want to stream, your built in FaceTime camera or any connected USB camera. Click Start Stream. VybeCoding starts an HTTP server on a local port and generates a unique authentication token. The stream URL and token are displayed in the panel, and if your iPhone is connected as a companion device, it receives the stream details automatically.

Connecting from Your iPhone

If your iPhone is paired with your Mac through VybeCoding's companion connection, the webcam stream appears automatically in the companion tab on your phone. Tap to view the live feed. No URL or token entry is needed, the pairing handles authentication. The stream adapts to your network speed and displays at the best quality your connection supports.

Connecting from a Browser

You can also view the stream from any device on your local network by opening the stream URL in a web browser. The URL format includes the token for authentication.

warningThe stream is only accessible on your local network by default. Do not expose the streaming port to the public internet. The authentication token provides basic protection, but MJPEG streams are not encrypted over plain HTTP.
text
http://<your-mac-ip>:<port>/stream?token=<token>

# Example:
http://192.168.1.42:8080/stream?token=a1b2c3d4e5f6

Use Cases

Webcam streaming is useful in several development scenarios. Use it as a second camera angle during video calls while screen sharing your terminal. Point your Mac camera at a physical whiteboard or notebook and view it on your phone while working at a different desk. If you are running a home lab, use the webcam to monitor physical hardware while managing it over SSH from your phone. Some developers use it to stream their face to their phone during pair programming sessions when the phone is used as a secondary display.

Performance and Troubleshooting

The MJPEG stream is designed to be lightweight. It uses about 2 to 5 percent CPU on modern Macs depending on resolution and frame rate. If the stream is choppy, make sure both devices are on the same local network, streaming over a VPN mesh will have higher latency. If the stream does not connect, check that your Mac's firewall allows incoming connections on the streaming port. VybeCoding requests firewall permission on first use, but you can verify in System Settings > Network > Firewall > Options.