tylermullen commited on
Commit
ca48a7f
·
verified ·
1 Parent(s): 4851721

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -305,7 +305,7 @@ async function initMedia() {
305
  mediaRecorder.onstop = () => {
306
  // We process the audio here, and free the previous one, if any
307
  console.log('Chunks: ', audioChunks);
308
- const blob = new Blob(audioChunks, {type: 'video/webm'});
309
  console.log('Blob: ', blob);
310
  // if (audioUrl) window.URL.revokeObjectURL(audioUrl);
311
  audioUrl = window.URL.createObjectURL(blob);
 
305
  mediaRecorder.onstop = () => {
306
  // We process the audio here, and free the previous one, if any
307
  console.log('Chunks: ', audioChunks);
308
+ const blob = new Blob(audioChunks, {type: 'audio/webm'});
309
  console.log('Blob: ', blob);
310
  // if (audioUrl) window.URL.revokeObjectURL(audioUrl);
311
  audioUrl = window.URL.createObjectURL(blob);