LocalInputAudioSamples

The LocalInputAudioSamples model contains information about audio captured by the local participant's microphone.

The model is supported in SDK 3.8 and later.

Available in the package com.voxeet.android.media.stream.LocalInputAudioSamples.

Constructors

LocalInputAudioSamples

LocalInputAudioSamples(audioFormat: int, channelCount: int, sampleRate: int, @NonNull data: byte)

The class constructor.

Parameters

NameTypeDescription
audioFormatintThe audio format of an audio stream.
channelCountintThe configured number of channels.
sampleRateintThe configured audio sink sample rate in Hz.
databyteThe sample audio data.

Methods

getAudioFormat

getAudioFormat(): int

Gets the audio format of an audio stream.

Returns: int


getChannelCount

getChannelCount(): int

Gets the configured number of channels.

Returns: int


getSampleRate

getSampleRate(): int

Gets the configured audio sink sample rate in Hz.

Returns: int


getData

getData(): byte

Gets the sample audio data.

Returns: @NonNull byte