Hi there,
I’ve just got around to testing RTSP streams and I did manage to get RTSP streaming working. I have a sample test, which we can both use for debugging.
In my setup, I have 2 Linux hosts connected to ports 1 and 5 respectively on the SwitchBloxRugged rev G. The idea is that host 1 will run an RTSP server and use ffmpeg to publish a stream to that server. Host 2 will then read from that server.
I’ll make use of this open-source media server and will run this server inside a docker
container:
Host 1
docker run --rm -it --network=host bluenviron/mediamtx:latest
ffmpeg -re -stream_loop -1 -i input.mp4 -c copy -f rtsp rtsp://localhost:8554/mystream
Host 2
ffmpeg -i rtsp://<host1_ethernet_interface_ipaddress>:8554/mystream -c copy output.mp4
You can confirm there is streaming traffic between the two hosts that way. Is it possible for you to replicate this test? If you’re successful with this test, then the issue is not RTSP on SWR but something else.
Regarding ping
not working between two hosts connected through SwitchBloxRugged, this could potentially be due to many possible things - does your network interface statically allocate an IP address to its ethernet interface when it detects a link (i.e. when plugged into the SwitchBloxRugged)? You mentioned seeing the link light which would imply that a link is formed. Do you have any information on the specific setup that you have?
Best,
Aaron