Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

124
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda