google / google/ExoPlayer

How does player inform about all available tracks when doing the transition from offline to online playback?

Open
#9,091 0 comments 1 reaction 1 assignee Claimed by @marcbaechinger View on GitHub
needs triage question
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am working on new feature for speeding up the playback join time.

I am using the offline manager to download the first chunks of some medias which I predict my app user will play.

In order to make the download size as little as possible I am downloading only one track, say the medium bitrate and preferred language, so my offline manifest will not have all tracks that actually available in the manifest.

Once I play that media with offline mode it will start playing quickly and if there is network connection there will be transition to online and media will continue to play using the http data source.

Once this transition is done I would like to be able to switch to auto bitrate selection or select different text track.

My question is how and if the player can notify about this new tracks that exist in the online manifest then I can do the tracks selection with the new information which I did not have at the beginning when started playing the media in offline mode.

10x
Gilad

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.