Class TrackLoader
- java.lang.Object
-
- com.castlabs.sdk.downloader.v3retrofit.TrackLoader
-
@Deprecated public class TrackLoader extends Object
Deprecated.Used only to migrate not completed v3.x.x downloads to v4.x.xDASH and SmoothStreaming track loader used in SDK v3.x.x.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description TrackLoader()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<AudioTrack>
getAudioTrackList(com.google.android.exoplayer2.source.dash.manifest.DashManifest dashManifest, int periodIndex)
Deprecated.Loads audio tracks from the given DASH manifestList<AudioTrack>
getAudioTrackList(com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest smoothManifest)
Deprecated.Loads audio tracks from the given SmoothStreaming manifestList<SubtitleTrack>
getTextTrackList(com.google.android.exoplayer2.source.dash.manifest.DashManifest dashManifest, int periodIndex)
Deprecated.Loads text tracks from the given DASH manifestList<SubtitleTrack>
getTextTrackList(com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest smoothManifest)
Deprecated.Loads video tracks from the given SmoothStreaming manifestList<VideoTrack>
getVideoTrackList(com.google.android.exoplayer2.source.dash.manifest.DashManifest dashManifest, boolean removeHdContent, int periodIndex)
Deprecated.Loads video tracks from the given DASH manifestList<VideoTrack>
getVideoTrackList(com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest smoothManifest, boolean removeHdContent)
Deprecated.Loads video tracks from the given SmoothStreaming manifest
-
-
-
Method Detail
-
getVideoTrackList
@NonNull public List<VideoTrack> getVideoTrackList(@NonNull com.google.android.exoplayer2.source.dash.manifest.DashManifest dashManifest, boolean removeHdContent, int periodIndex)
Deprecated.Loads video tracks from the given DASH manifest- Parameters:
dashManifest
- DASH manifestremoveHdContent
- flag whether to remove HD contentperiodIndex
- period index- Returns:
- list of video tracks
-
getAudioTrackList
@NonNull public List<AudioTrack> getAudioTrackList(@NonNull com.google.android.exoplayer2.source.dash.manifest.DashManifest dashManifest, int periodIndex)
Deprecated.Loads audio tracks from the given DASH manifest- Parameters:
dashManifest
- DASH manifestperiodIndex
- period index- Returns:
- list of audio tracks
-
getTextTrackList
@NonNull public List<SubtitleTrack> getTextTrackList(@NonNull com.google.android.exoplayer2.source.dash.manifest.DashManifest dashManifest, int periodIndex)
Deprecated.Loads text tracks from the given DASH manifest- Parameters:
dashManifest
- DASH manifestperiodIndex
- period index- Returns:
- list of text tracks
-
getVideoTrackList
@NonNull public List<VideoTrack> getVideoTrackList(@NonNull com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest smoothManifest, boolean removeHdContent)
Deprecated.Loads video tracks from the given SmoothStreaming manifest- Parameters:
smoothManifest
- SmoothStreaming manifestremoveHdContent
- flag whether to remove HD content- Returns:
- list of video tracks
-
getAudioTrackList
@NonNull public List<AudioTrack> getAudioTrackList(@NonNull com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest smoothManifest)
Deprecated.Loads audio tracks from the given SmoothStreaming manifest- Parameters:
smoothManifest
- SmoothStreaming manifest- Returns:
- list of audio tracks
-
getTextTrackList
@NonNull public List<SubtitleTrack> getTextTrackList(@NonNull com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest smoothManifest)
Deprecated.Loads video tracks from the given SmoothStreaming manifest- Parameters:
smoothManifest
- SmoothStreaming manifest- Returns:
- list of text tracks
-
-