Streams in the following container formats can be played directly by ExoPlayer. The contained audio and video sample formats must also be supported (see the sample formats section for details).
|MP3||YES||Some streams only seekable using constant bitrate seeking**|
|Ogg||YES||Containing Vorbis, Opus and Flac|
|ADTS (AAC)||YES||Only seekable using constant bitrate seeking**|
|Flac||YES||Using the Flac extension only|
|AMR||YES||Only seekable using constant bitrate seeking**|
* Seeking is unsupported because the container does not provide metadata (e.g., a sample index) to allow a media player to perform a seek in an efficient way. If seeking is required, we suggest using a more appropriate container format.
** These extractors have
FLAG_ENABLE_CONSTANT_BITRATE_SEEKING flags for
enabling approximate seeking using a constant bitrate assumption. This
functionality is not enabled by default. The simplest way to enable this
functionality for all extractors that support it is to use
DefaultExtractorsFactory.setConstantBitrateSeekingEnabled, as described