# Solution for RTSP proxification

**URL:** <https://forum.openwrt.org/t/solution-for-rtsp-proxification/68869>\
**Category:** Installing and Using OpenWrt\
**Created:** [July 9, 2020, 7:51am UTC](https://forum.openwrt.org/t/solution-for-rtsp-proxification/68869 "2020-07-09T07:51:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![llaumgui](https://forum.openwrt.org/user_avatar/forum.openwrt.org/llaumgui/32/21841_2.png) [@llaumgui](https://forum.openwrt.org/u/llaumgui)\
**Post date:** [July 9, 2020, 7:51am UTC](https://forum.openwrt.org/t/solution-for-rtsp-proxification/68869/1 "2020-07-09T07:51:44Z")

</div>

Hi,

currently I use port forwarding to my IP Cam port to use RTSP video flow. I would like to try to proxify my RTSP flow. Is there a RTSP proxy solution on OpenWRT ?

Best regards.

---

<div class="post-metadata">

**Author:** ![lleachii](https://forum.openwrt.org/letter_avatar/lleachii/32/6_449c533f586939b6e5f246632a46421f.png) [@lleachii](https://forum.openwrt.org/u/lleachii)\
**Post date:** [July 10, 2020, 1:36pm UTC](https://forum.openwrt.org/t/solution-for-rtsp-proxification/68869/2 "2020-07-10T13:36:28Z")

</div>

> [@llaumgui](#):
>
> I would like to try to proxify my RTSP flow. Is there a RTSP proxy solution on OpenWRT ?

- What is an RTSP proxy?
- I'm confused, wouldn't you still need to have the URI to a host/IP (i.e. your IP) and a port (i.e. the one forwarded to the RTSP server)?
- "Proxify" how?

---

<div class="post-metadata">

**Author:** ![llaumgui](https://forum.openwrt.org/user_avatar/forum.openwrt.org/llaumgui/32/21841_2.png) [@llaumgui](https://forum.openwrt.org/u/llaumgui)\
**Post date:** [July 10, 2020, 3:50pm UTC](https://forum.openwrt.org/t/solution-for-rtsp-proxification/68869/3 "2020-07-10T15:50:31Z")

</div>

A RTSP proxy is a solution which proxify RTSF flow. [https://github.com/aler9/rtsp-simple-proxy](https://github.com/aler9/rtsp-simple-proxy) is an example of implementation.

---

<div class="post-metadata">

**Author:** ![lleachii](https://forum.openwrt.org/letter_avatar/lleachii/32/6_449c533f586939b6e5f246632a46421f.png) [@lleachii](https://forum.openwrt.org/u/lleachii)\
**Post date:** [July 10, 2020, 4:23pm UTC](https://forum.openwrt.org/t/solution-for-rtsp-proxification/68869/4 "2020-07-10T16:23:14Z")

</div>

OK, first, the link you sent said depreciated. Next, following the link, I found:

> **[GitHub - bluenviron/mediamtx: Ready-to-use SRT / WebRTC / RTSP / RTMP /...](https://github.com/bluenviron/mediamtx#usage-as-rtsp-proxy)**
>
> Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy and record video and audio streams. - GitHub - bluenviron/mediamtx: Ready-to-use SR...

> #### Usage as RTSP Proxy
> 
> An RTSP proxy is usually deployed in one of these scenarios:
> 
> - when there are multiple users that are receiving a stream and the bandwidth is limited, so the proxy is used to receive the stream once. Users can then connect to the proxy instead of the original source.
> - when there's a NAT / firewall between a stream and the users, in this case the proxy is installed in the NAT and makes the stream available to the outside world.

So:

- Is the server elsewhere (doesn't seem to fit scenario No. 1 from the link; nor your description)?
- You already NAT with a Port Forward, so why would you want to install proxy software - taking more CPU and memory?

Perhaps I don't understand the use case...except you only want to stream once from your server...but you still use bandwidth and more resources at the router...

🤔

---

<div class="post-metadata">

**Author:** ![uweklatt](https://forum.openwrt.org/user_avatar/forum.openwrt.org/uweklatt/32/2945_2.png) [@uweklatt](https://forum.openwrt.org/u/uweklatt)\
**Post date:** [July 10, 2020, 4:47pm UTC](https://forum.openwrt.org/t/solution-for-rtsp-proxification/68869/5 "2020-07-10T16:47:01Z")

</div>

Hi,

Try Twitch as a proxy 😁

(I use ffmpeg to get the stream from the camera, convert it and send the stream to Twitch)

Uwe
