Skip to main content

Crate livekit

Crate livekit 

Source

Re-exports§

pub use crate::rtc_engine::SimulateScenario;

Modules§

data_stream
data_track
e2ee
id
options
participant
prelude
use livekit::prelude::*; to import livekit types
proto
publication
rpc
rtc_engine
track
webrtc

Structs§

AudioFilterAudioStream
AudioFilterPlugin
AudioFilterSession
AudioFilterStreamInfo
AudioProcessingOptions
Configuration options for audio processing (AEC, AGC, NS).
ByteStreamInfo
Information about a byte data stream.
ByteStreamReader
Reader for an incoming byte data stream.
ByteStreamWriter
Writer for an open byte data stream.
ChatMessage
DataChannelOptions
DataPacket
E2eeManager
E2eeOptions
PlatformAudio
Platform audio device management for microphone capture and speaker playout.
PlayoutDeviceId
Unique identifier for a playout (speaker) device.
PlayoutDeviceInfo
Information about a playout (speaker) device.
RecordingDeviceId
Unique identifier for a recording (microphone) device.
RecordingDeviceInfo
Information about a recording (microphone) device.
Room
RoomInfo
RoomOptions
RoomSdkOptions
RpcAckDeprecated
RpcRequestDeprecated
RpcResponseDeprecated
SipDTMF
StreamByteOptions
Options used when opening an outgoing byte data stream.
StreamTextOptions
Options used when opening an outgoing text data stream.
TakeCell
A thread-safe cell that holds a value which can be taken exactly once. After taking the value, subsequent attempts to take it will return None.
TextStreamInfo
Information about a text data stream.
TextStreamReader
Reader for an incoming text data stream.
TextStreamWriter
Writer for an open text data stream.
Transcription
TranscriptionSegment

Enums§

AudioError
Errors that can occur during audio operations.
AudioProcessingType
The type of audio processing being used.
ConnectionState
DataPacketKind
DisconnectReason
OperationType
Operation type for text streams.
ParticipantKind
ParticipantKindDetail
ParticipantState
PluginError
RoomError
RoomEvent
RtcAudioSource
Audio source type for creating audio tracks.
StreamError
Error type for data stream operations.

Constants§

SDK_VERSION

Traits§

StreamReader
Reader for an incoming data stream.
StreamWriter
Writer for an open data stream.

Functions§

register_audio_filter_plugin
registered_audio_filter_plugin
registered_audio_filter_plugins
reset_platform_audio
Resets the platform audio handle references.

Type Aliases§

AudioResult
Result type for audio operations.
RoomResult
StreamResult
Result type for data stream operations.