Skip to content

Commit

Permalink
Update VoiceAnalyser.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gouravmore authored Mar 4, 2025
1 parent a693625 commit 7abfd3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/VoiceAnalyser.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@ function VoiceAnalyser(props) {

// TODO: Remove false when REACT_APP_AWS_S3_BUCKET_NAME and keys added
var audioFileName = "";
if (process.env.REACT_APP_CAPTURE_AUDIO === "true" && false) {
if (process.env.REACT_APP_CAPTURE_AUDIO === "true") {
console.log("capturing audio...")
let getContentId = currentLine;
audioFileName = `${process.env.REACT_APP_CHANNEL
}/${sessionId}-${Date.now()}-${getContentId}.wav`;
Expand Down

0 comments on commit 7abfd3b

Please sign in to comment.