# PushPublish with wildcard support for RTMP \*AND\* RTSP/RTP streams

**URL:** <https://community.wowza.com/t/pushpublish-with-wildcard-support-for-rtmp-and-rtsp-rtp-streams/33751>\
**Category:** Hire a Consultant\
**Created:** [November 4, 2014, 7:24pm UTC](https://community.wowza.com/t/pushpublish-with-wildcard-support-for-rtmp-and-rtsp-rtp-streams/33751 "2014-11-04T19:24:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin\_Sadaba](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@Benjamin\_Sadaba](https://community.wowza.com/u/Benjamin_Sadaba)\
**Post date:** [November 4, 2014, 7:24pm UTC](https://community.wowza.com/t/pushpublish-with-wildcard-support-for-rtmp-and-rtsp-rtp-streams/33751/1 "2014-11-04T19:24:28Z")

</div>

I need something along the lines of the PushPublish example that is available on the api, but I need it to work for both RTMP and RTSP/RTP streams (the example only works for RTMP). You can find the example in /documentation/serverapi, search for “ModulePushPublishSimpleExample”.

I don’t plan on having a lot of origin servers (right now 2), so whichever method used should be able to recognize the address of a fellow origin so it doesn’t start pushing the same stream (avoiding loops).

I want to be able to publish a stream via rtmp or rtsp/rtp and have them pushed to other wowza servers. For now I am not interested on the pull model (origin-edge).

The stream name is dynamically generated, and it needs to be available with the same name on any server once it’s published.

In case you are wondering, I know this is not the most efficient way (origin-edge probably is)

OS in use is linux 64/bit

---

<div class="post-metadata">

**Author:** ![Denis\_Chetverikov](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@Denis\_Chetverikov](https://community.wowza.com/u/Denis_Chetverikov)\
**Post date:** [November 5, 2014, 10:01am UTC](https://community.wowza.com/t/pushpublish-with-wildcard-support-for-rtmp-and-rtsp-rtp-streams/33751/2 "2014-11-05T10:01:16Z")

</div>

Hi,

I already have such module implemented, please, contact me at denis@unicodesolutions.net.

Best regards,

Denis
