Package im.zego.zegoexpress.entity
Class ZegoAudioMixingData
- java.lang.Object
-
- im.zego.zegoexpress.entity.ZegoAudioMixingData
-
public class ZegoAudioMixingData extends java.lang.Object
audio mixing data.
-
-
Field Summary
Fields Modifier and Type Field Description java.nio.ByteBuffer
audioData
Audio PCM data that needs to be mixed into the streamint
audioDataLength
the length of the audio PCM data that needs to be mixed into the stream.ZegoAudioFrameParam
param
Audio data attributes, including sample rate and number of channels.java.nio.ByteBuffer
SEIData
SEI data, used to transfer custom data.int
SEIDataLength
SEI data length
-
Constructor Summary
Constructors Constructor Description ZegoAudioMixingData()
-
-
-
Field Detail
-
audioData
public java.nio.ByteBuffer audioData
Audio PCM data that needs to be mixed into the stream
-
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
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
public java.nio.ByteBuffer SEIData
SEI data, used to transfer custom data. When audioData is null, SEIData will not be sent
-
SEIDataLength
public int SEIDataLength
SEI data length
-
-