android / android/socialite

Update PreloadManagerWrapper class to use updated Media3 1.8.0 API

Open
#180 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
721
Forks
162
PR merge metrics
No merged PRs in 30d

Description

- Media3 version was updated to `1.8.0` from `1.5.0` in this [change](https://github.com/android/socialite/pull/179).
- The version bump was required to use the new `MetadataRetriever` class.
- The existing `PreloadManager` [code](https://github.com/android/socialite/blob/main/app/src/main/java/com/google/android/samples/socialite/ui/player/preloadmanager/PreloadManagerWrapper.kt) is not preloading the videos after version change. This needs to be fixed.

Contributor guide

Open the contributing guide

Research direction

Start with app/src/main/java/com/google/android/samples/socialite/ui/player/preloadmanager/PreloadManagerWrapper.kt and review the PreloadManager integration against the Media3 1.8.0 API. Reproduce video playback or preloading behavior in the sample app, then confirm that videos are preloaded again after the compatibility update.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.