Sunshine and Moonlight – self-hosted game stream

In this article, I want to share my experience with using Sunshine and Moonlight to stream video to my PC's local network. This allowed me to play my favorite PC games on my home TV, with very low latency.

Sunshine and Moonlight
Sunshine and Moonlight are two open source software that allow you to stream video from a PC to a playback device, such as a TV or monitor. Sunshine is the software you install on your PC, while Moonlight is the software you install on the playback device.

Requirements
To use Sunshine and Moonlight, you will need the following:

  • A PC with a graphics card compatible with OpenGL 4.1 or higher
  • A playback device compatible with Moonlight
  • A local network with a good connection speed

Installation
Installing Sunshine and Moonlight is quite simple. To install Sunshine, follow the instructions on the project website. To install Moonlight, follow the instructions on the Moonlight website.

Configuration
Once you have installed Sunshine and Moonlight, you will need to configure them. To configure Sunshine, follow the instructions on the project website. To configure Moonlight, follow the instructions on the Moonlight website.

Usage
Once Sunshine and Moonlight are set up, you can start streaming videos from your PC to your playback device. To do this, launch Sunshine on your PC and Moonlight on your playback device.

Sunshine and Moonlight will use your local network to stream video from your PC to your playback device. The latency of the stream will depend on the speed of your local network.

Conclusion
Sunshine and Moonlight are two powerful tools that can help you play your favorite PC games on your home TV. With a good setup, you can get very low latency, which will allow you to play without any issues.

My results
In my experience, I got a latency of around 4 milliseconds. This allowed me to play PC games without any issues, even demanding titles like racing games or first-person shooter games.

Advice
To get the best results, I recommend you follow these tips:

  • Use an Ethernet cable to connect your PC to the router. This will ensure a more stable connection and lower latency.
  • Make sure your PC and playback device are on the same Wi-Fi network.
  • If your playback device supports hardware encoding, use it to improve image quality and latency.

All articles on this site are written with the OpenAI ChatGPT AI, model 3.5.
This is an advanced language model that helped generate the site's content, ensuring quality and consistency in the language.