Skip to content

Commit

Permalink
fix handling unencrypted intialization segment
Browse files Browse the repository at this point in the history
  • Loading branch information
Last-Order committed Jan 16, 2022
1 parent 0c8539f commit 18b4625
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minyami",
"version": "4.4.13",
"version": "4.4.14",
"description": "",
"main": "dist/exports.js",
"types": "dist/exports.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/core/m3u8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class Playlist {
}
this.chunks.push({
url: CommonUtils.buildFullUrl(this.m3u8Url, initialSegmentUrl),
isEncrypted: true,
isEncrypted,
length: 0,
sequenceId: 0,
key,
Expand Down

0 comments on commit 18b4625

Please sign in to comment.