im.zego.zegoexpress.callback.IZegoMediaPlayerAudioHandler

Declared in callback/IZegoMediaPlayerAudioHandler.java

Public-Func Lists

  • onAudioFrame - Callback notification of player throwing audio data.

Public-Func Docs

onAudioFrame

public void onAudioFrame (ZegoMediaPlayer mediaPlayer, ByteBuffer data, int dataLength, ZegoAudioFrameParam param)

Callback notification of player throwing audio data.

Parameters
mediaPlayer Callback player object
data Raw data of audio frames
dataLength Data length
param audio frame flip mode