Package com.banuba.sdk.video
Class BaseExtractor
- java.lang.Object
-
- com.banuba.sdk.video.BaseExtractor
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Direct Known Subclasses:
AudioExtractor
,VideoExtractor
public abstract class BaseExtractor extends java.lang.Object implements java.io.Closeable
Common class for extracting metadata from a file
-
-
Field Summary
Fields Modifier and Type Field Description protected android.media.MediaExtractor
mExtractor
protected java.lang.String
mFilename
protected android.media.MediaFormat
mMediaFormat
protected int
mTrackIndex
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseExtractor(java.lang.String filename, java.lang.String mimePrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
android.media.MediaFormat
getMediaFormat()
Returns the data format configured for retrieval
-