Package-level declarations

Room is the primary class that manages the connection to the LiveKit Room. It exposes listeners that lets you hook into room events.

Types

Link copied to clipboard

The protocol version this SDK advertises to peers (other participants) for client-to-client feature negotiation (RPC v2, etc.). Distinct from ProtocolVersion, which tracks the signaling protocol between client and server.

Link copied to clipboard
Link copied to clipboard
typealias PeerConnectionStateListener = (PeerConnection.PeerConnectionState) -> Unit
Link copied to clipboard
Link copied to clipboard
class Room @AssistedInject constructor(@Assisted context: Context, engine: RTCEngine, eglBase: EglBase, localParticipantFactory: LocalParticipant.Factory, defaultsManager: DefaultsManager, @Named(value = "dispatcher_default") defaultDispatcher: CoroutineDispatcher, @Named(value = "dispatcher_io") ioDispatcher: CoroutineDispatcher, val audioHandler: AudioHandler, closeableManager: CloseableManager, e2EEManagerFactory: E2EEManager.Factory, communicationWorkaround: CommunicationWorkaround, val audioProcessingController: AudioProcessingController, val lkObjects: LKObjects, networkCallbackManagerFactory: NetworkCallbackManagerFactory, audioDeviceModule: AudioDeviceModule, regionUrlProviderFactory: RegionUrlProvider.Factory, connectionWarmer: ConnectionWarmer, audioRecordPrewarmer: AudioRecordPrewarmer, incomingDataStreamManager: IncomingDataStreamManager, rpcClientManager: RpcClientManager, rpcServerManager: RpcServerManager, remoteParticipantFactory: RemoteParticipant.Factory) : RTCEngine.Listener, ParticipantListener, RpcManager, IncomingDataStreamManager
Link copied to clipboard
sealed class RoomException : Exception
Link copied to clipboard
class ServerInfo(val edition: ServerInfo.Edition, val version: Semver?)

Functions