Package-level declarations

Types

Link copied to clipboard
@Serializable
data class ActionDescription(val service: String, val action: String, val arguments: List<OptionDescription>, val result: Type)
Link copied to clipboard
data class Config(val config: List<ServiceConfig>)
Link copied to clipboard
data class MediaDeviceId(val id: String)

A unique identifier for a media device.

Link copied to clipboard
data class MediaDeviceInfo(val id: MediaDeviceId, val name: String)

Information about a media device.

Link copied to clipboard
data class MediaTrackId(val id: String)

An identifier for a media track.

Link copied to clipboard
@Serializable
data class Option(val name: String, val value: Value)
Link copied to clipboard
@Serializable
data class OptionDescription(val name: String, val type: Type)
Link copied to clipboard
data class Participant(val id: ParticipantId, val name: String?, val local: Boolean)

Information about a session participant.

Link copied to clipboard
data class ParticipantId(val id: String)

A unique identifier for a session participant.

Link copied to clipboard
data class ParticipantTracks(val audio: MediaTrackId?, val video: MediaTrackId?)

Media tracks associated with a participant.

Link copied to clipboard
@Serializable
data class PipecatMetrics(val processing: List<PipecatMetricsData>? = null, val ttfb: List<PipecatMetricsData>? = null)

Metrics received from a Pipecat instance.

Link copied to clipboard
@Serializable
data class PipecatMetricsData(val processor: String, val value: Double)

Metrics data received from a Pipecat instance.

Link copied to clipboard
@Serializable
data class ServiceConfig(val service: String, val options: List<Option>)
Link copied to clipboard
@Serializable
data class ServiceConfigDescription(val name: String, val options: List<OptionDescription>)
Link copied to clipboard
@Serializable
data class ServiceRegistration(val service: String, val value: String)
Link copied to clipboard
data class Tracks(val local: ParticipantTracks, val bot: ParticipantTracks?)

Media tracks for the local user and remote bot.

Link copied to clipboard
@Serializable
data class Transcript(val text: String, val final: Boolean, val timestamp: String, val userId: String)

A written transcript of some spoken words.

Link copied to clipboard

The current state of the session transport.

Link copied to clipboard
@Serializable
enum Type : Enum<Type>
Link copied to clipboard
@Serializable(with = ValueSerializer::class)
sealed interface Value