mirror of
https://github.com/androidx/media.git
synced 2025-05-07 23:50:44 +08:00
Make ProgressiveMediaExtractors public
So as for the user to be able to inject them. PiperOrigin-RevId: 362056981
This commit is contained in:
parent
4a6859e5e2
commit
a9d397a34e
@ -37,7 +37,7 @@ import java.util.Map;
|
|||||||
* {@link ProgressiveMediaExtractor} built on top of {@link Extractor} instances, whose
|
* {@link ProgressiveMediaExtractor} built on top of {@link Extractor} instances, whose
|
||||||
* implementation classes are bundled in the app.
|
* implementation classes are bundled in the app.
|
||||||
*/
|
*/
|
||||||
/* package */ final class BundledExtractorsAdapter implements ProgressiveMediaExtractor {
|
public final class BundledExtractorsAdapter implements ProgressiveMediaExtractor {
|
||||||
|
|
||||||
private final ExtractorsFactory extractorsFactory;
|
private final ExtractorsFactory extractorsFactory;
|
||||||
|
|
||||||
|
@ -38,7 +38,13 @@ import java.util.Map;
|
|||||||
|
|
||||||
/** {@link ProgressiveMediaExtractor} implemented on top of the platform's {@link MediaParser}. */
|
/** {@link ProgressiveMediaExtractor} implemented on top of the platform's {@link MediaParser}. */
|
||||||
@RequiresApi(30)
|
@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 OutputConsumerAdapterV30 outputConsumerAdapter;
|
||||||
private final InputReaderAdapterV30 inputReaderAdapter;
|
private final InputReaderAdapterV30 inputReaderAdapter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user