AlastairStevenson wrote:My only suggestion would be to check you get the same problem with a lower resolution/frame rate/bit rate, what you're trying is quite stretching for a TS-212. Maybe try -w 1080 -h 720 -fps 15 -b 500000
Tried 640x480@10fps 200Kbps, same result. So the problem is not high-load.
AlastairStevenson wrote:If I was troubleshooting this I'd run a network capture and analyse the RTSP session setup dialogue between Rpi and SS Pro to see where the mismatch is. But that's a bit low level and cryptic for a normal troubleshooting suggestion.
I installed WireShark on the RPi and started network capture. Meanwhile I started the cvlc streaming.
In SS I configured the camera and clicked test. Result:
- About a dozen TCP messages exchanged between RPi and SS (SYN, ACK and PSH)
- About a dozen SSDP messages from the NAS to an address that doesn't belong to my network (239.255.255.250, I assume a multicast group was created, but probably not for SS? I don't know)
- Some UDP packets from raspberry IP to the broadcast address with extremely high port numbers (32412-32418)
In VLC I connected to the stream. Result:
- Same TCP messages as with SS, this time between RPi and the pc
- 3 ICMP Port unreachable packets
- Same UDP packets from raspberry IP to the broadcast address as when connecting from SS, mixed with ...
- ... a bunch of UDP packets from raspberry IP to the pc running VLC with the same port numbers (which should be the video stream)
Any suggestion?
In the RPi shell, the cvlc outputs prints "connection from ...." when I connect VLC, but nothing with SS. Can it be an incompatibility between cvlc and SS? Are there any other known-good programs to substitute cvlc for the streaming? Does the SS support RTP?