Package com.banuba.sdk.video
Class AudioExtractor
- java.lang.Object
-
- com.banuba.sdk.video.BaseExtractor
-
- com.banuba.sdk.video.AudioExtractor
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class AudioExtractor extends BaseExtractor
Extracts an audio stream from a video file
-
-
Field Summary
-
Fields inherited from class com.banuba.sdk.video.BaseExtractor
mExtractor, mFilename, mMediaFormat, mTrackIndex
-
-
Constructor Summary
Constructors Constructor Description AudioExtractor(java.lang.String filename)
Create an instance of the AudioExtractor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.LinkedList<android.util.Pair<android.media.MediaCodec.BufferInfo,java.nio.ByteBuffer>>
extractAudioStream()
Extract full audio stream from a video file-
Methods inherited from class com.banuba.sdk.video.BaseExtractor
close, getMediaFormat
-
-