【发布时间】:2013-11-20 04:20:01
【问题描述】:
我不想发送视频;我想从 iOS 应用程序向 Chromecast 发送静态图像。我没有看到任何迹象表明这是可能的……但似乎也不是不可能的。
有谁知道这是否可以做到?
【问题讨论】:
-
Google 有一个适用于 chromecast iOS 的 SDK,在这个 github repo 上也有一些示例代码。您可以进一步探索。
标签: ios chromecast
我不想发送视频;我想从 iOS 应用程序向 Chromecast 发送静态图像。我没有看到任何迹象表明这是可能的……但似乎也不是不可能的。
有谁知道这是否可以做到?
【问题讨论】:
标签: ios chromecast
你的意思是说你想显示图像而不是视频。
所以你需要做2个改变,
较早的接收器文件包含
<video id="vid"
style="position:absolute;top:0;left:0;height:100%;width:100%">
<div id="status" style="display:none; font-size:300%; position:absolute;top:40%;left:40%;">
<img src="/images/chrome_loading.gif" width="60%">
</div>
改成
<body>
<img id="vid" style="position:absolute;top:0;left:0;height:100%;width:100%"/>
</body>
【讨论】: