내 사용자 인터페이스에서 사용할 수있는 Chromecast 수신기 목록을 가져 오는 좋은 방법이 있습니까?내 사용자 인터페이스에서 수신기를 어떻게 열거합니까?
공통 API의 이전 버전과 같은 코드 제공 : (found here)
var cast_api = new cast.Api();
cast_api.addReceiverListener('APP ID', onReceiverList);
...
onReceiverList = function(list) {
if (list.length > 0) {
/* list of receiver identities available here */
}
}
을하지만이 최신 API에서 누락 된 것 같습니다. 2015 년 초에 그렇게하는 가장 좋은 방법은 무엇입니까?
가능한 복제본 : http://stackoverflow.com/questions/21926127/i-used-to-be-able-to-get-a-receiver-list-in-the-chromecast-beta-now-i- 캔트 –