-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
RTSP Relay Tearing down connections frequently #81
Comments
Hello, this can be fixed quickly, but i need a network dump.
|
Sorry it took a hot minute, Has to learn some more CLI. Please find the attached pcap. YOu can see the teardown at 17.817 in the 'time' column. |
Hello, this bug should have been fixed, please try the attached nightly release and let me know if it works: (removed) |
Definitely a marked improvement. Probably about 5-7x better. I do still see drops over 3-10 seconds about every 5 minutes. pcap attached. The log file looks slightly different, but mostly that it would appear to be hitting hard with GET_PARAMETER requests. I have since added 50% more cores to both the relay host and NVR (4 and 6 respectively) but still seeing this: `` |
Hello, Anyway, i think it's correct that your camera periodically queries the server with GET_PARAMETER requests, they're used like ping requests (even if your camera is the first one i've seen that does it), we just have to find out the reason of the TEARDOWN. |
I think I got the necessary information. Sorry it took a while. Work has been insane. |
Hello, a lot has changed since the above post - in my opinion the latest version may solve this problem. |
This is probably fixed so i'm closing the issue. |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v0.9.13
Describe the problem
In relay mode, server returns unhandled exception GET_PARAMETER and the rtsp connection is torn down and rebuilt on what appears to be another port.
[1/0/0] [client 10.10.40.15:50666] is receiving on path 'proxied', 1 track via tcp
[1/0/1] [client 10.10.40.15:50666] GET_PARAMETER
[1/0/1] [client 10.10.40.15:50666] ERR: unhandled method 'GET_PARAMETER'
[0/0/0] [client 10.10.40.15:50666] disconnected
[1/0/0] [client 10.10.40.15:50667] connected
[1/0/0] [client 10.10.40.15:50667] DESCRIBE
[1/0/0] [client 10.10.40.15:50667] SETUP
[1/0/0] [client 10.10.40.15:50667] PLAY
[1/0/0] [client 10.10.40.15:50667] is receiving on path 'proxied', 1 track via tcp
[1/0/1] [client 10.10.40.15:50667] GET_PARAMETER
[1/0/1] [client 10.10.40.15:50667] ERR: unhandled method 'GET_PARAMETER'
[0/0/0] [client 10.10.40.15:50667] disconnected
[1/0/0] [client 10.10.40.15:50668] connected
[1/0/0] [client 10.10.40.15:50668] DESCRIBE
[1/0/0] [client 10.10.40.15:50668] SETUP
[1/0/0] [client 10.10.40.15:50668] PLAY
[1/0/0] [client 10.10.40.15:50668] is receiving on path 'proxied', 1 track via tcp
[1/0/1] [client 10.10.40.15:50668] GET_PARAMETER
[1/0/1] [client 10.10.40.15:50668] ERR: unhandled method 'GET_PARAMETER'
[0/0/0] [client 10.10.40.15:50668] disconnected
[1/0/0] [client 10.10.40.15:50669] connected
[1/0/0] [client 10.10.40.15:50669] DESCRIBE
[1/0/0] [client 10.10.40.15:50669] SETUP
[1/0/0] [client 10.10.40.15:50669] PLAY
[1/0/0] [client 10.10.40.15:50669] is receiving on path 'proxied', 1 track via tcp
[1/0/1] [client 10.10.40.15:50669] GET_PARAMETER
[1/0/1] [client 10.10.40.15:50669] ERR: unhandled method 'GET_PARAMETER'
[0/0/0] [client 10.10.40.15:50669] disconnected
[1/0/0] [client 10.10.40.15:50670] connected
[1/0/0] [client 10.10.40.15:50670] DESCRIBE
[1/0/0] [client 10.10.40.15:50670] SETUP
[1/0/0] [client 10.10.40.15:50670] PLAY
[1/0/0] [client 10.10.40.15:50671] is receiving on path 'proxied', 1 track via tcp
[1/0/1] [client 10.10.40.15:50671] GET_PARAMETER
[1/0/1] [client 10.10.40.15:50671] ERR: unhandled method 'GET_PARAMETER'
[0/0/0] [client 10.10.40.15:50671] disconnected
[1/0/0] [client 10.10.40.15:50672] connected
[1/0/0] [client 10.10.40.15:50672] DESCRIBE
[1/0/0] [client 10.10.40.15:50672] SETUP
Issue is observed when running WyzeCam v2 on Dafang firmware hacks (as well as standard FW) with Blue Iris, Xprotect Exxentials, and Shinobi. Server is on dedicated Ubuntu server VM 2/2 VCPU 4096 RAM and the NVR is run on a different VM with 4/4 VCPU and 8192 RAM.
When the connection is torn down, the web API for the camera has no break in output.
All cameras set for VBR 2500kb/s bitrate, no motion detect, no audio, no MJPEG, only H264 RTSP.
The text was updated successfully, but these errors were encountered: