-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add firstSequenceNumber option to Transmuxer to start sequence …
…somewhere other than zero (#395) Adds an option `firstSequenceNumber` to Transmuxer. Can be used like this: new Transmuxer({ firstSequenceNumber: 10 }); This is passed in to VideoSegmentStream and AudioSegmentStream. When mfhd boxes are constructed, the starting sequence number will be taken from that option. The default value is zero. This is useful for generating segmented streams out of order. Out of oder processing allows for restart, parallelism, or random seeking into source material.
- Loading branch information
Showing
2 changed files
with
64 additions
and
2 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