gpt4 book ai didi

user-agent - 通过 User-Agent header 检测 SmartTV 和其他电视

转载 作者:行者123 更新时间:2023-12-02 03:41:26 33 4
gpt4 key购买 nike

通过 User-Agent header 检测设备是否为 SmartTV 设备的任何常用方法/模式?可能正在搜索 TV 或其他内容?

请告知还有其他值得检测的电视相关平台吗?

UPD:根据这个http://user-agent-string.info/?Fuas=Mozilla%2F5.0+%28SmartHub%3B+SMART-TV%3B+U%3B+Linux%2FSmartTV%29+AppleWebKit%2F531.2%2B+%28KHTML%2C+like+Gecko%29+WebBrowser%2F1.0+SmartTV+Safari%2F531.2%2B&test=8066&action=analyze SMART-TV 是它的标志,但是...

最佳答案

此 PDF 描述了电视的“混合广播宽带电视”用户代理标准,您可以在许多(并非所有)电视的用户代理中找到它。这涵盖了大部分情况。

http://www.etsi.org/deliver/etsi_ts/102700_102799/102796/01.01.01_60/ts_102796v010101p.pdf

相关引述:

7.3.2.4 HTTP User-Agent header

All outgoing HTTP requests made on behalf of an Hybrid Broadcast Broadband TV application shall include aUser-Agent header using the syntax described in this clause.

The User-Agent header shall include: HbbTV/1.1.1 (<capabilities>;> [<vendorName>]; [<modelName>]; [<softwareVersion>];> [<hardwareVersion>]; <reserved>) Where:

• The <capabilities> fieldconsists of zero or more concatenated Hybrid Broadcast Broadband TVoption strings as defined in clause 10.2.4.

• The <vendorName>,> <modelName>, <softwareVersion> and <hardwareVersion> fields are thesame as the one defined in the application/oipfRemoteManagement objectin the OIPF DAE specification [2] and are optional.

• The <reserved>field is reserved for future extensions.

10.2.4 Hybrid Broadcast Broadband TV option strings

"+DL" Support for file download feature

"+PVR" Support for PVR feature

"+RTSP" Support for RTSP streaming feature

关于user-agent - 通过 User-Agent header 检测 SmartTV 和其他电视,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19788728/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com