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

112
Views
WEBRTC screen capture API for mobile browsers

I have developed a video chat application using WEBRTC (peer.js). I have integrated screen share & screen recording feature using Screen capture API. It's working well with web browsers. I just found in MDN Web Doc that Screen Capture API don't support any of the mobile browsers. Is there is any other alternative to achieve this is mobile browsers ? Please help me out.

Code

const shareScreen = async () => {
  let captureStream = null;

  try {
    captureStream = await navigator.mediaDevices.getDisplayMedia({
      video: true,
      audio: true
    });
  } catch (err) {
    console.error("Error: " + err);
  }
  captureStream.getVideoTracks()[0].onended = function () {
    navigator.mediaDevices
      .getUserMedia({
        video: true,
        audio: true,
      })
      .then((stream) => {
        // connectToNewUser(uId, stream);
      })
  };
  peer.call(uId, captureStream);
}; 
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

None of the current mobile browsers support screen capture; thus, none of the browser-based videoconferencing solutions implement screen sharing. The only solution I am aware of is to use a native app.

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