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

209
Vistas
How to play RTMP stream in html once it's available?

We have an RTMP stream from AWS IVS.

We are playing the RTMP stream in an HTML page using the following code from here :

if (IVSPlayer.isPlayerSupported) {
    const player = IVSPlayer.create();
    player.attachHTMLVideoElement(document.getElementById('video-player'));
    player.load(PLAYBACKURL);
    player.play();
}

This code works only when the RTMP stream is already playing. If the stream from IVS is not ready when the html page is loaded, then the video is not played when it's ready. Hence the end user has to keep running this code (using a button for example)...

The ideal solution would be : when the RTMP stream is ready, play the video without the need of refreshing the page or running this code again.

Does anyone know how to solve that please ?

Thanks.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

It's not something about playing RTMP in H5, it's about H5 <video> playing HLS, which is coverted by AWS IVS, because now H5 is not able to play RTMP.

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