Package com.banuba.sdk.internal.encoding
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
sendAudioData
public void sendAudioData(@NonNull byte[] buffer, long audioTimeNs)
- Specified by:
sendAudioData
in interfaceIAudioDataSender
-
handleMessage
public void handleMessage(android.os.Message msg)
- Overrides:
handleMessage
in classandroid.os.Handler
-
-