InternalAudioSource

@RequiresApi(value = 29)
class InternalAudioSource(mediaProjection: MediaProjection, mediaProjectionCallback: MediaProjection.Callback? = null) : AudioSource, GetMicrophoneData

Constructors

Link copied to clipboard
constructor(mediaProjection: MediaProjection, mediaProjectionCallback: MediaProjection.Callback? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun init(sampleRate: Int, isStereo: Boolean, echoCanceler: Boolean, noiseSuppressor: Boolean): Boolean
Link copied to clipboard
open override fun inputPCMData(frame: Frame)
Link copied to clipboard
Link copied to clipboard
open override fun isRunning(): Boolean
Link copied to clipboard
fun mute()
Link copied to clipboard
open override fun release()
Link copied to clipboard
Link copied to clipboard
open override fun start(getMicrophoneData: GetMicrophoneData)
Link copied to clipboard
open override fun stop()
Link copied to clipboard
fun unMute()