Skip to content

Provide option to keep the last frame of a previous source visible when switching sources #2843

Closed
@needz

Description

First of all, congrats on the io'17 ExoPlayer presentation!

Issue description

I would like to implement a "hold picture" (or freeze) functionality in the app, where a player would hold a last frame from previous stream, when switching to another stream (zapping through channels).

Since ExoPlayer is really quick on zapping through streams, what happens at the moment, is that you see the black background with a spinner for a short moment of time before the player switches to another stream (by releasing the previous ExoPlayer instance). So when you just quickly zap through channels, you have this annoying black screen blinking. It would be much better if you could hold the last frame of the previous stream visible, before the next stream is ready to be played.

I don't think concatenating is a good solution in this case, since you don't really know, which stream is going to be selected next (it's selected from the list). And you also mentioned in the io'17 presentation, that using two ExoPlayer instances is not a very good idea either.

Or maybe you could offer a way to customize or at least show where to dive in the existing version of the ExoPlayer, thanks!

Reproduction steps

Quickly zap through different streams in a sequence.

Version of ExoPlayer being used

2.4.0

Device(s) and version(s) of Android being used

Nexus Player
Sony Android TV

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions