AudioFactory

Factory for creating audio-related components including audio sources and peer connection factory.

This interface provides access to the audio device module and peer connection factory (which are tightly bound in the dev.onvoid.webrtc library`).

Report a problem

Inheritors

Properties

Link copied to clipboard
abstract val audioModule: AudioDeviceModuleBase

The audio device module responsible for audio input/output operations.

Link copied to clipboard
abstract val peerConnectionFactory: PeerConnectionFactory

The peer connection factory used for creating WebRTC peer connections and tracks.

Functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun createAudioSource(constraints: WebRtcMedia.AudioTrackConstraints): AudioTrackSource