Skip to content

Document the fact that desugar_jdk_libs is required for media3 to work on old API levels #1312

Description

@MGaetan89

Since 889f435, Media3 uses the desugar_jdk_libs library to use newer Java APIs on older API levels.
For example in Format:

|| (builder.labels.stream().anyMatch(l -> l.value.equals(builder.label))));

This means that applications/libraries using Media3 also need to integrate desugar_jdk_libs. However, this is not documented in the Java 8 support section of the Readme:
https://github.com/androidx/media/tree/release?tab=readme-ov-file#2-turn-on-java-8-support

Would it be possible to add a note about it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions