-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
videojs/http-streaming#1439 Signed-off-by: Varun Patil <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- ./node_modules/video.js/dist/video.es.js 2023-10-27 02:56:03.617235084 -0700 | ||
+++ ./node_modules/video.js/dist/video.es.js 2023-10-27 02:55:57.048971664 -0700 | ||
@@ -48232,7 +48232,9 @@ | ||
|
||
resetMainLoaderReplaceSegments() { | ||
const buffered = this.tech_.buffered(); | ||
- const bufferedEnd = buffered.end(buffered.length - 1); // Set the replace segments flag to the buffered end, this forces fetchAtBuffer | ||
+ // https://github.com/videojs/http-streaming/pull/1439 | ||
+ const bufferedEnd = buffered.length ? buffered.end(buffered.length - 1) : 0; | ||
+ // Set the replace segments flag to the buffered end, this forces fetchAtBuffer | ||
// on the main loader to remain, false after the resetLoader call, until we have | ||
// replaced all content buffered ahead of the currentTime. | ||
|
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