fpv-wtf / dji-moonlight-embedded

GNU General Public License v3.0
10 stars 3 forks source link

Mac Support for DJI Moonlight GUI #5

Open jpwolfe9912 opened 1 year ago

jpwolfe9912 commented 1 year ago

I was wondering if there is anyway to port the GUI for a Mac? I ran the Windows exe on my VM, but it couldn't read and connect to the port my goggles were connected to.

j005u commented 1 year ago

The GUI currently depends on Microsoft's WebView2 which is not available on OS X and would therefor need a re-write.

The bigger problem however is porting the underlaying moonlight-embedded executable that is actually in charge of streaming (and can be used from the CLI). We've attempted this, but OS X lacks some core library functions that moonlight-embedded depends on and would need a re-write of a core part to get it to build.

jpwolfe9912 commented 1 year ago

Understandable. I was mostly curious because the full Moonlight also has an option to run on Macs. Is there a way to compile it for Ubuntu?

j005u commented 1 year ago

Since the moonlight client on PC in our use case it simply a dumb forwarded it was much easier for us to work with moonlight-embedded as a starting point. It would require relatively extensive modifications to the full Moonlight application to work with the goggles. In principle this is entirely possible, but would need quite a bit of effort put into it.

For Ubuntu yes - we recently merged build instructions into the repos README. Don't expect decent performance if you're running this inside a VM in OS X though.