无法在Chromecast中获取收件人列表 [英] Unable to get Receiver List in Chromecast

查看:79
本文介绍了无法在Chromecast中获取收件人列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Chrome API为我们的网站制作一个发送方和接收方应用程序,目前,当用户想要连接chromecast(其扩展名和设备列表),但在youtube中显示该信息时.

I am doing a sender and receiver app for our site using Chrome API, currently when user wants to connect chromecast, its opening extension with device list, but in youtube its showing right there..

当我启动chromecast发送器应用程序时,我无法获取接收器列表,我所获得的只是设备是否可用,有一些旧示例使用cast.Api.addReceiverListener()来获取可用设备的列表.但目前无法正常运作,而且似乎没有其他选择.

i am unable to get receiver list when i initiate chromecast sender app, all i am getting is device available or not, there are some old examples which uses cast.Api.addReceiverListener() to get the list of available devices.. but currently its not working and there seems to be no other option to do it..

我可以看到youtube和netflix正在这样做

i can see youtube and netflix are doing it though

谢谢.

推荐答案

当前的Chrome API尚未正式支持此功能. YouTube可能使用了未记录的功能或其他DIAL功能.

This is not officially supported in the current Chrome API. YouTube is likely using undocumented features or other DIAL functionality.

这可能很有趣: https://github. com/jloutsenhizer/CR-Cast/wiki/Chromecast-Implementation-Documentation-WIP

这篇关于无法在Chromecast中获取收件人列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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