com.google.android.exoplayer2.offline.DownloaderConstructorHelper Java Examples

The following examples show how to use com.google.android.exoplayer2.offline.DownloaderConstructorHelper. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: HlsDownloadAction.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@Override
public HlsDownloader createDownloader(DownloaderConstructorHelper constructorHelper) {
  return new HlsDownloader(uri, keys, constructorHelper);
}
 
Example #2
Source File: DashDownloadAction.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@Override
public DashDownloader createDownloader(DownloaderConstructorHelper constructorHelper) {
  return new DashDownloader(uri, keys, constructorHelper);
}
 
Example #3
Source File: SsDownloadAction.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@Override
public SsDownloader createDownloader(DownloaderConstructorHelper constructorHelper) {
  return new SsDownloader(uri, keys, constructorHelper);
}
 
Example #4
Source File: HlsDownloadAction.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@Override
public HlsDownloader createDownloader(DownloaderConstructorHelper constructorHelper) {
  return new HlsDownloader(uri, keys, constructorHelper);
}
 
Example #5
Source File: DashDownloadAction.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@Override
public DashDownloader createDownloader(DownloaderConstructorHelper constructorHelper) {
  return new DashDownloader(uri, keys, constructorHelper);
}
 
Example #6
Source File: SsDownloadAction.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@Override
public SsDownloader createDownloader(DownloaderConstructorHelper constructorHelper) {
  return new SsDownloader(uri, keys, constructorHelper);
}
 
Example #7
Source File: SsDownloader.java    From Telegram with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param manifestUri The {@link Uri} of the manifest to be downloaded.
 * @param streamKeys Keys defining which streams in the manifest should be selected for download.
 *     If empty, all streams are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public SsDownloader(
    Uri manifestUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(SsUtil.fixManifestUri(manifestUri), streamKeys, constructorHelper);
}
 
Example #8
Source File: HlsDownloader.java    From MediaSDK with Apache License 2.0 2 votes vote down vote up
/**
 * @param playlistUri The {@link Uri} of the playlist to be downloaded.
 * @param streamKeys Keys defining which renditions in the playlist should be selected for
 *     download. If empty, all renditions are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public HlsDownloader(
    Uri playlistUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(playlistUri, streamKeys, constructorHelper);
}
 
Example #9
Source File: DashDownloader.java    From Telegram with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param manifestUri The {@link Uri} of the manifest to be downloaded.
 * @param streamKeys Keys defining which representations in the manifest should be selected for
 *     download. If empty, all representations are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public DashDownloader(
    Uri manifestUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(manifestUri, streamKeys, constructorHelper);
}
 
Example #10
Source File: HlsDownloader.java    From Telegram with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param playlistUri The {@link Uri} of the playlist to be downloaded.
 * @param streamKeys Keys defining which renditions in the playlist should be selected for
 *     download. If empty, all renditions are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public HlsDownloader(
    Uri playlistUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(playlistUri, streamKeys, constructorHelper);
}
 
Example #11
Source File: SsDownloader.java    From Telegram-FOSS with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param manifestUri The {@link Uri} of the manifest to be downloaded.
 * @param streamKeys Keys defining which streams in the manifest should be selected for download.
 *     If empty, all streams are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public SsDownloader(
    Uri manifestUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(SsUtil.fixManifestUri(manifestUri), streamKeys, constructorHelper);
}
 
Example #12
Source File: DashDownloader.java    From Telegram-FOSS with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param manifestUri The {@link Uri} of the manifest to be downloaded.
 * @param streamKeys Keys defining which representations in the manifest should be selected for
 *     download. If empty, all representations are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public DashDownloader(
    Uri manifestUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(manifestUri, streamKeys, constructorHelper);
}
 
Example #13
Source File: HlsDownloader.java    From Telegram-FOSS with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param playlistUri The {@link Uri} of the playlist to be downloaded.
 * @param streamKeys Keys defining which renditions in the playlist should be selected for
 *     download. If empty, all renditions are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public HlsDownloader(
    Uri playlistUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(playlistUri, streamKeys, constructorHelper);
}
 
Example #14
Source File: SsDownloader.java    From TelePlus-Android with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param manifestUri The {@link Uri} of the manifest to be downloaded.
 * @param streamKeys Keys defining which streams in the manifest should be selected for download.
 *     If empty, all streams are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public SsDownloader(
    Uri manifestUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(SsUtil.fixManifestUri(manifestUri), streamKeys, constructorHelper);
}
 
Example #15
Source File: DashDownloader.java    From TelePlus-Android with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param manifestUri The {@link Uri} of the manifest to be downloaded.
 * @param streamKeys Keys defining which representations in the manifest should be selected for
 *     download. If empty, all representations are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public DashDownloader(
    Uri manifestUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(manifestUri, streamKeys, constructorHelper);
}
 
Example #16
Source File: HlsDownloader.java    From TelePlus-Android with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param playlistUri The {@link Uri} of the playlist to be downloaded.
 * @param streamKeys Keys defining which renditions in the playlist should be selected for
 *     download. If empty, all renditions are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public HlsDownloader(
    Uri playlistUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(playlistUri, streamKeys, constructorHelper);
}
 
Example #17
Source File: SsDownloader.java    From TelePlus-Android with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param manifestUri The {@link Uri} of the manifest to be downloaded.
 * @param streamKeys Keys defining which streams in the manifest should be selected for download.
 *     If empty, all streams are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public SsDownloader(
    Uri manifestUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(SsUtil.fixManifestUri(manifestUri), streamKeys, constructorHelper);
}
 
Example #18
Source File: DashDownloader.java    From TelePlus-Android with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param manifestUri The {@link Uri} of the manifest to be downloaded.
 * @param streamKeys Keys defining which representations in the manifest should be selected for
 *     download. If empty, all representations are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public DashDownloader(
    Uri manifestUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(manifestUri, streamKeys, constructorHelper);
}
 
Example #19
Source File: HlsDownloader.java    From TelePlus-Android with GNU General Public License v2.0 2 votes vote down vote up
/**
 * @param playlistUri The {@link Uri} of the playlist to be downloaded.
 * @param streamKeys Keys defining which renditions in the playlist should be selected for
 *     download. If empty, all renditions are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public HlsDownloader(
    Uri playlistUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(playlistUri, streamKeys, constructorHelper);
}
 
Example #20
Source File: SsDownloader.java    From MediaSDK with Apache License 2.0 2 votes vote down vote up
/**
 * @param manifestUri The {@link Uri} of the manifest to be downloaded.
 * @param streamKeys Keys defining which streams in the manifest should be selected for download.
 *     If empty, all streams are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public SsDownloader(
    Uri manifestUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(SsUtil.fixManifestUri(manifestUri), streamKeys, constructorHelper);
}
 
Example #21
Source File: DashDownloader.java    From MediaSDK with Apache License 2.0 2 votes vote down vote up
/**
 * @param manifestUri The {@link Uri} of the manifest to be downloaded.
 * @param streamKeys Keys defining which representations in the manifest should be selected for
 *     download. If empty, all representations are downloaded.
 * @param constructorHelper A {@link DownloaderConstructorHelper} instance.
 */
public DashDownloader(
    Uri manifestUri, List<StreamKey> streamKeys, DownloaderConstructorHelper constructorHelper) {
  super(manifestUri, streamKeys, constructorHelper);
}