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
  • Constructor Details

    • MediaMuxerWrapperExternalAudio

      public MediaMuxerWrapperExternalAudio(@Nullable RenderHandler handler, @Nullable RecordingListenerHandler recordingListenerHandler, @NonNull String fileName, @Nullable IEncoderSync encoderSync, long timeBase, float speed, int w, int h, @Nullable android.media.MediaFormat formatVideo, @Nullable android.media.MediaFormat formatAudio) throws IOException
      Throws:
      IOException
  • Method Details

    • writeAudioSampleData

      public boolean writeAudioSampleData(@NonNull ByteBuffer byteBuf, @NonNull android.media.MediaCodec.BufferInfo bufferInfo)