Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Screen Sharing in Adobe Air

Tags:

air

flex3

adobe

I am making a whiteboard application in Adobe Air. I want to share my screen with the other user and allow him to access my desktop, similar to remote desktop.

I tried googling around but found no useful information on this.

Can anybody give me some useful pointer to look into it.

like image 333
Sumit Ghosh Avatar asked Jan 25 '26 22:01

Sumit Ghosh


1 Answers

I don't think there's anything out there to fit your needs out of the box.

I think that, in theory, you could grab a screenshot of your Stage every x milliseconds and send it to the other end. But that would be a huge amount of data to transfer. You should work out an algorithm that sends only information regarding what pixels have actually changed in your screen to make it more efficient. Maybe you could port an Open Source C library?

Once you have a super-efficient algorithm, you could use the new P2P capabilities of Flash player 10 to speed up the interchange of information. But it looks like an awful lot of work.

You could also go the Open Source route, forget AIR and its limitations to launch external apps and use SWHX together with any C library to do the actual job. Sounds much more plausible to me.

Or maybe there's something done already that I'm just not aware of.

I leave this more as a bonus really, Darron Schall wrote a VNC client in AS3 time ago, it's not exactly what you need, but it's related.

Good luck : )

Juan

like image 52
Juan Delgado Avatar answered Jan 28 '26 21:01

Juan Delgado



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!