great-oil-61627
09/25/2025, 5:11 AMconst handleTranscription = (segments, participant, publication) => {
console.log('Transcription received:', segments, participant?.identity);
};
room.on(RoomEvent.TranscriptionReceived, handleTranscription);
and
room.registerTextStreamHandler('lk.transcription',
async (reader, participantInfo) => {
const message = await reader.readAll();
if (reader.info.attributes['lk.transcribed_track_id']) {
console.log(
`New transcription from ${participantInfo.identity}: ${message}`);
} else {
console.log(
`New message from ${participantInfo.identity}: ${message}`);
}
});
but always get the same identity which seems to suggest that whatever is responsible for setting it is doing it wrong in the backend. android client does not have this issue. any guesses?refined-appointment-81829
09/25/2025, 2:34 PMgreat-oil-61627
09/25/2025, 2:35 PMgreat-oil-61627
09/25/2025, 5:32 PMRequirement already satisfied: livekit in ./.venv/lib/python3.12/site-packages (from -r ./requirements.txt (line 1)) (1.0.13)
Requirement already satisfied: livekit-agents in ./.venv/lib/python3.12/site-packages (from -r ./requirements.txt (line 2)) (1.2.11)great-oil-61627
09/25/2025, 5:34 PMgreat-oil-61627
09/25/2025, 5:35 PMrefined-appointment-81829
09/25/2025, 5:51 PMpip list |grep livekitgreat-oil-61627
09/25/2025, 5:52 PMlivekit 1.0.13
livekit-agents 1.2.11
livekit-api 1.0.5
livekit-blingfire 1.0.0
livekit-plugins-aws 1.2.11
livekit-plugins-noise-cancellation 0.2.5
livekit-plugins-openai 1.2.11
livekit-plugins-silero 1.2.11
livekit-plugins-turn-detector 1.2.11
livekit-protocol 1.0.4refined-appointment-81829
09/25/2025, 5:53 PMgreat-oil-61627
09/25/2025, 5:55 PMrefined-appointment-81829
09/25/2025, 5:58 PMpip list |grep livekit
livekit 1.0.13
livekit-agents 1.2.11
livekit-api 1.0.5
livekit-blingfire 1.0.0
livekit-plugins-assemblyai 1.2.11
livekit-plugins-bey 1.2.11
livekit-plugins-bithuman 1.2.11
livekit-plugins-cartesia 1.2.11
livekit-plugins-deepgram 1.2.11
livekit-plugins-elevenlabs 1.2.11
livekit-plugins-google 1.2.11
livekit-plugins-groq 1.2.11
livekit-plugins-noise-cancellation 0.2.5
livekit-plugins-openai 1.2.11
livekit-plugins-rime 1.2.11
livekit-plugins-silero 1.2.11
livekit-plugins-speechmatics 1.2.11
livekit-plugins-tavus 1.2.11
livekit-plugins-turn-detector 1.2.11
livekit-protocol 1.0.6great-oil-61627
09/25/2025, 5:59 PMrefined-appointment-81829
09/25/2025, 5:59 PMcat requirements.txt
livekit-plugins-noise-cancellation
livekit-agents[google,openai,silero,deepgram,cartesia,elevenlabs,turn-detector,bey,tavus,bithuman,rime,speechmatics,groq,assemblyai]~=1.2refined-appointment-81829
09/25/2025, 5:59 PMrefined-appointment-81829
09/25/2025, 6:00 PMgreat-oil-61627
09/25/2025, 6:00 PMrefined-appointment-81829
09/25/2025, 6:00 PMrefined-appointment-81829
09/25/2025, 6:01 PMgreat-oil-61627
09/25/2025, 6:02 PMrefined-appointment-81829
09/25/2025, 6:02 PMrefined-appointment-81829
09/25/2025, 6:02 PMgreat-oil-61627
09/25/2025, 6:05 PMuseTrackTranscription looks like it's using that internally. assuming it has some difference in implementation compared to useTranscriptions?refined-appointment-81829
09/25/2025, 6:05 PMlivekit-protocol are different. Try upgrading to 1.0.6great-oil-61627
09/25/2025, 6:14 PMgreat-oil-61627
09/25/2025, 6:20 PMgreat-oil-61627
09/25/2025, 6:20 PMgreat-oil-61627
09/25/2025, 6:21 PMconst { chatMessages, send, isSending } = useChat(chatOptions);
const transcriptions = useTranscriptions();
const transcriptionMessages = React.useMemo(() =>
transcriptions.map((transcription) => ({
id: transcription.streamInfo.id,
timestamp: transcription.streamInfo.timestamp,
message: transcription.text,
from: room.getParticipantByIdentity(
transcription.participantInfo.identity),
})), [transcriptions, room]
);
console.log('Transcription messages created:', transcriptionMessages);
const allMessages = React.useMemo(() => {
const combined = [...chatMessages, ...transcriptionMessages];
return combined.sort((a, b) => a.timestamp - b.timestamp);
}, [chatMessages, transcriptionMessages]);great-oil-61627
09/25/2025, 6:36 PMuseTrackTranscriptiongreat-oil-61627
09/27/2025, 1:34 PMgray-table-99495
10/03/2025, 4:06 PMgreat-oil-61627
10/03/2025, 4:13 PMrefined-appointment-81829
10/03/2025, 4:14 PMgreat-oil-61627
10/03/2025, 4:15 PMgray-table-99495
10/03/2025, 4:15 PMrefined-appointment-81829
10/03/2025, 4:15 PMrefined-appointment-81829
10/03/2025, 4:15 PMgray-table-99495
10/06/2025, 4:10 PMrefined-appointment-81829
10/06/2025, 4:11 PMgray-table-99495
10/06/2025, 4:12 PM