5

I am developing an iOS application, where i need to share my iOS application screen converted as network packets into another server destination. I can use socket programming for sending and receiving network packets. But, i want to know, how can it be possible to convert my iOS app native screen (view) to packets? For ex: In windows desktop, its achieved by RDP and video driver converts desktop screen to packets.

Please advise if anyone come across working on such thing.

Thank you.

Getsy.

10
  • Hmm... I doubt you'd get an API for that on iOS. Is transferring screenshots acceptable? Then you'd be sending images. Commented Nov 18, 2013 at 18:52
  • Hi Shinigamani, Yeah, if no api provides to support packet transferring, then need to look for screenshot streaming methodology. Will it fast? How can i do that way? Commented Nov 25, 2013 at 9:48
  • Do you use IOSurface private framework to capture screen? What's the frequency of screen capture? Based on that I may be able to suggest.. Commented Nov 26, 2013 at 10:01
  • I assume you mean capture the entire screen, even when the app is closed/you are playing with other apps. That's not possible with public APIs, you can only get a snapshot of your own app. Commented Nov 28, 2013 at 10:43
  • Hi, I want to do screen sharing of my app screens only, not the any other app. Commented Nov 29, 2013 at 19:13

1 Answer 1

1

iOS has native support to mirror the screen to a remote display. It is called AirPlay Mirroring.

It would be very hard to provide a similar experience trying to bypass iOS. You would have to run in the background. You would have to do some sort of video compression combined with streaming. Apple doesn't give you enough control over their H.264 hardware compressor.

There are multiple products out there to receive the your iOS screen. For example: http://www.airsquirrels.com/reflector/ or http://www.airserver.com/

If you want more control on the receiving side you could write your own AirPlay receiver. I'd start here: http://nto.github.io/AirPlay.html#screenmirroring

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.