-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Streams go offline at least once a day #33
Comments
Is it the same two that go down every time and does it happen after the same number of hours? You can filter out the rtsp logs with It is strange that they come back after a restart. |
The same two cameras go down each time, not sure about the time though. |
I actually have the same thing. The same 3 of my 8 Cams go offline quite often. One is a Wyze v2, and two are Wyzr v3's. Restarting the docker container seems to resolve... for a bit at least. |
Could you see if all or any of these setting help: - RTSP_PROTOCOLS=tcp
- RTSP_READTIMEOUT=30s
- RTSP_READBUFFERCOUNT=8192 |
I caught it in the act
|
We might be able to bump up the timeout, but I wonder if it's some other network related issue causing the camera to lose connection and timeout..? AV_ER_REMOTE_TIMEOUT_DISCONNECT -20016:
|
I added the extra flags and it seems to be running fine so far. |
I used to have the same/similar issue (never managed to catch the actual error - log file scrolled way past it by the time I checked) with having to restart the docker images 2-3 times a day as I'd get the Added the 3 RTSP flags above and confirmed its been running for well over a day now - -thanks! P.S. I still get disconnects but it automatically reconnects, so its stable :) |
Just wanted to leave an update here - with the newest version (defaults the protocol to TCP) I've been able to remove the 3 RTSP flags and the docker image with out of the box settings works fine now, been connected for well over a day. and now it says : |
It still disconnects sometimes, but reconnects automatically: 2021/08/18 20:49:17 I [1/1] [RTSP] [conn [::1]:53670] ERR: no one is publishing to path 'driveway' |
Potential fix for streams that refuse to come back online in v0.6.2. Please let me know if this fixes the issue. |
I have two cameras that will just go offline, both have a strong connection and are connected on LAN mode. A restart fixes the issue but having to restart the container is a pain. The log is flooded with RTSP no one is publishing to path errors so its hard to find whats wrong.
The text was updated successfully, but these errors were encountered: