AirenSoft / OvenPlayer

OvenPlayer is JavaScript-based LLHLS and WebRTC Player for OvenMediaEngine.
https://OvenMediaEngine.com/ovenplayer
MIT License
498 stars 124 forks source link

ome_demo player autoFallback #428

Open Jamong435 opened 1 month ago

Jamong435 commented 1 month ago

hello

When using the ome_demo player, even with the autoFallback option set to true, the stream stops and doesn't automatically resume when it restarts.

Is there an additional setting that needs to be configured?

thanks

SangwonOh commented 2 weeks ago

Hi @Jamong435 . The autofallback option is a function that moves to the next stream when a stream fails to play when multiple streams are set in the player.

To resume playback when the stream is stopped and restarted, you can receive the player's playback error event and reload the player.

On our demo player page (https://demo.ovenplayer.com/) you can set it to "Reload the player when error occurred" option.