Package-level declarations

Types

Link copied to clipboard
class AudioFileSource(context: Context, path: Uri, loopMode: Boolean = true, onFinish: (isLoop: Boolean) -> Unit = {}) : AudioSource

Created by pedro on 12/1/24.

Link copied to clipboard
abstract class AudioSource

Created by pedro on 11/1/24.

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

Created by pedro on 12/1/24.

Link copied to clipboard
class MicrophoneSource(var audioSource: Int = MediaRecorder.AudioSource.DEFAULT) : AudioSource, GetMicrophoneData

Created by pedro on 12/1/24.

Link copied to clipboard
@RequiresApi(value = 29)
class MixAudioSource(mediaProjection: MediaProjection, microphoneAudioSource: Int = MediaRecorder.AudioSource.DEFAULT) : AudioSource

Mix microphone and internal audio sources in one source to allow send both at the same time. NOTES: Recommended configure prepareAudio with: echoCanceler = true, noiseSuppressor = true This is to avoid echo in microphone track.

Link copied to clipboard

Created by pedro on 11/1/24.