mirror of
https://github.com/samsonjs/media.git
synced 2026-04-08 11:45:51 +00:00
WebvttExtractor: make public to allow create custom HlsExtractorFactory outside of library
This commit is contained in:
parent
3b61a400c5
commit
8f624861e1
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ import java.util.regex.Pattern;
|
|||
* of the first cue header. Empty WebVTT files are not passed through, since it's not possible to
|
||||
* derive a sample timestamp in this case.
|
||||
*/
|
||||
/* package */ final class WebvttExtractor implements Extractor {
|
||||
public final class WebvttExtractor implements Extractor {
|
||||
|
||||
private static final Pattern LOCAL_TIMESTAMP = Pattern.compile("LOCAL:([^,]+)");
|
||||
private static final Pattern MEDIA_TIMESTAMP = Pattern.compile("MPEGTS:(\\d+)");
|
||||
|
|
|
|||
Loading…
Reference in a new issue