yi-hack-Allwinner-v2 icon indicating copy to clipboard operation
yi-hack-Allwinner-v2 copied to clipboard

Auto Restart rRTSPServer

Open tunerooster opened this issue 3 years ago • 3 comments

I have had rRTSPServer die occasionally (not often). But it might be useful to start it in a loop so if it does die it automatically restarts. ...just a minor feature improvement. :)

Thanks for a job well done!

tunerooster avatar Nov 20 '21 04:11 tunerooster

There should already be a watchdog: wd_rtsp.sh Why doesn't it work in your scenario?

roleoroleo avatar Nov 20 '21 08:11 roleoroleo

Good question. I'll investigate.

On Sat, Nov 20, 2021, 1:55 AM roleo @.***> wrote:

There should already be a watchdog: wd_rtsp.sh Why doesn't it work in your scenario?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/roleoroleo/yi-hack-Allwinner-v2/issues/303#issuecomment-974618259, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFMVIX5RL7VGU4TNGWRN4LUM5O6VANCNFSM5INRAS6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

tunerooster avatar Nov 20 '21 20:11 tunerooster

wd_rtsp.sh was/is not running. I rebooted and it is now running, but it apparently died in addition to rRTSPServer, thus no restart...

I have enabled the wd_rtsp.sh LOG messages. The initial messages from the log are as follows:

2021-11-21 09:29:45 - No running processes, restarting...
2021-11-21 09:29:57 - Detected possible locked process (1)
2021-11-21 09:30:33 - No running processes, restarting...

If/when rRTSPServer is again not running, I will send you the log.

tunerooster avatar Nov 21 '21 09:11 tunerooster

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 09 '22 11:12 stale[bot]