public interface IAudioEncodedFrameObserver
| Modifier and Type | Method and Description |
|---|---|
default int |
onEncodedAudioFrameReceived(java.lang.String remoteUserId,
java.nio.ByteBuffer buffer,
EncodedAudioFrameReceiverInfo info)
Note: To improve data transmission efficiency, the buffer of the frame object
is a DirectByteBuffer.
|
default int onEncodedAudioFrameReceived(java.lang.String remoteUserId,
java.nio.ByteBuffer buffer,
EncodedAudioFrameReceiverInfo info)
Utils.getBytes(ByteBuffer).remoteUserId - the remote user idbuffer - the audio encoded frame bufferinfo - the audio encoded frame info