shaka-project / shaka-player

JavaScript player library / DASH & HLS client / MSE-EME player
Apache License 2.0
7.22k stars 1.34k forks source link

Add support for CTA-WAVE Common Access Token #7649

Open avelad opened 15 hours ago

avelad commented 15 hours ago

The CTA Common Access Token (CAT) is a CBOR Web Token (CWT) defined by this spec draft. The token workflow requires the participation of the player in the renewal workflow of the token. During a request, and if the CAT in use is about to expire, a new CAT will be generated by the CDN and sent along with the requested media object (a redirect can also be used), after its reception the player will need to switch to the new CAT in a timely manner. For a detailed description of the renewal workflow please see section 4.2. Access an Asset with Renewal of the Token and 6. CAT Replay (catreplay) claim)

Related to https://github.com/Dash-Industry-Forum/dash.js/issues/4395