mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +00:00
Ignore invalid EXT-X-PLAYLIST-TYPE values
Issue:#2889 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=157571216
This commit is contained in:
parent
b1fd99baab
commit
0f27efae44
1 changed files with 0 additions and 2 deletions
|
|
@ -323,8 +323,6 @@ public final class HlsPlaylistParser implements ParsingLoadable.Parser<HlsPlayli
|
|||
playlistType = HlsMediaPlaylist.PLAYLIST_TYPE_VOD;
|
||||
} else if ("EVENT".equals(playlistTypeString)) {
|
||||
playlistType = HlsMediaPlaylist.PLAYLIST_TYPE_EVENT;
|
||||
} else {
|
||||
throw new ParserException("Illegal playlist type: " + playlistTypeString);
|
||||
}
|
||||
} else if (line.startsWith(TAG_START)) {
|
||||
startOffsetUs = (long) (parseDoubleAttr(line, REGEX_TIME_OFFSET) * C.MICROS_PER_SECOND);
|
||||
|
|
|
|||
Loading…
Reference in a new issue