Skip to content

BA489/moonlight-ohos

Repository files navigation

MoonlightOH

showcase

Yet another Sunshine client implementation on HarmonyOS Next.

Other port(s) I know:

Current state

  • Add Sunshine server on LAN with static IP:port manually.
  • Streaming 1080p with software H.264 decoder on Windows X86 emulator.
  • Some ArkTS UI prompts are now triggered by Limelight runtime.
  • Metrics overlay.
  • Touch support.
  • Decode and play streamed audio.
  • Layered stream preference, global - server - app.
  • Hook back action of streaming page to dialog for config and exit.
    • Exit, or end streaming.
    • Configure video stat hide or show.
    • Configure control methods.
  • Virtual trackpad.
  • Hardware decoding & HDR10.
    • On Pura 70 Pro, H.256 HDR10 decoding latency 2K typical ~9ms, 4K typical ~15ms.
  • Virtual text input, holdable modifier keys and function keys.

Roadmap

No HarmonyOS Next hardware required:

  • Configurable virtual macro buttons, remember it on a per-app basis.
  • Configurable layout, remember it on a per-app basis.
    • Rendering area.
    • Virtual buttons.
  • Configure default control method in stream preference page.
  • More metrics.
    • Report estimated RTT via LiGetEstimatedRttInfo().
    • Report audio streaming stats.
  • Support 16:10 resolutions or negotiate with Sunshine server.

HarmonyOS Next hardware required:

  • mDNS discovery.
    • Currently the API is buggy, it returns empty-string for address and -1 for port, service name is correct though...
  • Physical mouse and keyboard support.
  • Performance optimizations.
    • Eliminate context switching, e.g. the render output thread.
  • Support pen event.

Possibly will be supported by HUAWEI in the future:

  • Controller over BLE / SLE, driver and wiring.

Personally not interested, however noted here anyway:

  • WAN streaming.
  • Virtual controller.
  • Vertical streaming and automatic orientation switching.
  • Handle stream change.
  • Controller over USB.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published