Daniel B Posted March 17, 2021 Share Posted March 17, 2021 Link to comment Share on other sites More sharing options...
0 Daniel B Posted March 19, 2021 Author Share Posted March 19, 2021 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 More sharing options...
0 Tahir Posted March 19, 2021 Share Posted March 19, 2021 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 More sharing options...
0 Daniel B Posted March 19, 2021 Author Share Posted March 19, 2021 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 More sharing options...
0 Daniel B Posted March 19, 2021 Author Share Posted March 19, 2021 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 More sharing options...
0 Tahir Posted March 21, 2021 Share Posted March 21, 2021 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 More sharing options...
Question
Daniel B
Link to comment
Share on other sites
Top Posters For This Question
4
2
Popular Days
Mar 19
4
Mar 17
1
Mar 21
1
Top Posters For This Question
Daniel B 4 posts
Tahir 2 posts
Popular Days
Mar 19 2021
4 posts
Mar 17 2021
1 post
Mar 21 2021
1 post
Posted Images
5 answers to this question
Recommended Posts