mirror of
https://github.com/samsonjs/media.git
synced 2026-03-30 10:15:48 +00:00
The only reason to require a context for creating an instance of DefaultMediaSourceFactory is creating a user agent. DownloadHelper has a bunch of static methods that need to instantiate a DefaultMediaSourceFactory without a Context. By adding a setter for the user agent we can remove that restriction and use a default user agent. PiperOrigin-RevId: 311291603 |
||
|---|---|---|
| .. | ||
| assets | ||
| java/com/google/android/exoplayer2/demo | ||
| res | ||
| AndroidManifest.xml | ||