openairplay / AirplayMirroringGo

A cross platform AirPlay mirroring client by Go
MIT License
36 stars 2 forks source link

Gioui golang gui #1

Closed gedw99 closed 2 years ago

gedw99 commented 2 years ago

The gioui will probably be a lot better. Its 100% goang and compiles for Web, Desktop and Mobile !

You can run this to get a feel for it:

https://github.com/gioui/gio-example/tree/main/component

For Desktop just do go run main.go and it will run.

For Web and Mobile compile and packing you just use the gogui tool at https://github.com/gioui/gio/tree/main/cmd/gogio

I would be happy to help get this working in this repo as mirroring is a cool 😎 things with apple AirPlay

gedw99 commented 2 years ago

GIOUI can also take screenshots btw.

gedw99 commented 2 years ago

@dubo-dubon-duponey

@AlbanSeurat

let me know if you interested. Happy to help get a GUI going for Mirroring.

joseph-bing-han commented 2 years ago

@gedw99 I am interested in this, but my current job is a little bit busy. If possible, you can start this solution first. I will join during Christmas. Thanks.

gedw99 commented 2 years ago

I will start it . No worries

gedw99 commented 2 years ago

Can you add some setup / usage notes to the reader ?

i just want to match how your using it .

Also Mac OS now has airplay2 so easier to test it

joseph-bing-han commented 2 years ago

@gedw99 I choose Fyne for refactoring GUI finally. Please review latest source code of branch main.

gedw99 commented 2 years ago

hey @joseph-bing-han

Had a look but i have a few questions:

Your mirroring screen, not audio ?

gedw99 commented 2 years ago

I can make a gio port later if needed too. gio video playing is currently in a PR, so have to wait: https://github.com/gioui/gio-example/pull/2 But it might not be needed since all you need to do is capture screen and send over airplay ?

joseph-bing-han commented 2 years ago

Yes only capture screen and send over airplay. Reason is that this tool is used for sharing screen to AppleTV on Linux in our meeting room . Apple TV plays pictures so slowly that syncing audio doesn't make sense.

gedw99 commented 2 years ago

@joseph-bing-han ok thanks for the confirmation.

You mentioned that Apple TV plays pictures slowly. Can you give me an idea of how slow ? Maybe you can make a video of it operating ..