Skip to content

Add flag to show duration for live content (Issue 3239)#3282

Open
MatthewDCantor wants to merge 5 commits into
androidx:mainfrom
MatthewDCantor:issue-3239
Open

Add flag to show duration for live content (Issue 3239)#3282
MatthewDCantor wants to merge 5 commits into
androidx:mainfrom
MatthewDCantor:issue-3239

Conversation

@MatthewDCantor

Copy link
Copy Markdown

#3260: In the case of event playlist live content that is long running, it can useful to allow user's to scrub through the content. However, due the changes from this issue #1758, that is no longer an option.

Solution:
It was suggested in the issue thread that there could be a flag in the MediaSession builder which could allow devs to decide if they want to show the seek bar for live content. Below is a summary of the changes:

Add new flag, showPlaybackPositionForLiveStreams to MediaSession and MediaLibraryService
Add setters for the new flag
Add test coverage for the new case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant