google / google/ExoPlayer

Ability to disable the default error alert dialog

Open
#10,432 1 comment 0 reactions 1 assignee Claimed by @marcbaechinger View on GitHub
enhancement low priority
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Hello!
We have a need not to receive a default alert dialog when a video playback error occurs.
This alert dialog appears in the `Mediacontrolsview.PlayerCallback` class in the `public void onPlayerStateChanged(@NonNull PlayerWrapper player, int state)` method when state case into switch block = `Session Player.PLAYER_STATE_ERROR`
Is it possible to add a custom setting to skip this alert dialog?
We are completely satisfied with the standard implementation of the player and media controller, but we have our own error handling and the alert dialog only confuses our users.

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.