0

I am creating a MediaRecorder app for KaiOS. I wanted to disable noiseSuppression and set several other constraints as specified here.

I observed that these constraints are not being respected while I set them in my code. I still get noise Suppressed audio. Needed some help on this front. Setting constraints is very straight forward and I am sure I am doing it right. It's just not getting respected on KaiOS devices. Could really use some help here.

Penny Liu
  • 15,447
  • 5
  • 79
  • 98
Gaurav Deochakke
  • 2,265
  • 2
  • 21
  • 26
  • These constraints should be set on the MediaStream request, not on the MediaRecorder. – Kaiido Mar 25 '19 at 07:40
  • @Kaiido Can you show me a very basic syntax for the same in my relevance? That is when i use the MediaRecorder. – Gaurav Deochakke Mar 25 '19 at 08:11
  • `const stream = await navigator.mediaDevices({video: true, audio: true, noiseSuppression: true}); const recorder = new MediaRecorder(stream);` But honestly, that would be easier if you do provide what you have. – Kaiido Mar 25 '19 at 08:14

0 Answers0