-
public final class AudioFrameOne decoded PCM chunk from the agent's remote audio track. audioData is little-endian and only valid for the duration of the callback — copy what you need.
-
-
Field Summary
Fields Modifier and Type Field Description private final ByteBufferaudioDataprivate final IntegerbitsPerSampleprivate final IntegersampleRateprivate final IntegerchannelCountprivate final IntegernumberOfFramesprivate final LongabsoluteCaptureTimestampMs
-
Constructor Summary
Constructors Constructor Description AudioFrame(ByteBuffer audioData, Integer bitsPerSample, Integer sampleRate, Integer channelCount, Integer numberOfFrames, Long absoluteCaptureTimestampMs)
-
Method Summary
Modifier and Type Method Description final ByteBuffergetAudioData()final IntegergetBitsPerSample()final IntegergetSampleRate()final IntegergetChannelCount()final IntegergetNumberOfFrames()final LonggetAbsoluteCaptureTimestampMs()-
-
Method Detail
-
getAudioData
final ByteBuffer getAudioData()
-
getBitsPerSample
final Integer getBitsPerSample()
-
getSampleRate
final Integer getSampleRate()
-
getChannelCount
final Integer getChannelCount()
-
getNumberOfFrames
final Integer getNumberOfFrames()
-
getAbsoluteCaptureTimestampMs
final Long getAbsoluteCaptureTimestampMs()
-
-
-
-