openvidu-live-captions: minor beautification
This commit is contained in:
parent
50a7af992a
commit
d385068049
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user