Jump to content
  • 0

Auto play not working without page refresh after upgrade to 2.3


Daniel B
 Share

Question

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

5 answers to this question

Recommended Posts

  • 0

I urgently need a fix for this. It's not rechecking for a live stream. It checks one time when the page loads. So the message the stream will start when it is live is not true. Viewers have to do a manual page refresh to see the live stream. I just did the upgrade to 2.3 to fix a different issue. Fixed one problem and created a new one. Please help I need to get this fixed before Sunday.

 

 

Link to comment
Share on other sites

  • 0

Hi,

I couldn't recreate the issue, player plays without a need to refresh on our test servers.

Can you share your settings from the web panel so that I can try to create the issue and understand the root cause, or can you send me the link to try it on your server.

 

Regards
Link to comment
Share on other sites

  • 0
Thank you for replying. I found the issue. I changed the play list order in play.html.

playOrder = ["webrtc", "hls"];

to

playOrder = ["hls", "webrtc"];

I did this because I want it to play via hls rather than webrtc. But that change caused the issue. Is there some other way to have it default to hls rather than webrtc? I made this same change in 2.2.1 so I didn't expect this to cause a problem.

Link to comment
Share on other sites

  • 0
I just changes the line above that to var playOrder = "hls";

That seems to work. Is there a better way to do this? In my application latency is not as important and smooth high quality video with no pausing or buffering. So HLS seems to work best.

Now I have:

        var playOrder = "hls";
        if (playOrder == null) {
                playOrder = ["webrtc", "hls"];
        }

Link to comment
Share on other sites

  • 0

Hİ,

You found the correct way to make hls priority. You can also give it as a query parameter in your link like localhost:5080/LiveApp/play.html?name=stream1&playOrder=hls , this is the way of how its done.

Cheers

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...