ExperimentalAnalyzerModeFactory
@UnstableApi
public final class ExperimentalAnalyzerModeFactory
Factory for creating instances of Transformer that can be used to analyze media.
When using Transformer to analyze decoded data, users should provide their analysis effects through the effects.
This class is experimental and will be renamed or removed in a future release.
Summary
Public methods |
|
|---|---|
static Transformer |
buildAnalyzer(Context context)Builds a |
static Transformer |
buildAnalyzer(Context context, Transformer transformer)Builds a |
Public methods
buildAnalyzer
public static Transformer buildAnalyzer(Context context)
Builds a Transformer that runs as an analyzer.
No encoding or muxing is performed, therefore no data is written to any output files.
| Returns | |
|---|---|
Transformer |
The analyzer |
buildAnalyzer
public static Transformer buildAnalyzer(Context context, Transformer transformer)
Builds a Transformer that runs as an analyzer.
No encoding or muxing is performed, therefore no data is written to any output files.
| Parameters | |
|---|---|
Context context |
The |
Transformer transformer |
The |
| Returns | |
|---|---|
Transformer |
The analyzer |