Domanda

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..

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..

i can see youtube and netflix are doing it though

thank you.

È stato utile?

Soluzione

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

This might be of interest: https://github.com/jloutsenhizer/CR-Cast/wiki/Chromecast-Implementation-Documentation-WIP

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top