media/library/core
michaelkatz 97d7ed7dce Changed decoder list sort to order by functional support of format
Added new method to check if codec just functionally supports a format. Changed getDecoderInfosSortedByFormatSupport to use new function to order by functional support. This allows decoders that only support functionally and are more preferred by the MediaCodecSelector to keep their preferred position in the sorted list.

UnitTests included
-Two MediaCodecVideoRenderer tests that verify hw vs sw does not have an effect on sort of the decoder list, it is only based on functional support

Issue: google/ExoPlayer#10604
PiperOrigin-RevId: 487779284
(cherry picked from commit 1eb8a6b36e)
2023-01-25 17:33:05 +00:00
..
src Changed decoder list sort to order by functional support of format 2023-01-25 17:33:05 +00:00
build.gradle Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
lint-baseline.xml Add lint baseline for spurious API-level warnings 2022-06-17 10:04:57 +01:00
proguard-rules.txt Remove FfmpegVideoRenderer from 2.1.18 release 2022-05-30 18:22:06 +00:00
README.md Tidy READMEs 2021-10-26 14:08:21 +01:00

ExoPlayer module

This module provides ExoPlayer, the Player implementation for local media playback on Android.

Getting the module

The easiest way to get the module is to add it as a gradle dependency:

implementation 'com.google.android.exoplayer:exoplayer-core:2.X.X'

where 2.X.X is the version, which must match the version of the other media modules being used.

Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.

Using the module

The developer guide documents how to get started.