How to record audio while simultaneously listening in real-time?
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

I'm looking to insert a checkbox on this code:
https://webrtc.github.io/samples/src/content/getusermedia/record/

That will allow a user to record a video while hearing themselves in real-time (if they are wearing headphones)

Similar to the functionality on this page (but with no effects - just a raw feed):

Example: https://webaudiodemos.appspot.com/input/

Code: https://github.com/cwilso/Audio-Input-Effects

awarded to sguha

Crowdsource coding tasks.

1 Solution

Winning solution

I added a check box called "Real-time audio:" - if the user clicks on it before pressing "Start camera" it will play the audio back in real-time

Demo: https://webrtc-samples.onrender.com/src/content/getusermedia/record/index.html

Diff: https://github.com/webrtc/samples/compare/gh-pages...sguha00:self-audio