Add transcript sending to server every 15 seconds#6
Open
Ramcharan-Swaminathan wants to merge 4 commits intodhadhirahulpartfrom
Open
Add transcript sending to server every 15 seconds#6Ramcharan-Swaminathan wants to merge 4 commits intodhadhirahulpartfrom
Ramcharan-Swaminathan wants to merge 4 commits intodhadhirahulpartfrom
Conversation
Add functionality to record audio and generate transcript every 15 seconds, sending it to the specified URL. * Add `transcriptIntervalRef` to manage the interval for sending transcripts. * Modify `handleStartRecording` to start listening and initialize the interval. * Modify `handleStopRecording` to stop listening and clear the interval. * Add `sendTranscript` function to send the transcript to `http://127.0.0.1:5000/generate_question`. * Add `startListening` function to handle speech recognition and start the interval. * Add `stopListening` function to clear the interval. * Ensure the transcript is not shown to the candidate but only to the interviewer.
|
No applications have been configured for previews targeting branch: dhadhirahulpart. To do so go to restack console and configure your applications for previews. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add functionality to record audio and generate transcript every 15 seconds, sending it to the specified URL.
transcriptIntervalRefto manage the interval for sending transcripts.handleStartRecordingto start listening and initialize the interval.handleStopRecordingto stop listening and clear the interval.sendTranscriptfunction to send the transcript tohttp://127.0.0.1:5000/generate_question.startListeningfunction to handle speech recognition and start the interval.stopListeningfunction to clear the interval.