AudioTrackSink

interface AudioTrackSink

Java version of rtc::AudioTrackSinkInterface.

Functions

Link copied to clipboard
abstract fun onData(audioData: ByteBuffer, bitsPerSample: Int, sampleRate: Int, numberOfChannels: Int, numberOfFrames: Int, absoluteCaptureTimestampMs: Long)
Implementations should copy the audio data into a local copy if they wish to use the data after this function returns.