Skip to content

Conversation

TudorCRL
Copy link
Contributor

@TudorCRL TudorCRL commented Oct 8, 2025

This realtime PR:

  • Updates the schema with a few recent refreshes
  • Adds speaker ID as a feature to RT with a new function, getSpeakers(final?: boolean) that let's users request the speaker IDs (and optionally wait until the end of the session to receive them)
  • Add setRecognitionConfig to react package

Copy link
Contributor

@mnemitz mnemitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just a couple admin notes:

  • If we're bumping to major version 8.0.0 for the real-time-client, I would suggest we also bump a major version for the React wrapper, as it re-exports many of the same fields
  • We should add to this PR description notes about some of the other messages/schema changes released as part of this change. I'm happy to do this part

.map((r) => r.alternatives?.[0].content)
.join(' ');
process.stdout.write(`\r${finalText} \x1b[3m${partialText}\x1b[0m`);
console.log(`\r${finalText} \x1b[3m${partialText}\x1b[0m`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI the reason for process.stdout.write here was to avoid implicit line breaks, but not sure if this is dealt with another way now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah no, sorry - I only changed this due to debugging, so can undo those changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants