Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

217
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda