DASH mpd 将 http header 添加到所有请求
DASH mpd add http header to all request
我正在编写一个 mdp 文件,我正在寻找一种方法来指定(或修改)客户端为特定呈现所做的所有请求的 HTTP header。我想在 http 请求中添加一个授权字段。我希望在不编辑客户的 sw 的情况下这样做。
我已经阅读了 ISO/IEC 23009-1,但我还没有找到任何相关信息。有人知道怎么做吗?
如果您的意思是将相同的基础 Url 添加到所有请求,那么这是可能的,您只需在 DASH 清单本身中指定一个基础 URL 即可。它看起来很简单:
<BaseURL>http://example.com/ondemand/</BaseURL>
在撰写本文时,在 Mozilla 页面上有一个完整的示例,包括上面的行:
还有一个新的 DASH 标准,仍处于定义阶段,因此目前很难找到实现,旨在支持基于令牌的访问身份验证机制:
DASH-IF IMPLEMENTATION GUIDELINES: TOKEN-BASED ACCESS CONTROL FOR DASH (TAC)
Scope
The scope of this document is to define a token-based access control mechanism and to enable the signaling of Authentication and Authorization (AA) protocols for DASH-based streaming. An Access Token is a proof that a DASH client or user of the client have been successfully authenticated and authorized in some pre-determined AA Systems to access a particular DASH resource, e.g. DASH segments or MPDs. This document defines an Access Token format for accessing DASH resources and its transport between a DASH client and a server, hence ensuring interoperability between content providers and content delivery networks. The document focuses on the signaling and exchange mechanisms to facilitate Access Token-protected requests for the delivery of MPDs, licenses, keys and segments. This document can be used in addition to the general DASH-IF Interoperability Points.
文档可在此处获得:https://dashif.org/guidelines/
我正在编写一个 mdp 文件,我正在寻找一种方法来指定(或修改)客户端为特定呈现所做的所有请求的 HTTP header。我想在 http 请求中添加一个授权字段。我希望在不编辑客户的 sw 的情况下这样做。
我已经阅读了 ISO/IEC 23009-1,但我还没有找到任何相关信息。有人知道怎么做吗?
如果您的意思是将相同的基础 Url 添加到所有请求,那么这是可能的,您只需在 DASH 清单本身中指定一个基础 URL 即可。它看起来很简单:
<BaseURL>http://example.com/ondemand/</BaseURL>
在撰写本文时,在 Mozilla 页面上有一个完整的示例,包括上面的行:
还有一个新的 DASH 标准,仍处于定义阶段,因此目前很难找到实现,旨在支持基于令牌的访问身份验证机制:
DASH-IF IMPLEMENTATION GUIDELINES: TOKEN-BASED ACCESS CONTROL FOR DASH (TAC) Scope
The scope of this document is to define a token-based access control mechanism and to enable the signaling of Authentication and Authorization (AA) protocols for DASH-based streaming. An Access Token is a proof that a DASH client or user of the client have been successfully authenticated and authorized in some pre-determined AA Systems to access a particular DASH resource, e.g. DASH segments or MPDs. This document defines an Access Token format for accessing DASH resources and its transport between a DASH client and a server, hence ensuring interoperability between content providers and content delivery networks. The document focuses on the signaling and exchange mechanisms to facilitate Access Token-protected requests for the delivery of MPDs, licenses, keys and segments. This document can be used in addition to the general DASH-IF Interoperability Points.
文档可在此处获得:https://dashif.org/guidelines/