iOS: Convert iOS app screen as network packets

匿名 (未验证) 提交于 2019-12-03 08:46:08

问题:

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.

回答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



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!