Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Handle nonfatal codec exceptions on API 21+ #96

Merged
merged 6 commits into from
Sep 20, 2024

Conversation

daytime-em
Copy link
Collaborator

@daytime-em daytime-em commented Sep 19, 2024

Reproducing this reliably might be hard. The causes of these errors seem to be related to the availability of device resources, which is why they are recoverable by resetting the codec.

Causing the decoders to become unavailable on purpose might be tricky. We could try, eg, allocating a ton of MediaCodecs and seeing if we get failures like this eventually. There could be other ways to cause it from an app, but I'd need to research more

@daytime-em daytime-em requested a review from a team as a code owner September 19, 2024 23:36
@daytime-em daytime-em changed the base branch from main to releases/v1.5.2 September 19, 2024 23:52
@daytime-em daytime-em merged commit dcdafe1 into releases/v1.5.2 Sep 20, 2024
4 checks passed
@daytime-em daytime-em deleted the feat/nonfatal-playback-exceptions branch September 20, 2024 20:36
@github-actions github-actions bot mentioned this pull request Sep 20, 2024
daytime-em added a commit that referenced this pull request Sep 20, 2024
## Fixes

* fix: use real media3 SDK version (#95)

## Improvements

* Add support for media3 v1.4 (#93) (#97)
* feat: Handle nonfatal codec exceptions on API 21+ (#96)

## Internal lib updates

* Update `android` lib 1.4.0
* Update `stats.java` lib to 8.1.0
* Remove `kt-utils` from the dependencies. It is no longer required



Co-authored-by: Emily Dixon <[email protected]>
Co-authored-by: GitHub <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants