Skip to content

Toggling skip silence breaks the output #712

Closed
@JureSencar

Description

@JureSencar

Version

Media3 1.1.1

This did not happen in ExoPlayer 2.18.7 library.

Devices that reproduce the issue

Pixel 6a Android 13

Reproducible in the demo app?

Yes

Reproduction steps

In PlayerActivity replace the body in onClick with

  @Override
  public void onClick(View view) {
    player.setSkipSilenceEnabled(!player.getSkipSilenceEnabled());
  }

Then open and play any file (e.g. Google Play (MP3)).
Press the button a few times. Sometimes it is enough to just turn it on and off, sometimes it takes a few clicks.

Expected result

The media continues playing normally with the latest skipSilenceEnabled applied.

Actual result

The sound at the output gets corrupted until a user performs seek operation.

Media

This seems to be independent from the container and source type (stream or local file).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions