How do I get a serial number by Receiver Application on Chromecast

ぐ巨炮叔叔 提交于 2019-12-19 10:53:28

问题


I'm developing a Receiver Application on the Chromecast. I want to use a serial number in order to limit the viewing on multiple devices at the same time.

How do I get a serial number by Receiver Application on Chromecast. I could not find it from the developer's guide.


回答1:


As part of the device discovery message exchange, device-desc.xml is received by the sender app which has UDN value. This UDN is a UUID and I assume you can use it to uniquely identify the device and may not even need the serial no for your purpose.




回答2:


The serial number is not exposed programmatically.



来源:https://stackoverflow.com/questions/21153049/how-do-i-get-a-serial-number-by-receiver-application-on-chromecast

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!