Satyam-Singh commited on
Commit
57a407b
·
verified ·
1 Parent(s): d84233a

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +3 -0
index.html CHANGED
@@ -83,6 +83,9 @@
83
  // Hide the permission button and show the iframe
84
  document.getElementById('requestPermissionBtn').style.display = 'none';
85
  document.getElementById('deepgramIframe').style.display = 'block';
 
 
 
86
  })
87
  .catch(function(error) {
88
  console.error('Microphone access denied or failed:', error);
 
83
  // Hide the permission button and show the iframe
84
  document.getElementById('requestPermissionBtn').style.display = 'none';
85
  document.getElementById('deepgramIframe').style.display = 'block';
86
+
87
+ // Optionally: You may also want to pass the microphone stream directly to the iframe or API.
88
+ // For now, Deepgram's iframe automatically tries to use the microphone.
89
  })
90
  .catch(function(error) {
91
  console.error('Microphone access denied or failed:', error);