google / google/ExoPlayer

Provide a way to "dynamically" enable/disable seeking

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

Description

### [REQUIRED] Provide a way to "dynamically" enable/disable seeking
The current version doesn't allow to dynamically disable seeking and edit command in general.

### Proposed solution
I can understand the need for permanent commands, but maybe the default implementation should have both permanent and modifiable commands, when calling getAllCommands or if a command isAvailable, returns/check both lists.

### Alternatives considered
The proposed solution in https://github.com/google/ExoPlayer/issues/8836 but it doesn't allwo modifications on the fly. Ex: disable seeking after play has started...

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.