mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Fix HlsMediaPlaylist download using HlsDownloadHelper
Issue: #4396 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201324467
This commit is contained in:
parent
a75b5fb6a9
commit
01ce549e8f
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ public final class HlsDownloadHelper extends DownloadHelper {
|
|||
public TrackGroupArray getTrackGroups(int periodIndex) {
|
||||
Assertions.checkNotNull(playlist);
|
||||
if (playlist instanceof HlsMediaPlaylist) {
|
||||
renditionGroups = new int[0];
|
||||
return TrackGroupArray.EMPTY;
|
||||
}
|
||||
// TODO: Generate track groups as in playback. Reverse the mapping in getDownloadAction.
|
||||
|
|
|
|||
Loading…
Reference in a new issue