iOS:将iOS应用程序屏幕转换为网络数据包 [英] iOS: Convert iOS app screen as network packets

查看:92
本文介绍了iOS:将iOS应用程序屏幕转换为网络数据包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个iOS应用程序,在这里我需要共享转换为网络数据包的iOS应用程序屏幕到另一个服务器目标位置.我可以使用套接字编程来发送和接收网络数据包.但是,我想知道,如何将我的iOS应用本机屏幕(视图)转换为数据包?例如:在Windows桌面中,其通过RDP和视频驱动程序实现的功能将桌面屏幕转换为数据包.

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.

谢谢.

Getsy.

推荐答案

iOS具有本机支持,可将屏幕镜像到远程显示器.它称为"AirPlay镜像".

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

要提供类似的尝试绕过iOS的体验将非常困难. 您将不得不在后台运行.您将不得不结合流进行某种视频压缩. Apple无法为您提供对其H.264硬件压缩器的足够控制.

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.

有多种产品可以接收您的iOS屏幕.例如: http://www.airsquirrels.com/reflector/ http://www.airserver.com/

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

如果要在接收端进行更多控制,可以编写自己的AirPlay接收器. 我将从这里开始: http://nto.github.io/AirPlay.html#screenmirroring

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

这篇关于iOS:将iOS应用程序屏幕转换为网络数据包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆