如何在Chromecast上通过Receiver Application获取序列号 [英] How do I get a serial number by Receiver Application on Chromecast
问题描述
我正在Chromecast上开发接收器应用程序。
我想使用序列号来限制同时查看多个设备。
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.
如何通过Receiver Application获取序列号在Chromecast上。
我无法从开发人员指南中找到它。
How do I get a serial number by Receiver Application on Chromecast. I could not find it from the developer's guide.
推荐答案
作为设备发现消息交换的一部分,device- desc.xml由具有UDN值的发件人应用接收。此UDN是一个UUID,我认为您可以使用它来唯一标识设备,甚至可能不需要序列号。
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.
这篇关于如何在Chromecast上通过Receiver Application获取序列号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!