mirror of
https://github.com/androidx/media.git
synced 2025-05-07 07:30:22 +08:00

UnsupportedEglVersionException() is only used once, and seems a bit too specific for Transformer. Also, it's possible for eglCreateContext to fail for other reasons besides lack of support, so it wasn't always accurate when thrown. It is possible for devices not to support EGL version 2.0 though, per https://source.android.com/devices/graphics/implement-opengl-es, which doesn't specify the EGL version that must be supported. PiperOrigin-RevId: 415489396
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.
Using the module
Use of the Transformer module is documented in the developer guide.