Windows game streaming, written in Rust. Built for Radeon and NVIDIA. Made for Moonlight.
Download Windows x64 installer · Portable ZIP
New in 3.7.0
Rubylight 3.7.0 makes the couch easier: a paired device approves a new one, a running game moves to another device in one press or plays on both, and Nightjar can group Home by your Steam collections and Playnite categories. Browser streams and guest links now say why they can't connect, and Firefox streams on the PC itself. A monitor no longer ends up at 60 Hz or dark after an exclusive or shared stream, and a TV no longer lights up alone when a sleeping monitor wakes as an exclusive stream ends.
Move or share a running game
- Continue here. A paired device with View and Launch can take the running game's stream from another device:
POST /session/continue-hereends the other device's stream, keeps the game running and tells that device where its stream went for two minutes. Co-op, background, Input-only and Remote Monitor sessions and WebRTC guests are left alone. GET /sessionnames the device playing the running game for callers with List or View.- A press that fails changes nothing for good: the game goes back to the first device, still running, and survives close on disconnect for a minute, so that device can come back.
- A device that does not own the game may join it with
/resumebeside the owner. That/resumeanswers 409 when another device holds a plain WebRTC stream, which a Moonlight stream would end, or when itsappuuidnames another game than the running one; a request withoutappuuid, and the owner's own, resolve to the running game. It never starts a game. - Stream here too shows the game. The second device now shares the display the game is on, whatever resolution it asked for: the picture is scaled to the device, and the game's resolution, refresh, HDR and scale stay as they were. If that display is slower than the device asked for or has other HDR, the stream still runs; apps that read the stream's warnings say so, and the host logs a different HDR. A plain second stream and Desktop still get a display of their own for each device. A game started from the console or opened on a physical monitor is not on a display to share, so the second device sees an empty desktop there.
Browser streams and guest links
- The console's Stream page now works in Firefox on the PC itself. With the console opened at
127.0.0.1orlocalhost, the host offered only that address, and Firefox doesn't send anything to a loopback address, so every stream failed after 5 seconds with "The connection to the host failed." - A browser on the PC itself keeps its monitors on: the
exclusivedisplay layout, andensure_only_displayon a physical display, run asextended_primaryfor such a stream, since the browser showing it is on one of them. - When a browser stream or a guest link can't connect, the page now says what it saw, in plain words: the browser never tried or the PC didn't answer at this address and UDP port (within 8 seconds), or the encrypted connection failed (within 30 seconds), each with its fix. The host's log records the same.
Your monitors stay as you set them
- An extended stream no longer changes your monitor after an exclusive one. The end of an exclusive stream saved a Windows layout for that device with its virtual display as main and your monitor at the refresh Windows picks (60 Hz on a 120 Hz monitor). Every later extended stream from that device was handed it: the monitor ran slower for the whole stream, a game losing focus could put windows on the virtual display, and the layout could be learned as the device's own. Now the entry keeps your displays as you have them, and a stale one is put back when it shows up, also for a second stream's display, for a Remote Monitor's and when another stream's display leaves. A device that already learned the main-display layout this way keeps it until you change its setting.
- A stream going on keeps its layout when another display leaves. Monitors that were off stay off, and a game the leaving display minimised comes back. A layout you changed yourself in the meantime, a window you minimised yourself and a game running in the background are left alone, and a Remote Monitor stream or a paused one never pulls the game forward.
- Monitors no longer stay dark after a shared session. A layout is saved only while a virtual display it was made for is still there, also when another display arrives, and never under your own monitors' entry, so Windows has nothing with your monitor off to recall once the last stream ends.
- A sleeping monitor no longer leaves a TV on alone when an exclusive stream ends. A monitor that went to sleep during the stream can drop off the list for 3 to 6 s as it wakes, and with the virtual display already gone Windows switched on the only display left, such as a TV that was off. On a PC with such a display the virtual display now stays in the background until the monitor has stayed for 3 s or come back (up to about 13 s), then your layout is put back. Nothing waits for that: closing a game, ending a session or shutting down answer as before, and a new stream starts right away, ending the wait early. That stream takes the wait over: the TV goes off again, and on a layout that keeps your monitor the monitor is back at its mode once it returns. If the launch fails, your layout is still put back. Saving or restoring the display baseline and resetting display memory ask you to try again in those few seconds.
Pairing from the couch
- Approve a new device from a paired one. A device with the new Approve new devices permission sees who waits to pair and enters the PIN the new device shows, so a TV or console no longer means a walk to the PC. The new device gets Play, never more than the approver holds. Three wrong PINs end an address's requests for five minutes, a wrong PIN holds that address for 30 seconds, and every approval raises a toast, a log line and the
pairing.pairedwebhook, naming both devices. The first device with a certificate paired on a host from now on has the permission unless paired as Watch only (a browser paired earlier doesn't count), later devices get it under Devices, Other, and devices already paired are unchanged by the upgrade. It allows nothing else, and an approved device doesn't inherit it. Host control approves too. - The pairing toast now opens the Devices page with the PIN field focused, also after signing in, and the tray has a new Pair a device item that opens the page at the QR code.
- Open in Nightjar. The Devices page has an Open in Nightjar link next to Copy pairing link, so a console opened on the phone, or on a PC with Nightjar, pairs in one click. Nightjar asks before it pairs.
Library
- Collections without setup. Each library entry now names its Steam collections and Playnite categories, so Nightjar can group Home by them. Steam's files are only read; missing or changed files mean no collections and a log line, never a failed library. A file that can't be read keeps the last collections for two more scans at most.
- Steam installs show up sooner. With auto sync on, an install or removal reaches Nightjar in about a minute instead of up to 5 minutes. Library scans now run at background priority.
Tested. On the RX 7900 XT PC with Windows 11 (build 26200) and a test host. Browser streams on the PC itself connected in 535 ms in Firefox and 522 ms in Chrome at 127.0.0.1, 527 ms in Chrome at localhost and 784 ms in Firefox at the PC's network address; before the fix Firefox failed after 5 seconds. With Nightjar on a mini PC as the devices, on the extended and exclusive layouts: a stale Windows layout was put back at a first stream, a second stream and a Remote Monitor, leaving the monitor primary at 120 Hz; Stream here too left the display's resolution, refresh and scale as they were; an exclusive second stream kept the physical displays off to the end apart from the moments Windows recalled a layout; and a layout chosen with Windows' own display switch during a stream was still remembered for that device, while /extend taught it nothing. At the end of an exclusive stream, on a monitor that dropped off the list as it woke, a TV that was off stayed off in every run, where it had lit alone for about 2 s; a new stream right behind that end showed video 2.8 to 3.5 s after the quit, against 4.4 s before. The monitor stopped dropping in the last test rounds, so those runs are from the builds before the final changes, and a next stream taking over while the monitor is away ran in unit tests only. On a Retroid Pocket 6, Stream here too joined a running stream, and Continue here moved it from a mini PC in about 1.9 s with the app still running. The full test suite passed on this code.
Install or upgrade
Disconnect your stream and close host-launched games, then run the installer. Your settings, paired devices and game library are preserved. Open the console at https://localhost:47990.
Full release notes · Build and tests · Code signing policy · Host validation