mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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
1776e6e5b0
commit
d82f91845e
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ public final class HlsDownloadHelper extends DownloadHelper {
|
||||||
public TrackGroupArray getTrackGroups(int periodIndex) {
|
public TrackGroupArray getTrackGroups(int periodIndex) {
|
||||||
Assertions.checkNotNull(playlist);
|
Assertions.checkNotNull(playlist);
|
||||||
if (playlist instanceof HlsMediaPlaylist) {
|
if (playlist instanceof HlsMediaPlaylist) {
|
||||||
|
renditionGroups = new int[0];
|
||||||
return TrackGroupArray.EMPTY;
|
return TrackGroupArray.EMPTY;
|
||||||
}
|
}
|
||||||
// TODO: Generate track groups as in playback. Reverse the mapping in getDownloadAction.
|
// TODO: Generate track groups as in playback. Reverse the mapping in getDownloadAction.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue