WebcamToBrowser is a high-performance Windows desktop application that captures your laptop's internal camera feed and streams it live to your local network. Devices on the same Wi-Fi network (especially smartphones) can view the real-time stream directly in their browser—no external app installation required.
Important
🚀 Ready-to-Run (No Building Required)
If you just want to use the application and avoid building from source, download the pre-compiled standalone package from the Latest Releases page.
- Download
WebcamToBrowser-win-x64.zip - Extract the contents
- Double-click
WebcamToBrowser.exeto start streaming instantly!
- Integrated Webcam Capture: Powered by
FlashCap, providing direct, zero-dependency camera frame grabbing. - Dynamic MJPEG Streamer: Multi-threaded socket server that streams video directly to browsers.
- Zero Configuration Portability: Bypasses HTTP.sys, meaning the app runs without Administrator privileges.
- Modern Dark UI Dashboard: Clean glassmorphism layout, glowing active status, dropdowns to select camera feed, resolution, and framerate.
- Dynamic Client Counter: Live visual display of how many mobile/browser devices are currently streaming.
- Auto-Generated QR Code: Simply scan the QR code on your phone to connect instantly.
- Mobile-Friendly Viewer Page:
- 90°/180°/270° Rotation: Rotate landscape stream vertically to fill the screen in phone portrait orientation.
- Flexible Fit Styles: Switch between
Contain(whole frame visible) andCover(stretches/zooms to fill screen). - Fullscreen Toggle: Native browser fullscreen layout, with custom Pseudo-Fullscreen Fallback for iOS Safari/iPhones.
- Floating Action Overlay: Floating buttons in fullscreen to control rotation/fit and exit view easily.
- Windows 10 or 11
- .NET 9.0 SDK (to build from source)
- Clone this repository.
- Open your command terminal in the project directory.
- Build and run the app:
dotnet run
- Select your webcam source and preferred resolution.
- Enter your desired streaming port (default
5000) and click Start Streaming. - Point your smartphone to the same Wi-Fi network.
- Scan the QR code displayed in the WebcamToBrowser dashboard.
- In your mobile browser, tap Fullscreen or Rotate to adjust the viewport to fit portrait mode perfectly.
To compile a single-file, self-contained executable suitable for GitHub releases (which can run on other Windows machines without needing .NET installed):
Run this command in the project folder:
dotnet publish -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:PublishReadyToRun=trueThe output standalone file WebcamToBrowser.exe will be built inside:
bin/Release/net9.0-windows/win-x64/publish/
A ready-to-run copy of the compiled release is placed in the local ReleaseBuild folder for easy access and distribution.
Licensed under the MIT License.