Class EncoderHandlerThreadAudio

java.lang.Object
android.os.Handler
com.banuba.sdk.internal.WeakHandler<com.banuba.sdk.internal.encoding.EncoderHandlerThreadAudio.EncoderThreadAudio>
com.banuba.sdk.internal.encoding.EncoderHandlerThreadAudio
All Implemented Interfaces:
IAudioDataSender

public class EncoderHandlerThreadAudio extends WeakHandler<com.banuba.sdk.internal.encoding.EncoderHandlerThreadAudio.EncoderThreadAudio> implements IAudioDataSender
  • Nested Class Summary

    Nested classes/interfaces inherited from class android.os.Handler

    android.os.Handler.Callback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleMessage(android.os.Message msg)
     
    void
    sendAudioData(byte[] buffer, long audioTimeNs)
     

    Methods inherited from class com.banuba.sdk.internal.WeakHandler

    getThread

    Methods inherited from class android.os.Handler

    createAsync, createAsync, dispatchMessage, dump, getLooper, getMessageName, hasCallbacks, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • sendAudioData

      public void sendAudioData(@NonNull byte[] buffer, long audioTimeNs)
      Specified by:
      sendAudioData in interface IAudioDataSender
    • handleMessage

      public void handleMessage(android.os.Message msg)
      Overrides:
      handleMessage in class android.os.Handler