logo
On this page

ZegoAudioMixingData

ZegoAudioMixingData

audio mixing data.

Declared in entity/ZegoAudioMixingData.java

Properties

audioData

audioData
public ByteBuffer audioData

Audio PCM data that needs to be mixed into the stream

audioDataLength

audioDataLength
public int audioDataLength

the length of the audio PCM data that needs to be mixed into the stream. If the data length is sufficient, it must be the same as expectedDataLength

param

param
public ZegoAudioFrameParam param

Audio data attributes, including sample rate and number of channels. Currently supports 16k, 32k, 44.1k, 48k sampling rate, mono or stereo, 16-bit deep PCM data. Developers need to explicitly specify audio data attributes, otherwise mixing will not take effect.

SEIData

SEIData
public ByteBuffer SEIData

SEI data, used to transfer custom data. When audioData is null, SEIData will not be sent

SEIDataLength

SEIDataLength
public int SEIDataLength

SEI data length

Previous

zegoaudioframeparam

Next

zegoaudiosourcemixconfig

On this page

Back to top