Package-level declarations
This package contains the initial connect
function.
Types
Link copied to clipboard
class AudioOptions(val audioOutputType: AudioType? = null, val audioHandler: AudioHandler? = null, val audioDeviceModule: AudioDeviceModule? = null, val javaAudioDeviceModuleCustomizer: (builder: JavaAudioDeviceModule.Builder) -> Unit? = null, val disableCommunicationModeWorkaround: Boolean = false, val audioProcessorOptions: AudioProcessorOptions? = null)
Options for customizing the audio settings of LiveKit.
Link copied to clipboard
data class ConnectOptions(val autoSubscribe: Boolean = true, val iceServers: List<PeerConnection.IceServer>? = null, val rtcConfig: PeerConnection.RTCConfiguration? = null, val audio: Boolean = false, val video: Boolean = false, val protocolVersion: ProtocolVersion = ProtocolVersion.v13)
Options for using with Room.connect.
Link copied to clipboard
data class LiveKitOverrides(val okHttpClient: OkHttpClient? = null, val videoEncoderFactory: VideoEncoderFactory? = null, val videoDecoderFactory: VideoDecoderFactory? = null, val audioOptions: AudioOptions? = null, val eglBase: EglBase? = null, val peerConnectionFactoryOptions: PeerConnectionFactory.Options? = null)
Overrides to replace LiveKit internally used components with custom implementations.
Link copied to clipboard
data class RoomOptions(val adaptiveStream: Boolean = false, val dynacast: Boolean = false, val e2eeOptions: E2EEOptions? = null, val audioTrackCaptureDefaults: LocalAudioTrackOptions? = null, val videoTrackCaptureDefaults: LocalVideoTrackOptions? = null, val audioTrackPublishDefaults: AudioTrackPublishDefaults? = null, val videoTrackPublishDefaults: VideoTrackPublishDefaults? = null)