AudioRecordSource

class AudioRecordSource(context: Context) : CoroutineScope, AudioSource

An audio source that captures a microphone by the AudioRecord api.

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var isMuted: Boolean

Specifies the muted indicates whether the media muted.

Link copied to clipboard
open override val isRunning: AtomicBoolean

Indicates whether the receiver is running.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var stream: Stream?

Functions

Link copied to clipboard
open override fun registerAudioCodec(codec: AudioCodec)

Registers an audio codec instance.

Link copied to clipboard
open override fun startRunning()

Tells the receiver to start running.

Link copied to clipboard
open override fun stopRunning()

Tells the receiver to stop running.

Link copied to clipboard
open override fun unregisterAudioCodec(codec: AudioCodec)

Unregisters an audio codec instance.