Module livekit.rtc.transcription

Classes

class Transcription (participant_identity: str,
track_sid: str,
segments: List[ForwardRef('TranscriptionSegment')])
Expand source code
@dataclass
class Transcription:
    participant_identity: str
    track_sid: str
    segments: List["TranscriptionSegment"]

Transcription(participant_identity: str, track_sid: str, segments: List[ForwardRef('TranscriptionSegment')])

Class variables

var participant_identity : str
var segments : List[TranscriptionSegment]
var track_sid : str
class TranscriptionSegment (id: str, text: str, start_time: int, end_time: int, language: str, final: bool)
Expand source code
@dataclass
class TranscriptionSegment:
    id: str
    text: str
    start_time: int
    end_time: int
    language: str
    final: bool

TranscriptionSegment(id: str, text: str, start_time: int, end_time: int, language: str, final: bool)

Class variables

var end_time : int
var final : bool
var id : str
var language : str
var start_time : int
var text : str