Built-in Miracast support (Wireless display specification)

Yes, quite a lot actually! The hardest part was the RTSP/WFD handshake itself, getting through M1/M3/M4/M5 + SETUP/PLAY without controlling both endpoints is genuinely painful. Samsung and LG both have their own quirks in how strictly they follow the spec, so what works for one sometimes breaks the other.

The other big challenge was screen capture on Wayland. On Hyprland it was straightforward via wf-recorder and wlr-screencopy, but KDE and GNOME don’t support that protocol so I had to implement a separate xdg-desktop-portal + pipewire path. That’s still not fully stable, portal pipeline on Intel integrated graphics has performance issues I’m still working through.

Wi-Fi Direct connection management via NetworkManager D-Bus turned out to be much cleaner than going through wpa_cli directly, which kept hitting permission walls.

If you’re on KDE, gnome or whatever any DE and want to help test or contribute that would be very welcome!!!

1 Like