[Solved] Can't get respawn working when traffic zero
Added by ermos jevohan almost 3 years ago
Hello,
Version: HTS Tvheadend 4.3-1983~gb8710206e
OS: Ubuntu 18.04
When the source stream stucks, input kbps shows zero in status/subscriptions but client does not drop and mux does not respawn.
How may I set up mux when the source stops in any given time so that client auto-sends reconnect request after drop?
Current status: If I manually kill the user in status/connections page, it reconnects again and stream starts playing.
Mux setup attached. I also have tested Sigkill Sigint.
I'd like to receive your idea
Any possibility to add a function like "restart on error".
Similar question in search results:
https://tvheadend.org/boards/5/topics/33649
Excerpted from log file:
2022-01-07 16:22:03.027 pass: Live stream: Write failed -- Resource temporarily unavailable
2022-01-07 16:22:03.027 webui: Stop streaming /stream/channelid/411310700?auth=PuZJJhxusj9uS4B0-dAExptAdghs&profile=pass, muxer reported errors
Thank you
Ermos
Replies (1)
RE: Can't get respawn working when traffic zero - Added by ermos jevohan almost 3 years ago
Hello,
Have just sorted with bash script & mbuffer.
No stucks...
kind regards
Ermos