Sunshine overview: your own low-latency game streaming host
What Sunshine does
Sunshine is a free, open source streaming host. It runs on the machine that owns the screen and the graphics card, captures the desktop, encodes it with the GPU, and serves the resulting stream to clients that speak the Moonlight protocol. That protocol began life inside NVIDIA GameStream, and Sunshine reimplements the host half of it in the open, which means phones, tablets, smart TVs, single-board computers and ordinary laptops running Moonlight can all connect to a PC that has no cloud service in the middle. Encoding is delegated to the hardware already present: NVENC on NVIDIA cards, AMF on AMD, Quick Sync on Intel, and VideoToolbox on Apple hardware. The software is licensed under the GNU General Public License version 3, so the installer may be redistributed unchanged.
How a typical streaming session works
After installation the host runs as a background service and exposes a small web interface on the local machine, normally on port 47990. The first visit asks you to create a username and password, which protects that console. From there you add applications: a desktop session, a specific game executable, or a launcher such as Steam. When a client connects for the first time it displays a four-digit PIN, and you type that PIN into the host console to pair the two devices. The client then lists the applications you published, and starting one begins the capture, encode and network send in one motion. A tray icon and the web console both show the current session and let you stop it.
Settings, practical limits and tuning
The console covers encoder selection, bitrate, resolution, frame rate, HDR if the display and encoder support it, and audio device routing, so the stream can be pointed at a virtual or physical output. Because encoding is hardware bound, quality and frame rate ceilings depend entirely on the GPU generation: an older card may only offer H.264 at moderate bitrates, while newer hardware can add HEVC or AV1. The web console uses a self-signed certificate, so the browser will warn about the connection the first time. There is no relay service, so the host and client must be able to reach each other directly, typically on the same local network or over a VPN. On Windows the installer registers a service and opens the firewall, and Windows treats the display as an interactive session, which is why the host must be installed on a machine that actually has a GPU and a logged-in desktop.
When to choose something else
If you would rather pay a provider to handle NAT traversal, hosting and client apps, a commercial cloud gaming service removes every bit of this setup. If the goal is plain remote administration rather than smooth video and low input lag, a remote desktop tool is simpler and lighter. If your machine has no usable hardware encoder, a software encoder will not keep up with interactive play, and if the point is one-way broadcasting to an audience rather than a private session, a streaming suite with scenes and chat integration fits better. Sunshine is for people who want the stream to stay on their own hardware and network.
- Best for
- Players and tinkerers who want to stream their own desktop or games to another device without a cloud subscription.
- Good to know
- Host and client must reach each other directly, the web console uses a self-signed certificate, and stream quality is capped by the GPU encoder.
How to get started
- Download the Windows installer from the official release page and run it, allowing the service and firewall changes it requests.
- Open the host web console at the local address shown after installation and create a username and password.
- Add the applications you want to launch remotely, such as a desktop session, a launcher or a game executable.
- Install Moonlight on the client device, let it find the host on the network, then enter the four-digit pairing PIN shown by the client into the web console.
- Start an application from the client, then tune bitrate, resolution and the encoder from the console while the stream runs.
Questions & answers
Do I need an NVIDIA card?
No. NVIDIA NVENC is only one option, since AMD AMF, Intel Quick Sync and Apple VideoToolbox are also supported.
Why does the browser warn about the console?
The console is served over HTTPS with a self-signed certificate, so the browser flags it until you accept the exception.
Can I stream over the internet?
Yes, as long as the client can reach the host directly, either through port forwarding or a VPN, because no relay service is involved.