tags:

views:

873

answers:

4

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.

+2  A: 

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

Zárate
A: 

Ok after lots of googling and researching and freaking through forums and blogs the best solution that I could find was using the Adobe-Java Merapi Bridge.

Merapi allows you to connect a adobe air application to a java application and call its methods.

Google for merapi and you have your problem solved!

Sumit Ghosh
A: 

Use Jscrcap to do that, but it won't let you control the screen of the other user.

Here's the link:

http://www.splitmedialabs.com/vh-java-capture-sdk

Muhammad Umair
A: 

@Sumit Ghosh im facing the same problem.. i willing to know how did your problem solved using merapi. actually im not a java developer. can you please give me longer description about the idea or a link for better direction. i have do a google search about merapi screen share and air but not lucky to find any.

any help will appreciated.

Regards

Kin

ktutnik
hi kin, thru Merapi I was able to call native methods in windows for Screen share etc. Merapi is just a bridge , you will have to write your own application to do the rest.
Sumit Ghosh

related questions