Skip to content

Commit

Permalink
feat(HLS): Add support to HLS-AES128 low latency (shaka-project#4982)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Feb 9, 2023
1 parent 1e50630 commit 07787a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/hls/hls_parser.js
Expand Up @@ -2752,8 +2752,6 @@ shaka.hls.HlsParser = class {
partialStatus = shaka.media.SegmentReference.Status.MISSING;
}

// We do not set the AES-128 key information for partial segments, as we
// do not support AES-128 and low-latency at the same time.
const partial = new shaka.media.SegmentReference(
pStartTime,
pEndTime,
Expand All @@ -2768,7 +2766,8 @@ shaka.hls.HlsParser = class {
/* tilesLayout= */ '',
/* tileDuration= */ null,
/* syncTime= */ null,
partialStatus);
partialStatus,
hlsAes128Key);
partialSegmentRefs.push(partial);
} // for-loop of hlsSegment.partialSegments
}
Expand Down

0 comments on commit 07787a8

Please sign in to comment.