mirror of
https://github.com/samsonjs/media.git
synced 2026-04-01 10:35:48 +00:00
Assume TS when the HLS segment URI has no path
Issue:#4033 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=190603518
This commit is contained in:
parent
5925f92482
commit
71e5b2c073
1 changed files with 3 additions and 0 deletions
|
|
@ -52,6 +52,9 @@ public final class DefaultHlsExtractorFactory implements HlsExtractorFactory {
|
|||
Format format, List<Format> muxedCaptionFormats, DrmInitData drmInitData,
|
||||
TimestampAdjuster timestampAdjuster) {
|
||||
String lastPathSegment = uri.getLastPathSegment();
|
||||
if (lastPathSegment == null) {
|
||||
lastPathSegment = "";
|
||||
}
|
||||
boolean isPackedAudioExtractor = false;
|
||||
Extractor extractor;
|
||||
if (MimeTypes.TEXT_VTT.equals(format.sampleMimeType)
|
||||
|
|
|
|||
Loading…
Reference in a new issue