sampotts / plyr

A simple HTML5, YouTube and Vimeo player
https://plyr.io
MIT License
26.53k stars 2.93k forks source link

How to keep Live Stream retrying Re-connection after given amount of seconds/mins. after stream failure, until success. #1589

Open musarano opened 5 years ago

musarano commented 5 years ago

Expected behaviour

Try to Keep Reconnecting to the live stream feed, when is still not active or when was active and suddenly gone,. By waiting a given amount of time (seconds or mins) between tries.

Actual behaviour

The Control bar, keeps whirling, but nothing else happens but just whirl of the bar at control. It doesnt change the status, even when later starting the live encoder/live stream channel in using wowza latest version. Also happends when there is no live feed at the channel or channel, encoder, etc. hast started yet, and the users hits play to wait for when the stream becomes available, have the player start receiving the broadcast as soon it meets that.

Steps to reproduce

Start the player at an non ready live stream. and hit play or have it in autoplay. Stop the actual going live stream at the far end (encoder, or drop the wifi or lan connection to your pc/desktop etc, where you are conducting the test) and try to re-start the encoder or network connection.

Environment

Console errors (if any)

Dont see any

Link to where the bug is happening

musarano commented 5 years ago

Hi, any idea on how to achieve this ? to error handler it? Thank You

musarano commented 4 years ago

I will keep FP7 (deprecated) for now.. Hope an answer can be made one/some-day too :)

musarano commented 4 years ago

Hi any possible solution to try keep reconnecting until do ? Like waiting 30 secs. and give the next reconnect try?

Thank You

musarano commented 4 years ago

????????