Package com.banuba.sdk.encoding
Class MediaMuxerWrapperExternalAudio
- java.lang.Object
-
- com.banuba.sdk.internal.encoding.MediaMuxerWrapper
-
- com.banuba.sdk.encoding.MediaMuxerWrapperExternalAudio
-
- All Implemented Interfaces:
com.banuba.sdk.internal.encoding.EncoderHandlerThreadVideo.EncoderListener
public class MediaMuxerWrapperExternalAudio extends MediaMuxerWrapper
-
-
Field Summary
-
Fields inherited from class com.banuba.sdk.internal.encoding.MediaMuxerWrapper
mAudioPresentationTimeUsLast, mExternalAudioTrackIndex, mMediaMuxer, mStartedCount, RECORD_BUFFER_AUDIO, RECORD_EXTERNAL_AUDIO_CODEC, RECORD_MIC_AUDIO, RECORD_NO_AUDIO
-
-
Constructor Summary
Constructors Constructor Description MediaMuxerWrapperExternalAudio(RenderHandler handler, RecordingListenerHandler recordingListenerHandler, java.lang.String fileName, IEncoderSync encoderSync, long timeBase, float speed, int w, int h, android.media.MediaFormat formatVideo, android.media.MediaFormat formatAudio)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
writeAudioSampleData(java.nio.ByteBuffer byteBuf, android.media.MediaCodec.BufferInfo bufferInfo)
-
Methods inherited from class com.banuba.sdk.internal.encoding.MediaMuxerWrapper
frameAvailableSoon, getAudioSender, getInputSurface, onAudioEncodingFinished, onAudioStarted, onAudioStopped, onVideoEncodingFinished, prepare, setPause, startRecording, stopRecording, waitForFinish
-
-
-
-
Constructor Detail
-
MediaMuxerWrapperExternalAudio
public MediaMuxerWrapperExternalAudio(@Nullable RenderHandler handler, @Nullable RecordingListenerHandler recordingListenerHandler, @NonNull java.lang.String fileName, @Nullable IEncoderSync encoderSync, long timeBase, float speed, int w, int h, @Nullable android.media.MediaFormat formatVideo, @Nullable android.media.MediaFormat formatAudio) throws java.io.IOException
- Throws:
java.io.IOException
-
-