Interface ExtractorsFactory

  • All Known Implementing Classes:
    DefaultExtractorsFactory

    @Deprecated
    public interface ExtractorsFactory
    Deprecated.
    com.google.android.exoplayer2 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
        Deprecated.
        Extractor factory that returns an empty list of extractors. Can be used whenever Extractors are not required.
    • Method Detail

      • createExtractors

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

        default Extractor[] createExtractors​(Uri uri,
                                             Map<String,​List<String>> responseHeaders)
        Deprecated.
        Returns an array of new Extractor instances.
        Parameters:
        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.
        Returns:
        The Extractor instances.