mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Merge pull request #4602 from gpinigin/webvtt-extractor-public
WebvttExtractor: make public to allow create custom HlsExtractorFactory outside of library
This commit is contained in:
commit
d06b01c220
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
|
* 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.
|
* 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 LOCAL_TIMESTAMP = Pattern.compile("LOCAL:([^,]+)");
|
||||||
private static final Pattern MEDIA_TIMESTAMP = Pattern.compile("MPEGTS:(\\d+)");
|
private static final Pattern MEDIA_TIMESTAMP = Pattern.compile("MPEGTS:(\\d+)");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue