fix: recording do not pass file type

This commit is contained in:
jialin
2024-11-27 19:42:29 +08:00
parent 60c92b8a98
commit 146bcdcf1c
2 changed files with 8 additions and 3 deletions
@@ -172,7 +172,6 @@ const AudioInput: React.FC<AudioInputProps> = (props) => {
audioRecorder.current.onstop = () => {
const audioBlob = new Blob(audioChunks, { type: 'audio/wav' });
const audioUrl = URL.createObjectURL(audioBlob);
handleAudioData({
chunks: audioBlob,
size: audioBlob.size,