Internals - AtesComp/miraclecast Wiki


miracast specification is implemented on miraclecast by:


Source Implementation:

With WIP source implementation, source side functionalities are implemented by:

Run as a service and access to privileged resources

WIP source implementation also added DBus and systemd service files for miracle-wifid and miracle-dispd, this way, the two daemons can be launched on-demand (eg. by running miracle-dispctl).

In the systemd service files, unused caps are dropped (further fine grained permission control are needed), if any EPERM error encountered, try to relax it from miracle-wifid.service or miracle-dispd.service. miracle-dipsd also switches to the user who request to establish WiFi-Display session (the user who owns the display session) and restricts it to gain new caps by prctl().

Windows compatibility

With WIP windows fix you can do screen mirroring with a a Windows 10 OS as sink