Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS: Convert iOS app screen as network packets

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.

like image 643
Getsy Avatar asked Nov 11 '22 18:11

Getsy


1 Answers

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

like image 99
Markus Schumann Avatar answered Nov 15 '22 06:11

Markus Schumann