# recieving RTP and republish it as RTMP

**URL:** <https://community.wowza.com/t/recieving-rtp-and-republish-it-as-rtmp/36622>\
**Category:** Wowza Streaming Engine\
**Created:** [May 26, 2011, 12:23pm UTC](https://community.wowza.com/t/recieving-rtp-and-republish-it-as-rtmp/36622 "2011-05-26T12:23:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Ghanime](https://avatars.discourse-cdn.com/v4/letter/p/b4bc9f/32.png) [@Paul\_Ghanime](https://community.wowza.com/u/Paul_Ghanime)\
**Post date:** [May 26, 2011, 12:23pm UTC](https://community.wowza.com/t/recieving-rtp-and-republish-it-as-rtmp/36622/1 "2011-05-26T12:23:01Z")

</div>

Hi

Currently I am trying to achieve rtp -\> rtmp through wowza (wowza will receive rtp stream and re-stream it to rtmp url)

to achieve that I want to do the following :

1- listen on wowza for 2 ports (one for audio and one for video) to be sent by sip rtp publisher

2- this rtp stream should be converted to RTMP stream so that I can read it from flash client

so the flow will be

SIP RTP --\> WOWZA --\> RTMP

the other way around I am able to do it

So …

1- How can I configure wowza to listen to 2 ports for rtp

2- How can I re-stream this received rtp to rtmp

Thanks

Paul

---

<div class="post-metadata">

**Author:** ![Paul\_Ghanime](https://avatars.discourse-cdn.com/v4/letter/p/b4bc9f/32.png) [@Paul\_Ghanime](https://community.wowza.com/u/Paul_Ghanime)\
**Post date:** [May 26, 2011, 2:41pm UTC](https://community.wowza.com/t/recieving-rtp-and-republish-it-as-rtmp/36622/2 "2011-05-26T14:41:07Z")

</div>

Hi

Actually I think this example do exactly what I want

[https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder](https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder)

but I have one concern

I need to support several “1 to 1” video connections on the same server . In the case of rtmp to rtmp I can achieve that by having different set of stream names for each “1 to 1” session.

And since rtp does not have the concept of stream names I am afraid that I will not be able to support several “1 to 1” connections (can I stream to live/myStream2.sdp for example)

how can I create more than 1 rtp sdp files and preferably dynamically

live/myStream.sdp

live/myStream2.sdp

live/myStream3.sdp

etc

Thanks

Paul

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 26, 2011, 6:53pm UTC](https://community.wowza.com/t/recieving-rtp-and-republish-it-as-rtmp/36622/3 "2011-05-26T18:53:03Z")

</div>

Paul,

You can alias the incoming streams using .stream files in the content folder. Text files with .stream extension containing your sip url. For example:

/content/sip1.stream

Now you can start sip2.stream in StreamManager and in Flash or other client to playback.

Richard

---

<div class="post-metadata">

**Author:** ![Pavel\_Ismailov](https://avatars.discourse-cdn.com/v4/letter/p/e9c0ed/32.png) [@Pavel\_Ismailov](https://community.wowza.com/u/Pavel_Ismailov)\
**Post date:** [October 13, 2011, 11:26pm UTC](https://community.wowza.com/t/recieving-rtp-and-republish-it-as-rtmp/36622/4 "2011-10-13T23:26:24Z")

</div>

Hello, **ghanime**

Please check www.flashphoner.com

thi is RTMP-SIP sevrver based on Wowza Media Server

May be it will help you

Functions:

- Audio - Speex, g.711, g.729

- Video - h.263, h.264

- SIP - calls, transfer, hold, DTMF

- API - ActionScript, JavaScript

- Open source client

- Open source server java app

Thanks,

Pavel
