-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stream.hls: refactor segment byterange calculation
- Move "Range" header value calculation to separate class: Don't cache offsets by segment URL, and instead refer to the previous sequence. Initialization maps always require an existing offset value. - Refactor HLSStreamWriter.fetch and related methods - Add byterange tests
- Loading branch information
1 parent
35a91ea
commit 8153a6b
Showing
2 changed files
with
158 additions
and
27 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