-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: embed cc not shown when seeking back (#4643)
For HLS non native, Shaka gets the captions from mux.js transmuxer. This works until you seek back before the buffered range. In mux.js there is a condition that ignores a caption if this belongs to a DTS that is behind the latest it already has parsed. To handle seeks, it adds a reset method that is called by the transmuxer.resetCaptions() method in mp4\transmuxer.js in mux.js. But Shaka Player is not calling it. So I added the resetCaptions() method to the mux.js extern definition and we called it in the appendBuffer method in media_source_engine.js before sending the data to transmux and only if the seeked parameter is True. Closes #4641
- Loading branch information
1 parent
687f92c
commit c514d15
Showing
6 changed files
with
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ Edgeware AB <*@edgeware.tv> | |
Enson Choy <[email protected]> | ||
Esteban Dosztal <[email protected]> | ||
Fadomire <[email protected]> | ||
Gerardo Meola <[email protected]> | ||
Gil Gonen <[email protected]> | ||
Giorgio Gamberoni <[email protected]> | ||
Giuseppe Samela <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -50,6 +50,7 @@ Enson Choy <[email protected]> | |
Esteban Dosztal <[email protected]> | ||
Fadomire <[email protected]> | ||
François Beaufort <[email protected]> | ||
Gerardo Meola <[email protected]> | ||
Gil Gonen <[email protected]> | ||
Giorgio Gamberoni <[email protected]> | ||
Giuseppe Samela <[email protected]> | ||
|
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
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