Replies: 8 comments
-
Hello, to solve this i need
Unfortunately your dumps contained only UDP packets, and don't contain the RTSP handshake - we have to find out whether
Furthermore, please try the undockerized version too. |
Beta Was this translation helpful? Give feedback.
-
Hello @aler9 , thanks for your help. Here the requested pcap dumps: captures2.zip I hope it can help you. |
Beta Was this translation helpful? Give feedback.
-
Hello @aler9,
|
Beta Was this translation helpful? Give feedback.
-
Hello, what happens is a very strange thing. The server tells the client that the UDP ports are 32792-32793
But then the server uses two completely different ports to send packets (48230-48231)... This happens with both VLC and rtsp-simple-server, but the former doesn't check the sender ports, while the latter does for security reasons. |
Beta Was this translation helpful? Give feedback.
-
In my opinion you can do 3 things:
paths:
mypath:
source: rtsp://
sourceProtocol: tcp I'm sorry but i don't want to remove the security check of the UDP source ports. |
Beta Was this translation helpful? Give feedback.
-
Hello @aler9 Based on RFC2326:
My understanding is that these ports are not mandatory used for UDP/RTP source ports... but let's say that this part of the RFC is I've found a dicussion on the TV provider forum about this issue, based on RFC, they won't change the RTSP behavior :( Is there any chance that you implement a disable "security check" option ? Edit: this TV provider doesn't support TCP : ERR: bad status code: 461 (Unsupported Transport) |
Beta Was this translation helpful? Give feedback.
-
Hello, in my opinion the best solution consists in hacking the code and compiling a custom executable by yourself. Edit this file, go to this line: https://github.com/aler9/rtsp-simple-server/blob/2b4d22589ca05559afbbce2635ca0a4fa463286b/internal/sourcertsp/source.go#L124 Add AnyPortEnable: true, And recompile with Go (go build . ) or Docker (make release) In the meanwhile, write to the IPTV provider, they're causing problems that can't be addressed by breaking specifications. |
Beta Was this translation helpful? Give feedback.
-
Hello, thanks for your answer. I'll give a try to compile the code myself but I'll loose the ability to easily deploy and maintain the app. What specifications are you reffering to ? According to RFC2326, my IPTV provider is not breaking anything.... |
Beta Was this translation helpful? Give feedback.
-
Which version are you using?
v0.13.3 (docker)
Which operating system are you using?
OS
Architecture
Describe the issue
My ISP (Free, France) is offering IPTV service based on RSTP/RTP. Rstp-simple-server, in proxy configuration, can't dectect this IPTV source: ERR: no UDP packets received recently (maybe there's a firewall/NAT in between)
debug_rtsp-simple-server.txt
This source is UDP/RTP with payload type 33 (MPEG II TS). It works with VLC.
Rstp-simple-server, same configuration, works in proxy mode with a different RSTP/RTP source (payload type 97 for ex).
Describe how to replicate the issue
You need this source to replicate. See attached dump with the ko source, and a good one.
Did you attach a network dump?
captures.zip
Beta Was this translation helpful? Give feedback.
All reactions