I found out that the stream stops as soon as I ask something to Google Assistant (MMM-AssistantMk2 + MMM-Hotword by @Sean ) and it replies.
Please check the web browser console (ctrl+shift+i) and see if for some reason AssistantMk2 or Hotword are sending a pause/hide command to other modules. You would see something like:
MMM-RTSPSTREAM is suspended.... Also, after the stream disappears, check the status of PM2 (
pm2 status from ssh/terminal) and see if
omx_streamX is still running. That will let me know if the module is telling the stream to stop or if omxplayer is giving up.
Regarding the border alignment, search this forum and/or the closed issues on GitHub, it’s been answered before. @evroom’s solution looks correct to hide the border, but I can’t remember for sure.
Mini-rant: OMXPLAYER is the lowest resource player I’ve found to use for playing video streams on a Pi, but frankly, it’s a finicky b***h and has terrible logging to inform you of the problem. 90% of the issues raised with this module are caused by omxplayer itself, which, unfortunately I don’t have any better way to solve than any other user. That’s why I use pm2 to manage the streams so it will at least attempt to restart when it crashes.
@evroom, regarding the streams not stopping… Last week I found a bug in PM2’s API, calling
stop on a process from node doesn’t work. I will work on a workaround until the PM2 devs correct the issue.