Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support encrypted init segments #1132

Merged
merged 12 commits into from
May 27, 2021
Merged

Conversation

brandonocasey
Copy link
Contributor

Support encrypted init segments

@codecov
Copy link

codecov bot commented May 19, 2021

Codecov Report

Merging #1132 (383ca32) into main (1c7a63b) will increase coverage by 0.06%.
The diff coverage is 98.57%.

❗ Current head 383ca32 differs from pull request most recent head 0737242. Consider uploading reports for the commit 0737242 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1132      +/-   ##
==========================================
+ Coverage   86.20%   86.27%   +0.06%     
==========================================
  Files          39       39              
  Lines        9289     9325      +36     
  Branches     2127     2135       +8     
==========================================
+ Hits         8008     8045      +37     
+ Misses       1281     1280       -1     
Impacted Files Coverage Δ
src/media-segment-request.js 95.72% <98.52%> (+0.99%) ⬆️
src/playlist-loader.js 91.69% <100.00%> (+0.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee5841d...0737242. Read the comment docs.

@@ -98,6 +98,15 @@ const handleErrors = (error, request) => {
};
}

if (request.responseType === 'arraybuffer' && request.response.byteLength === 0) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this to handleErrors as it was something that was copy pasted for most of our functions.

@brandonocasey brandonocasey force-pushed the feat/encrypted-init-segment branch from b65fe95 to c4e36bb Compare May 24, 2021 20:32
@brandonocasey brandonocasey merged commit 4449ed5 into main May 27, 2021
@brandonocasey brandonocasey deleted the feat/encrypted-init-segment branch May 27, 2021 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants