Commit a9d397a3 by aquilescanta Committed by Ian Baker

Make ProgressiveMediaExtractors public

So as for the user to be able to inject them.

PiperOrigin-RevId: 362056981
parent 4a6859e5
......@@ -37,7 +37,7 @@ import java.util.Map;
* {@link ProgressiveMediaExtractor} built on top of {@link Extractor} instances, whose
* implementation classes are bundled in the app.
*/
/* package */ final class BundledExtractorsAdapter implements ProgressiveMediaExtractor {
public final class BundledExtractorsAdapter implements ProgressiveMediaExtractor {
private final ExtractorsFactory extractorsFactory;
......
......@@ -38,7 +38,13 @@ import java.util.Map;
/** {@link ProgressiveMediaExtractor} implemented on top of the platform's {@link MediaParser}. */
@RequiresApi(30)
/* package */ final class MediaParserExtractorAdapter implements ProgressiveMediaExtractor {
public final class MediaParserExtractorAdapter implements ProgressiveMediaExtractor {
/**
* A {@link ProgressiveMediaExtractor.Factory} for instances of this class, which rely on platform
* extractors through {@link MediaParser}.
*/
public static final ProgressiveMediaExtractor.Factory FACTORY = MediaParserExtractorAdapter::new;
private final OutputConsumerAdapterV30 outputConsumerAdapter;
private final InputReaderAdapterV30 inputReaderAdapter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment