Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't double wrap URIs for HLS key requests (#6246)
The `constructSegmentUris` util already returns an array, so the call to `makeRequest` was being made with an array of arrays. This wasn't causing errors for requests that use the `fetch` plugin, since `fetch` will stringify the first argument if it's an array. But the data URI plugin expects to receive a string and calls `.split()` on it, so keys using data URIs throw an error if the URI is wrapped in an array. Thanks to #6243 and @andrew0
- Loading branch information