Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

143
Views
Record microphone audio with MediaRecorder API JavaScript

Is it possible to record audio from a microphone along with media from the screen using the built in MediaRecorder API in JavaScript? How would you do this? This is what my code looks like, it only seems to be recording system audio and not microphone audio.

let stream = await navigator.mediaDevices.getDisplayMedia({
    video: true,
    audio: true
});
const mime = MediaRecorder.isTypeSupported("video/webm; codecs=vp9")
    ? "video/webm; codecs=vp9"
    : "video/webm";

let mediaRecorder = new MediaRecorder(stream, {
    mimeType: mime,
});
about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!