-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ERR: rtcp: packet too short #1085
Comments
Hello, please attach a network dump, that can be generated in this way:
|
Here you go: |
fixed in v0.20.1 |
I'm having same problem with I've been using old version from 2020 before upgrading to 0.20.2 with same pipeline without problems. |
I've captured some packages between client and
is it possible that rtsp-simple-server from 2020 was accepting this malformed package from client without complaining? It was working actually. |
I've reverted back rtsp-simple-server to @aler9: I'm not sure if I'd call this a regression or not. Clearly |
3 out of my 8 camera's stream is complaining about |
@kklem0 I had the issue on an older camera Edimax IC-3100P circa 2013. My 4K Annke cameras work fine. Are all your cameras the same? |
No, 4 brands, 6 models. All the ones that have issues are Hanwha Techwin cameras. Bosch, Hikvision, Samsung work fine.
|
Maybe follow @aler9 instructions above:
You'll see where I did that above. Maybe create a new issue since this is technically closed @aler9? |
Thanks, will take a look tomorrow. |
@kklem0 it was "fixed" here bluenviron/gortsplib@25199d8 |
The comment in code says "some cameras send invalid RTCP packets ..." but the problem that I've been reporting here is not about this, but about the client that sends invalid RR (receiver report) back to rtsp-simple-server. I've yet to test this commit if it fixes also this situation |
No it's still the cameras that are the problem, the client (homebridge) connects to a bunch of cameras through rtsp-simple-server and only one brand complains about this. I'll probably be in touch with the manufacturer if I can find out the exact problem, but it would be cool to turn off the warning from rtsp-simple-server as well. |
Hello everyone, i've checked the code again and this is what happens:
Which case are you referring to? i'm willing to transform fatal errors into warnings if we clearly identify the issue. |
@aler9 I think the warnings are fine if it doesn't impact the stream. Obviously you want to know fatal errors. Is there a way to do log levels like debug, warn, error, fatal, etc.? From my perspective I'd just turn off warnings, so the log doesn't get filled up with nonsense you are handling. |
Thanks for reopening this. My case is the third one: the client video decoder connects to rtsp-simple-server via RTSP/TCP but client causes rtsp-simple-server to kill TCP connection by sending invalid Receiver Report (please check my previous comments for Wireshark frame capture) This behavior changed recently as it was working correctly with old version of rtsp-simple-server (checksum in previous comment), that I am still using at current date until this problem is fixed (actually downgraded to a warning and not an error) |
So for me it's use case 1, and potentially 3. |
(bluenviron/mediamtx#1085) Invalid RTCP packets, in both server and client, do not trigger a fatal error anymore but they're just blocked. OnDecodeError() is called in order to emit a warning.
Invalid RTCP packets are now allowed in all cases. |
the fix is included in v0.20.4 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v0.19.3_linux_arm64v8
Which operating system are you using?
Armbian on Rock64
Describe the issue
2022/08/12 15:50:42 INF [path sub1] [rtsp source] ready
2022/08/12 15:50:42 INF [path sub1] [rtsp source] ERR: rtcp: packet too short
Displays over and over
Describe how to replicate the issue
Edimax 3100P MPEG4 stream using
paths:
sub1:
sourceProtocol: tcp
source: rtsp://192.168.1.8:554/ipcam.sdp
Just start with that camera.
Did you attach the server logs?
no
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered: