Audio Configuration
The name of the audio sink used for audio loopback.
- Windows
- Linux (PulseAudio)
- Linux (PipeWire)
- macOS
Use the included tool to find audio device names:Example:For devices with identical names, use the Device ID instead.
A virtual audio device that allows streaming audio while muting speakers.Virtual Audio Options:
- Steam Streaming Speakers (all platforms) - requires Steam installation
- Virtual Audio Cable (Windows/macOS)
Whether to stream audio. Disable for headless displays used as second monitors.
Install Steam Streaming Speakers driver (if Steam is installed) for surround sound and host audio muting.
Windows only
Display Selection
Select the video card to use for encoding.
- Windows
- Linux (VA-API)
Use the included tool to find adapter names:Example:
Select the display to stream.Check Sunshine logs during startup to see detected displays and their IDs.
- Windows
- Linux/macOS
Use the
device_id value from startup logs:Video Encoder Selection
Force a specific encoder. Sunshine uses the first available encoder by default.Options:
nvenc- NVIDIA graphics cardsquicksync- Intel graphics cardsamdvce- AMD graphics cardsvaapi- VA-API (AMD, Intel on Linux)software- CPU encoding
Force a specific screen capture method.Options:
nvfbc- NVIDIA Frame Buffer Capture (Linux, fastest for NVIDIA)wlr- Wayland/wlroots compositors (Linux)kms- DRM/KMS kernel capture (Linux, requirescap_sys_admin)x11- XCB capture (FreeBSD/Linux, slowest)ddx- DirectX Desktop Duplication (Windows)wgc- Windows.Graphics.Capture (Windows, beta, not compatible with service)
Video Quality
Maximum bitrate in Kbps. Set to 0 to always use the bitrate requested by Moonlight.
Lowest effective framerate for bandwidth optimization.
0- Use half the stream’s FPS as minimum1-1000- Specify custom value
Quantization Parameter for devices without Constant Bit Rate support.
Video Codec Support
Allow HEVC (H.265) video streams.Options:
0- Auto-detect based on encoder capabilities (recommended)1- Disable HEVC2- Enable HEVC Main profile3- Enable HEVC Main and Main10 (HDR)
Allow AV1 video streams.Options:
0- Auto-detect based on encoder capabilities (recommended)1- Disable AV12- Enable AV1 Main 8-bit3- Enable AV1 Main 8-bit and 10-bit (HDR)
NVIDIA NVENC Settings
NVENC Encoder Options
NVENC Encoder Options
Performance preset (1=fastest, 7=slowest). Higher presets improve compression at the cost of latency.
Enable two-pass encoding for better bitrate distribution.
disabled- One pass (fastest)quarter_res- Two passes, first at quarter resolutionfull_res- Two passes, first at full resolution
Assign higher QP to flat regions. Recommended for low bitrate streaming.
Use CAVLC entropy coding instead of CABAC. Requires 10% more bitrate but faster software decoding.
Intel QuickSync Settings
QuickSync Encoder Options
QuickSync Encoder Options
AMD AMF Settings
AMD Encoder Options
AMD Encoder Options
Encoder usage profile.
transcoding- Slowest, highest qualitywebcam- Slowlowlatency_high_quality- Fastlowlatency- Fasterultralowlatency- Fastest
Rate control mode.
cqp- Constant QPcbr- Constant bitratevbr_latency- Variable bitrate, latency constrainedvbr_peak- Variable bitrate, peak constrained
Quality profile.Options:
speed, balanced, qualityVariance Based Adaptive Quantization for improved visual quality.
Software Encoder Settings
Software Encoder Options
Software Encoder Options
Encoder preset. Slower presets provide better compression.Options:
ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslowTuning preset.
film- High quality movie contentanimation- Cartoonsgrain- Old grainy filmstillimage- Slideshow contentfastdecode- Faster decodingzerolatency- Low-latency streaming
Windows Display Configuration
The following settings apply to Windows only
Windows Display Options
Windows Display Options
Mandatory verification and configuration for display devices.
disabled- No additional configurationverify_only- Verify display is activeensure_active- Activate if inactiveensure_primary- Activate and make primaryensure_only_display- Activate and disable others
Resolution configuration.
disabled- No configurationauto- Use client resolutionmanual- Use manual resolution (requires dd_manual_resolution)
Requires “Optimize game settings” enabled in Moonlight
HDR configuration.
disabled- No HDR configurationauto- Match client HDR state
Next Steps
Input Configuration
Configure gamepad and input devices
Network Settings
Set up ports and network access

