PostTranscriptionConfig

class PostTranscriptionConfig(enabled: Boolean, summary: SummaryConfig? = null, modelId: String? = null)

Transcribes a cloud recording or an HLS stream once it finishes, rather than live.

Accepted by Room.startRecording and Room.startHLS. An RTMP livestream started with Room.startLivestream cannot be transcribed this way — it takes no transcription argument.

lifecycleScope.launch {
room.startRecording(
webhookUrl = "https://example.com/hooks/recording",
transcription = PostTranscriptionConfig(
enabled = true,
summary = SummaryConfig(enabled = true, prompt = "List the action items."),
modelId = "raman_v1",
),
)
}

Parameters

enabled

false records or streams without transcribing afterwards, which is the same as passing no config at all.

summary

an AI summary to produce alongside the transcript, or null for none.

modelId

which speech model the service should run, such as "raman_v1". null omits the key and the service picks its own. The SDK does not validate it.

Constructors

Link copied to clipboard
constructor(enabled: Boolean, summary: SummaryConfig? = null, modelId: String? = null)