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

216
Views
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 answers
Answer question

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 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!