【问题标题】:Airplay with photos带照片的 Airplay
【发布时间】:2012-07-15 21:50:46
【问题描述】:

查了airplay的官方文档,发现airplay只能支持音视频。但除此之外,本机照片应用程序可以播放照片。那么有什么方法可以播放照片吗?顺便说一句,我知道“镜像”模式可以完成这项工作:我可以在我的代码中检测到 2 个屏幕,并在此模式下向 iOS 设备呈现不同的屏幕。但是,“镜像”模式只存在于 iPad 2、新 iPad 和 iPhone 4S...

【问题讨论】:

    标签: ios airplay


    【解决方案1】:

    我在这里找到了解决方案 http://livevision.us/wordpress/2011/02/16/airplay-without-private-api/How to find the IP-address of the active AirPlay device?

    我可以将一些 UIImage 发送到 Apple TV。

    但我不知道苹果是否允许使用这些非官方 Airplay 协议。

    【讨论】:

    • 谢谢!我在几天前找到了另一个airplay协议http://nto.github.com/AirPlay.htmlserval的非官方文档,它们都是协议级别的,但是由于它们没有文档,所以我不确定如果我使用它,苹果是否会拒绝该应用程序...
    • 你的应用怎么了?获得批准了吗?
    【解决方案2】:

    它记录在 Apple 的网站上。当用户启用 airplay 镜像时,您的应用会找到两个 UIScreen:s。这很简单。

    这是一个示例应用程序http://developer.apple.com/library/ios/samplecode/GLAirplay/Introduction/Intro.html

    【讨论】:

      猜你喜欢
      • 2017-03-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多