Home
last modified time | relevance | path

Searched refs:HlsMediaPlaylist (Results 1 – 11 of 11) sorted by relevance

/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsMediaPlaylistParserTest.java26 import com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment;
81 HlsMediaPlaylist mediaPlaylist = (HlsMediaPlaylist) playlist; in parseMediaPlaylist()
82 assertThat(mediaPlaylist.playlistType).isEqualTo(HlsMediaPlaylist.PLAYLIST_TYPE_VOD); in parseMediaPlaylist()
169 HlsMediaPlaylist playlist = in parseSampleAesMethod()
170 (HlsMediaPlaylist) new HlsPlaylistParser().parse(playlistUri, inputStream); in parseSampleAesMethod()
198 HlsMediaPlaylist playlist = in parseSampleAesCencMethod()
199 (HlsMediaPlaylist) new HlsPlaylistParser().parse(playlistUri, inputStream); in parseSampleAesCencMethod()
222 HlsMediaPlaylist playlist = in parseSampleAesCtrMethod()
223 (HlsMediaPlaylist) new HlsPlaylistParser().parse(playlistUri, inputStream); in parseSampleAesCtrMethod()
274 HlsMediaPlaylist playlist = in multipleExtXKeysForSingleSegment()
[all …]
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DDefaultHlsPlaylistTracker.java28 import com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment;
68 @Nullable private HlsMediaPlaylist primaryMediaPlaylistSnapshot;
177 public HlsMediaPlaylist getPlaylistSnapshot(Uri url, boolean isForPlayback) { in getPlaylistSnapshot()
178 HlsMediaPlaylist snapshot = playlistBundles.get(url).getPlaylistSnapshot(); in getPlaylistSnapshot()
227 boolean isMediaPlaylist = result instanceof HlsMediaPlaylist; in onLoadCompleted()
240 primaryBundle.processLoadedPlaylist((HlsMediaPlaylist) result, loadDurationMs); in onLoadCompleted()
354 private void onPlaylistUpdated(Uri url, HlsMediaPlaylist newSnapshot) { in onPlaylistUpdated()
379 private HlsMediaPlaylist getLatestPlaylistSnapshot( in getLatestPlaylistSnapshot()
380 HlsMediaPlaylist oldPlaylist, HlsMediaPlaylist loadedPlaylist) { in getLatestPlaylistSnapshot()
398 HlsMediaPlaylist oldPlaylist, HlsMediaPlaylist loadedPlaylist) { in getLoadedPlaylistStartTimeUs()
[all …]
DHlsMediaPlaylist.java30 public final class HlsMediaPlaylist extends HlsPlaylist { class
249 public HlsMediaPlaylist( in HlsMediaPlaylist() method in HlsMediaPlaylist
288 public HlsMediaPlaylist copy(List<StreamKey> streamKeys) { in copy()
298 public boolean isNewerThan(HlsMediaPlaylist other) { in isNewerThan()
328 public HlsMediaPlaylist copyWith(long startTimeUs, int discontinuitySequence) { in copyWith()
329 return new HlsMediaPlaylist( in copyWith()
351 public HlsMediaPlaylist copyWithEndTag() { in copyWithEndTag()
355 return new HlsMediaPlaylist( in copyWithEndTag()
DHlsPlaylistTracker.java64 void onPrimaryPlaylistRefreshed(HlsMediaPlaylist mediaPlaylist); in onPrimaryPlaylistRefreshed()
175 HlsMediaPlaylist getPlaylistSnapshot(Uri url, boolean isForPlayback); in getPlaylistSnapshot()
DHlsPlaylistParser.java34 import com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment;
562 private static HlsMediaPlaylist parseMediaPlaylist( in parseMediaPlaylist()
564 @HlsMediaPlaylist.PlaylistType int playlistType = HlsMediaPlaylist.PLAYLIST_TYPE_UNKNOWN; in parseMediaPlaylist()
609 playlistType = HlsMediaPlaylist.PLAYLIST_TYPE_VOD; in parseMediaPlaylist()
611 playlistType = HlsMediaPlaylist.PLAYLIST_TYPE_EVENT; in parseMediaPlaylist()
789 return new HlsMediaPlaylist( in parseMediaPlaylist()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/offline/
DHlsDownloader.java23 import com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist;
113 HlsMediaPlaylist mediaPlaylist; in getSegments()
115 mediaPlaylist = (HlsMediaPlaylist) loadManifest(dataSource, mediaPlaylistDataSpec); in getSegments()
123 HlsMediaPlaylist.Segment lastInitSegment = null; in getSegments()
124 List<HlsMediaPlaylist.Segment> hlsSegments = mediaPlaylist.segments; in getSegments()
126 HlsMediaPlaylist.Segment segment = hlsSegments.get(i); in getSegments()
127 HlsMediaPlaylist.Segment initSegment = segment.initializationSegment; in getSegments()
151 HlsMediaPlaylist mediaPlaylist, in addSegment()
152 HlsMediaPlaylist.Segment segment, in addSegment()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsManifest.java19 import com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist;
33 public final HlsMediaPlaylist mediaPlaylist;
39 HlsManifest(HlsMasterPlaylist masterPlaylist, HlsMediaPlaylist mediaPlaylist) { in HlsManifest()
DHlsChunkSource.java30 import com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist;
31 import com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment;
270 HlsMediaPlaylist mediaPlaylist = in getNextChunk()
325 HlsMediaPlaylist.Segment segment = mediaPlaylist.segments.get(segmentIndexInPlaylist); in getNextChunk()
433 HlsMediaPlaylist playlist = in createMediaChunkIterators()
471 HlsMediaPlaylist mediaPlaylist, in getChunkMediaSequence()
502 private void updateLiveEdgeTimeUs(HlsMediaPlaylist mediaPlaylist) { in updateLiveEdgeTimeUs()
535 private static Uri getFullEncryptionKeyUri(HlsMediaPlaylist playlist, @Nullable Segment segment) { in getFullEncryptionKeyUri()
627 private final HlsMediaPlaylist playlist;
639 HlsMediaPlaylist playlist, long startOfPlaylistInPeriodUs, int chunkIndex) { in HlsMediaPlaylistSegmentIterator()
DHlsMediaSource.java44 import com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist;
466 public void onPrimaryPlaylistRefreshed(HlsMediaPlaylist playlist) { in onPrimaryPlaylistRefreshed()
473 playlist.playlistType == HlsMediaPlaylist.PLAYLIST_TYPE_EVENT in onPrimaryPlaylistRefreshed()
474 || playlist.playlistType == HlsMediaPlaylist.PLAYLIST_TYPE_VOD in onPrimaryPlaylistRefreshed()
486 List<HlsMediaPlaylist.Segment> segments = playlist.segments; in onPrimaryPlaylistRefreshed()
DHlsMediaChunk.java31 import com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist;
81 HlsMediaPlaylist mediaPlaylist, in createInstance()
93 HlsMediaPlaylist.Segment mediaSegment = mediaPlaylist.segments.get(segmentIndexInPlaylist); in createInstance()
108 HlsMediaPlaylist.Segment initSegment = mediaSegment.initializationSegment; in createInstance()
/external/exoplayer/tree/
DRELEASENOTES.md1865 * HLS: Include EXT-X-DATERANGE tags in HlsMediaPlaylist.