Skip to content

Video not rendering properly on Nexus 7(2nd gen) when switching from one SimpleExoPlayerView to another one within a couple seconds of playback starting #3236

@jarnova

Description

@jarnova

Issue description

After upgrading from ExoPlayer 2.4.4 to 2.5.1 we are having an issue with Nexus 7 devices not switching properly from one SimpleExoPlayerView to another one. What we get is basically a gray screen with a couple old frames on top of the screen partly visible.

Reproduction steps

This behavior occurs if the user rotates the screen during the first few seconds from starting the playback during which the application recreates the player fragment that contains the SimpleExoPlayerView and sets the player for the new SimpleExoPlayerView instance.

This issue is 100% reproducible on our app after upgrading to version 2.5.1 of ExoPlayer and causes the playback to lock up and the artifacts from the video surface remain even in the device homescreen if the user is able to navigate away from the app when this happens.

Link to test content

Test content shouldn't matter but I can provide a link to one of our live HLS streams through email.

Version of ExoPlayer being used

2.5.0, 2.5.1, also tested using dev-v2 branch

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

Nexus 7 (2nd gen), Android 6.0.1

A full bug report captured from the device

Will include this in the email as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions