SRGSSR / pillarbox-android

The modern SRG SSR Pillarbox player targeting Android platforms
MIT License
11 stars 1 forks source link

GetMaxDuration #558

Open StaehliJ opened 1 month ago

StaehliJ commented 1 month ago

As a integrator I want to be able to customize the value of Player.getMaxSeekToPreviousPosition in order to change the time detection in Player.seekToPrevious.

Acceptance criteria

Tasks

MGaetan89 commented 4 weeks ago

I have pushed my initial work to the 558-getmaxduration branch. I have also opened an issue on androidx/media to propose that it is integrated in Media3 directly. Based on the answer, the branch linked above may be dropped, and we can wait until a Media3 version that provides that feature.

MGaetan89 commented 3 weeks ago

A PR has been opened on Media3 to support this feature: https://github.com/androidx/media/pull/1437

MGaetan89 commented 5 days ago

The PR has been released in AndroidX Media3 1.4.0-beta01.