-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MM-56540 - Live-captions support #18
Conversation
Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good 💪 . Gave it a very quick pass to potentially unblock further improvements. Still need to go through the meat (processLiveCaptionsForTrack
).
My only "blocking" thought would be the need for a config setting to control whether we do live captions. This way we can have a related setting on the plugin side to globally enable/disable this functionality.
@cpoile there was nothing particularly risky here. I can do another quick pass some time next week -- it shouldn't take me more than a few hours tops. Just tag me again once all the changes are in. |
Changes are in, @jupenur. Thank you for taking the time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still looking pretty solid from my PoV. Thanks @cpoile!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still a lot of complexity in here but if it works it works I suppose :)
Left some candid feedback, nothing truly blocking though.
cmd/transcriber/call/transcriber.go
Outdated
slog.Int("LiveCaptionsNumThreadsPerTranscriber", t.cfg.LiveCaptionsNumThreadsPerTranscriber)) | ||
go t.startTranscriberPool() | ||
} else { | ||
slog.Info("LiveCaptionsOn is false; not starting the transcriber pool") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess not totally needed -- was using it during development. Will remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we can infer if they are disabled. It's also a less interesting case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I promise these are the last comments :)
cmd/transcriber/call/transcriber.go
Outdated
slog.Int("LiveCaptionsNumThreadsPerTranscriber", t.cfg.LiveCaptionsNumThreadsPerTranscriber)) | ||
go t.startTranscriberPool() | ||
} else { | ||
slog.Info("LiveCaptionsOn is false; not starting the transcriber pool") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we can infer if they are disabled. It's also a less interesting case.
Summary
<><>
) which give a lot of useful insight into what's happening in the transcriber.Ticket Link