Featured image of post Moonshine: headless streaming server for Moonlight released in v0.19.2

Moonshine: headless streaming server for Moonlight released in v0.19.2

Moonshine, a headless streaming server for Moonlight, has been released in version v0.19.2.

After version 0.19.1 with its reworked install script, this is a bugfix release. HEVC streams no longer freeze on the first frames on iOS clients (Moonlight and VoidLink), and pairing can be finished from the command line via /submit-pin without a uniqueid. Video is also now encoded below the client’s requested bitrate, matching Sunshine.

Changed

  • /submit-pin no longer needs a uniqueid. Without one, the PIN goes to the single pairing request waiting for it, so you can pair from the command line. The endpoint returns 404 if no request is waiting and 409 if several are.

Fixed

  • HEVC streams that froze on the first frames on iOS clients (Moonlight and VoidLink) when the client let the host choose reference frames. The encoder now keeps only the references the stream’s level allows (5 at 4K), and 4K at 120 fps uses level 5.2. H.264 also keeps its reference buffer within its level.
  • Video is now encoded below the client’s requested bitrate, so FEC, audio, and packet overhead fit within it, matching Sunshine’s behavior.
  • PINs are refused for pairing requests that already have one or that are more than 5 minutes old. Previously the server reported success even though nothing paired.
  • Pairing finishes if the PIN arrives right after the pairing request, rather than waiting indefinitely.
  • /submit-pin rejects PINs that aren’t 4 digits, as the control panel does.
  • The Nix service runs in the moonshine group and has polkit enabled, so it can keep the computer awake.

Moonshine

Source: GitHub

PlayingTux – Playing Games on Linux - since 1995.