Read the statement by Michael Teeuw here.
[MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
-
Hi,
You can try adding this line to the config:
omxRestart: 1,
Automatically restart the OMX Stream every X hours.
Default: 24 (hours).Btw. Assuming you use omxplayer. Do not have experience with other players.
localPlayer: 'omxplayer',
But getting rid of the root cause of connection dropping and image freezing after a few minutes seems better time invested.
-
@evroom said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
Btw. Assuming you use omxplayer. Do not have experience with other players.
I use omxplayer ‘standalone’, not within MM, but under control of pm2.
When I restart my camera, the omxplayer is connecting to the stream automatically.
No restart of the omxplayer stream needed.
Just FYI. -
@evroom Thanks! I haven’t been able to get OMXplayer to work, only VLC. However, if I can’t get the auto-restart to work with VLC, I’ll see if I can’t get OMXplayer to work.
-
@dwburger I was having a ton of trouble streaming anything on my Pi 4. if you’re on a Pi 4, make sure to install the May 2020 update. Streaming is rock solid now.
https://www.raspberrypi.org/documentation/raspbian/updating.md
I will note, I’m also using OMX Player independently from MM - the last releases of RTSPStream broke everything, and I couldn’t bother to get things working again. I wrote a little module I kept private because it’s not configurable to cut the desired space out of the MM workspace.
-
@BKeyport that link is for PI OS… does it apply to raspian buster?
-
@BKeyport Yes, I’m using an RPi4. Thanks for the link for updating!
-
@sdetweil If you read it, They’re renaming the OS.
-
@BKeyport yes, I knew they were renaming… but also that s mostly applied tot he 64 bit version.
whatever, commands in progress on my 4 -
@sdetweil I read it as “Going forward” - meaning all releases after the date of announcement. But, as it’s still debian based under the hood, the commands would be the same (Or apt-get instead)
-
You know, it figures… I say it’s stable, and it’s back to pre-PI 4 tricks. It’ll run for about two days before crashing, but that’s a lot better than pre-may2020 Buster - which was 5 minutes at the most.