recieving RTP and republish it as RTMP

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

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

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

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

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