Chromecast –从Chrome连接到其他设备会话 [英] Chromecast – Connect to other device session from Chrome

查看:117
本文介绍了Chromecast –从Chrome连接到其他设备会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google Chrome浏览器进行投射并使用会话监听器可以加入已创建的会话,当从chrome创建会话时,如果 autoJoinPolicy 设置为 ORIGIN_SCOPED 它甚至可以在其他选项卡上工作。

When casting from Google Chrome and using the session listener it's possible to join an already created session, this works well when the session is created from chrome, and if the autoJoinPolicy was set to ORIGIN_SCOPED it even works from a different tab.

如果另一台设备创建了会话, sessionListener 处理程序不会触发,因此我无法加入创建的会话。

If another device created a session the sessionListener handler doesn't fire, so I'm not able join the created session.

在设备(Android,iOS)之间可以检测会话,这与我想使用chrome达到的相同行为是否可行?

Between devices (android, ios) is possible to detect sessions, that the same behavior I would like to achieve with chrome, is this possible?

推荐答案

您也可以连接到其他会话,它不一定是您自己的会话。例如,您可以检出 CastVideos-android CastVideos-chrome 示例应用程序,并使用Android启动投射会话,然后使用chrome应用程序连接到该会话。

You can connect to other sessions as well, it shouldn't be necessarily your own session. For example, you can check out the CastVideos-android and CastVideos-chrome sample apps and start a cast session with Android and then connect to that with the chrome app.

这篇关于Chromecast –从Chrome连接到其他设备会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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