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

135
Views
How to record a particular tab stream using getUserMedia

I want to record a particular tab (by specifying the tab id) without showing the tab selection dialog from getUserMedia. For this I use mediaSource as browser and a tabId as described in https://fluffy.github.io/w3c-screen-share/#screen-based-video-constraints

navigator.mediaDevices
    .getUserMedia({
      video: {
        mediaSource: 'browser'
      },
      tabId: <my_tab_id>
    })

But this always records a particular tab on its own, irrespective of what tab id I specified. How can I make this work on my selected tabId?

Fiddle - https://jsfiddle.net/58rL3psg/

about 4 years ago · Juan Pablo Isaza
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!