-
Notifications
You must be signed in to change notification settings - Fork 157
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
Camera diconnected after 10 seconds #31
Comments
Add-on don't supported any more. Remove it and install custom component from this repo |
Hi 2021-05-09 14:04:04 DEBUG (webrtc) [custom_components.webrtc.utils] 2021/05/09 14:04:04 Stream Try Connect rtsp://192.168.1.72:554/user=admin&password=&channel=1&stream=0.sdp |
No Video happens when component can't get keyframe from camera. Maybe your camera didn't support it or sent very rarely. |
I'm getting the same issue on one of my cams. It runs fine in VLC and Frigate records it fine too, but using your card or the RTSPtoWEBRTC addon, it drops after ~6-10 seconds every single time. A couple of times it has run fine for several minutes without issue, but usually it drops and I get the NoVideo error. It sends a keyframe every 2 seconds, and I tried reducing that to 1 second as well. But still, always drop after 6-10 seconds. Weird, might be my network and the Hyper-V environment. Might be the camera. Can't really figure it out any further. My other cams are fine. Sorry for reviving such an old post, but I didn't want to create a new issue until I can eliminate a few more possible issues first. Maybe weak connectivity, I'll try addressing that first. |
Hi
Dear Alexx,
This camera is absent in the supported device list. Probably You will can thomething corrected for its correct work.
Description this camera:
https://www.aliexpress.com/item/4000859777548.html?spm=a2g0s.9042311.0.0.e14c4c4dXNtG5c
Video:
https://youtu.be/lJ4EV2nrg-Q
Log here:
"Glazok": {
"url": "rtsp://192.168.1.72:554/user=admin&password=&channel=1&stream=0.sdp"
}
}
}
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
2021/04/24 14:43:54 Server Start Awaiting Signal
2021/04/24 14:43:54 Stream Try Connect Glazok
2021/04/24 14:43:54 Stream Try Connect Sonoff
[GIN-debug] Loaded HTML Templates (2):
-
- index.tmpl
[GIN-debug] GET / --> main.serveHTTP.func1 (3 handlers)
[GIN-debug] POST /recive --> main.HTTPAPIServerStreamWebRTC (3 handlers)
[GIN-debug] GET /codec/:uuid --> main.serveHTTP.func2 (3 handlers)
[GIN-debug] GET /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (3 handlers)
[GIN-debug] HEAD /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (3 handlers)
[cut]
2021/04/24 17:10:45 Set UDP ports to 50000..50009
[GIN] 2021/04/24 - 17:10:45 | 200 | 95.860482ms | 192.168.10.2 | POST "/recive"
[GIN] 2021/04/24 - 17:11:35 | 200 | 4.307576ms | 192.168.10.2 | GET "/?player=Glazok"
[GIN] 2021/04/24 - 17:11:35 | 200 | 1.686083ms | 192.168.10.2 | GET "/static/js/app.js?ver=2021-04-24+17:11:35.831671099+%2B0300+EEST+m%3D%2B8861.488265743"
[GIN] 2021/04/24 - 17:11:35 | 200 | 75.573µs | 192.168.10.2 | GET "/codec/Glazok"
2021/04/24 17:11:36 Set UDP ports to 50000..50009
[GIN] 2021/04/24 - 17:11:36 | 200 | 48.425056ms | 192.168.10.2 | POST "/recive"
2021/04/24 17:11:40 Client Not Send ACK (probably the browser is minimized) or tab not active Close client
2021/04/24 17:11:40 WritePacket WebRTC Client Offline
2021/04/24 17:11:54 noVideo
The text was updated successfully, but these errors were encountered: