Interface ExtractorsFactory

  • All Known Implementing Classes:

    public interface ExtractorsFactory
    Deprecated. is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Factory for arrays of Extractor instances.
    • Field Detail

      • EMPTY

        static final ExtractorsFactory EMPTY
        Extractor factory that returns an empty list of extractors. Can be used whenever Extractors are not required.
    • Method Detail

      • createExtractors

        Extractor[] createExtractors()
        Returns an array of new Extractor instances.
      • createExtractors

        default Extractor[] createExtractors​(Uri uri,
                                             Map<String,​List<String>> responseHeaders)
        Returns an array of new Extractor instances.
        uri - The Uri of the media to extract.
        responseHeaders - The response headers of the media to extract, or an empty map if there are none. The map lookup should be case-insensitive.
        The Extractor instances.