-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Set watermark-cache params for dash segments (#422)
In theory, if a content-url-template is given with watermark-cache (cache-busting) params from the server, all dash requests should carry those cache-busting params. They did not however, because the content-url-template is only used to construct the URL of the manifest - the segment URLs are constructed by shaka-player itself, based on the manifest url, but ignores all query-params on the manifest. This is why we have a requestFilter function, but watermark-cache busting parameters weren't taken into account. This commit adds a watermark cache-busting parameter to every segment request, if the file is watermarked.
- Loading branch information
Showing
2 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters