Skip to content
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

Used consistent structure for sending request (like used everywhere else in the client) #115

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

rasikaghadge
Copy link
Owner

The "/process" API for the Django code is still work in progress, so clicking on mic mute button will show error

import * as api from "../api/index.js";
import { PROCESS_AUDIO } from "./constants";

export const processCandidateAnswer = (audioBase64) => async (dispatch) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

It will not work as expected.
some references - https://www.npmjs.com/package/react-media-recorder

Copy link
Owner Author

Choose a reason for hiding this comment

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

I have tested it locally with my own django server. The audio data is reaching the server. Please elaborate if this is not what you are talking about.

@Suraj1089 Suraj1089 self-requested a review February 12, 2024 14:18
@rasikaghadge rasikaghadge merged commit 3e193fc into main Feb 12, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants