openvidu-live-captions: minor beautification

This commit is contained in:
pabloFuente 2025-06-27 11:49:22 +02:00
parent 50a7af992a
commit d385068049

View File

@ -57,9 +57,7 @@ async function joinRoom() {
}
);
room.registerTextStreamHandler(
"lk.transcription",
async (reader, participantInfo) => {
room.registerTextStreamHandler("lk.transcription", async (reader, participantInfo) => {
const message = await reader.readAll();
const isFinal =
reader.info.attributes["lk.transcription_final"] === "true";