mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

- To support looping EditedMediaItemSequences, we need a way to tell the AssetLoader that a sample couldn't be consumed and that it should retry later. This is necessary in case we don't know yet whether the looping sequence should load more samples because the other sequences haven't made sufficient progress yet. - The decision on whether to consume a sample is based on its timestamp so it needs to be available. PiperOrigin-RevId: 516546026
Transformer module
Provides functionality for transforming media files.
Getting the module
The easiest way to get the module is to add it as a gradle dependency:
implementation 'com.google.android.exoplayer:exoplayer-transformer: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.