google / google/ExoPlayer

Allow specifying per-item request headers (for playback and downloads)

Open
#6,166 15 comments 0 reactions 1 assignee Assigned to @marcbaechinger View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I have different cookies for each video.
so each time new video is loaded, I set DownloadManager with new cookie.
```defaultHttpDataSourceFactory.getDefaultRequestProperties().set("Cookie", cookieValue);```
however, I can only download video for the first time.
I think DownloadService seems to call DownloadManager only when DownloadService is started for the first time.
How do I download video with each different cookie?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.