# Camera with RTSP not working on SwitchBlox Rugged

**URL:** <https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174>\
**Category:** BotBlox Hardware\
**Tags:** switchblox-rugged\
**Created:** [March 9, 2024, 7:59pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174 "2024-03-09T19:59:42Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![botblox\_admin](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/botblox_admin/32/1_2.png) [@botblox\_admin](https://forum.botblox.org/u/botblox_admin)\
**Post date:** [March 9, 2024, 7:59pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/1 "2024-03-09T19:59:42Z")

</div>

_– Copied from customer email –_

Hello, i have a problem with the switchblox rugged BB-SWR-G-1 , i connect a digital camera in rtsp and i cannot see any video, it seems that i cannot have a video streamming. I dont know if i can make any configuration without changing de firmware

---

<div class="post-metadata">

**Author:** ![josh\_elijah](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/josh_elijah/32/568_2.png) [@josh\_elijah](https://forum.botblox.org/u/josh_elijah)\
**Post date:** [March 9, 2024, 8:01pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/2 "2024-03-09T20:01:02Z")

</div>

Can you share a little more about your network topology? SwitchBlox Rugged by itself doesn’t support RSTP without firmware modification, so if streaming relies on RSTP support in the switch, then it is not a surprise that your streaming fails.

---

<div class="post-metadata">

**Author:** ![peci1](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/peci1/32/32_2.png) [@peci1](https://forum.botblox.org/u/peci1)\
**Post date:** [March 9, 2024, 10:25pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/3 "2024-03-09T22:25:39Z")

</div>

I think you might need to agree on whether it is RSTP (Rapid Spanning Tree Protocol) or RTSP (Real-Time Streaming Protocol).

---

<div class="post-metadata">

**Author:** ![josh\_elijah](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/josh_elijah/32/568_2.png) [@josh\_elijah](https://forum.botblox.org/u/josh_elijah)\
**Post date:** [March 10, 2024, 12:01pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/4 "2024-03-10T12:01:52Z")

</div>

@peci1 Thank you, I totally misread that.

Ok so RTSP is just using TCP/IP so it should work on SwitchBlox Rugged.

Can you confirm if you see a link light or not on port corresponding to the one connected to your camera? Let’s first debug to see if this is a physical layer issue.

---

<div class="post-metadata">

**Author:** ![apreciado](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@apreciado](https://forum.botblox.org/u/apreciado)\
**Post date:** [April 9, 2024, 4:05pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/5 "2024-04-09T16:05:12Z")

</div>

Hello Josh, I was talking about RTSP. Do you know what firmware modification i requiered?  
Sorry for the late response.  
Thanks!

---

<div class="post-metadata">

**Author:** ![josh\_elijah](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/josh_elijah/32/568_2.png) [@josh\_elijah](https://forum.botblox.org/u/josh_elijah)\
**Post date:** [April 9, 2024, 5:34pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/6 "2024-04-09T17:34:11Z")

</div>

RTSP shouldn’t require any firmware modification. It’s a higher level protocol and should work without issue on SwitchBlox Rugged.

First can you tell me if you see a link light on the port connected to your camera?

---

<div class="post-metadata">

**Author:** ![apreciado](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@apreciado](https://forum.botblox.org/u/apreciado)\
**Post date:** [April 9, 2024, 10:07pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/7 "2024-04-09T22:07:26Z")

</div>

Yes, the link light is on, but I dont have any video or any ping response. The only way it works is; if i put another ethernet switch from another brand in cascade to have comunnication and video.

---

<div class="post-metadata">

**Author:** ![josh\_elijah](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/josh_elijah/32/568_2.png) [@josh\_elijah](https://forum.botblox.org/u/josh_elijah)\
**Post date:** [April 10, 2024, 2:22pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/8 "2024-04-10T14:22:15Z")

</div>

Is the other ethernet switch a gigabit switch? Also, are you able to use wireshark on the receiving device to see if you receive any RTSP packets at all, or are they all blocked on SwitchBlox Rugged?

---

<div class="post-metadata">

**Author:** ![apreciado](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@apreciado](https://forum.botblox.org/u/apreciado)\
**Post date:** [April 10, 2024, 7:36pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/9 "2024-04-10T19:36:30Z")

</div>

Yes the other switch is a gigabit switch. We run some test with the wireshark and we dont have any data of the camera.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/botblox1/original/1X/de5ae017098c4677e954069e19dfd820ef25fcca.png)

---

<div class="post-metadata">

**Author:** ![josh\_elijah](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/josh_elijah/32/568_2.png) [@josh\_elijah](https://forum.botblox.org/u/josh_elijah)\
**Post date:** [April 10, 2024, 9:36pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/10 "2024-04-10T21:36:14Z")

</div>

Ok, there is a possibility that the issue is being caused by the lack of gigabit connectivity on SwitchBlox Rugged, but I’m not totally sure of that.

Do you happen to have an off-the-shelf 10/100M switch you can test with? Or do you have a BotBlox gigabit switch on hand?

Also, looping in @aaron so he can inspect this more thoroughly.

---

<div class="post-metadata">

**Author:** ![apreciado](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@apreciado](https://forum.botblox.org/u/apreciado)\
**Post date:** [April 11, 2024, 6:20pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/11 "2024-04-11T18:20:31Z")

</div>

We used the mercusys switch MS105 (10/100M) and the camera works. And with your botblox doesn’t work.

---

<div class="post-metadata">

**Author:** ![aaron](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/aaron/32/12_2.png) [@aaron](https://forum.botblox.org/u/aaron)\
**Post date:** [April 19, 2024, 3:56pm UTC](https://forum.botblox.org/t/camera-with-rtsp-not-working-on-switchblox-rugged/174/12 "2024-04-19T15:56:03Z")

</div>

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](https://github.com/bluenviron/mediamtx?tab=readme-ov-file#ffmpeg-1) and will run this server inside a `docker` container:

Host 1

```auto
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

```auto
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
