Class TrackLoader


  • @Deprecated
    public class TrackLoader
    extends Object
    Deprecated.
    Used only to migrate not completed v3.x.x downloads to v4.x.x
    DASH and SmoothStreaming track loader used in SDK v3.x.x.
    Since:
    4.0.0
    • Constructor Detail

      • TrackLoader

        public TrackLoader()
        Deprecated.
    • 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 manifest
        removeHdContent - flag whether to remove HD content
        periodIndex - 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 manifest
        periodIndex - 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 manifest
        periodIndex - 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 manifest
        removeHdContent - 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