Duo Stream Integrationο
- OS:
πͺ Windows
Duo is an HDR-compatible multiseat game streaming solution for Windows. It builds on top of Sunshine to overcome one of its core limitations: Sunshine in its basic form supports only a single streaming session, tied to the Windows Console session. Duo enables multiple users to stream simultaneously and independently from the same machine by running each session inside a dedicated Remote Desktop (RDP) session, linked to a specific Windows user account.
Each Duo instance is a logical streaming endpoint with a unique base port. When an instance is started, Duo creates an RDP session for its associated user and launches an embedded Sunshine server inside it. Moonlight clients then connect to it exactly as they would to a standalone Sunshine server. Duo adds further enhancements on top β for example, automatically adjusting the virtual display resolution to match the connecting client.
By default, instances can only be started and stopped manually through the Duo Manager and itβs web interface, or configured to start automatically when the Duo service starts. This plugin lets Desomnia automate the instance lifecycle: instances are started on demand when a Moonlight client connects, and stopped once no client has been active for the configured timeout. The physical system is kept awake for as long as at least one instance is running. See Demand detection to learn about the options you can choose from.
Since most configuration is optional, a minimal setup looks like this:
<SystemMonitor timeout="5min">
<NetworkMonitor ... /> <!-- optional, needs Npcap installed -->
<DuoStreamMonitor onInstanceDemand="start" onInstanceIdle="stop" />
</SystemMonitor>