Wowza Community

How To create rtsp relay

Respected Member,

I am new in wowza media server ,may i know how to create “RTSP RELAY”

Give me right direction

Here it is:

https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming)

Richard

Use MediaCache for vod.

Richard

There is a guide with the package. Also, the MediaCache.xml is already configured to stream from any http resource. You can provide rtsp out as usual.

Richard

You are still trying to re-stream vod rtsp. Take this one step at a time. Install MediaCache as-is, don’t make any changes to /conf/MediaCache.html. Make sure you copied the jar file and have restarted Wowza.

Put a video on a web server:

http://[your-webserver]/sample.mp4

Create an application named “mediacache”, add the property to Application.xml /MediaReader (as per instructions in the MediaCache guide):

<MediaReader>
<!-- Properties defined here will override any properties defined in conf/MediaReaders.xml for any MediaReaders loaded by this applications -->
<Properties>
<Property>
<Name>randomAccessReaderClass</Name>
<Value>com.wowza.wms.plugin.mediacache.impl.MediaCacheRandomAccessReader</Value>
</Property>
</Properties>
</MediaReader>

Test using SimpleVideoStreaming player:

Server: rtmp://[wowza-address]:1935/mediacache

Stream: mp4:http/[your-webserver]/sample.mp4

If that works, first make sure that your /conf/mediacache/Application.xml /RTP /Authentication /PlayMethod is “none”, then play in RTSP client like this:

rtsp://[wowza-address]:1935/mediacache/_definst_/mp4:http/[your-webserver]/sample.mp4

Richard

Correction:

Server: rtmp://[wowza-address]:1935/mediacache

Stream: mp4:http/[your-webserver-address]/sample.mp4

rtsp://[wowza-address]:1935/mediacache/_definst_/mp4:http/[your-webserver]/sample.mp4

Richard

No difference

Richard

Provide a litrle more detail on what you are trying to achieve, RTSP RELAY, is not very descriptive.

Shamrock

Respected Shamrock sir,

Firstly i need is following in case of RTSP (Video ON Demand)

There are two wowza server…

First wowza server establish a connection with user (Means user hit to First wowza server ) or first wowza server establish a connection with second wowza server and get content from here means (from Second wowza server)

over all second wowza server is used only for give content to first wowza server.

For this i needed relay so i used this link…

http://www.wowza.com/forums/con…P-re-streaming)

and created file second.stream file there i wrote rtsp://[secondwowza-address]/vod/mp4:sample.mp4

and hit to first wowza server used this link rtsp://[firstwowza-address]/rtplive/second.stream

it’s played fine but problem is that

when i play this link firstly vlc it play and try to this link to play to another vlc in case of firstly vlc is running condition then on second vlc stream is not start from starting rather it start from where there first stream is currently running…

so how can solve that problem . and i got mediacache package ???

hence i could not understand how solve out this problem???

help me

If you look through the media cache package set up you will see you do not need the second.stream configuration which is why you are having the issue.

Follow the instructions for the media cache installation and it should work as you need.

Shamrock

can it’s possible ,in case of vod

Sir Previously u say ,

Use MediaCache for vod.

Richard

Now I have got MediaCache Package .

so now i , how to configure MediaCache.xml for vod relay and re-streamming , in both case RTMP or RSTP

I asked this question previously , but didn’t got , sufficient answer …

Definitely i am new in wowza … plz give me right way to solve that problem

Respected Shamrock sir,

Firstly i need is following in case of RTSP (Video ON Demand)

There are two wowza server…

First wowza server establish a connection with user (Means user hit to First wowza server ) or first wowza server establish a connection with second wowza server and get content from here means (from Second wowza server)

over all second wowza server is used only for give content to first wowza server.

For this i needed relay so i used this link…

http://www.wowza.com/forums/con…P-re-streaming)

and created file second.stream file there i wrote rtsp://[secondwowza-address]/vod/mp4:sample.mp4

and hit to first wowza server used this link rtsp://[firstwowza-address]/rtplive/second.stream

it’s played fine but problem is that

when i play this link firstly vlc it play and try to this link to play to another vlc in case of firstly vlc is running condition then on second vlc stream is not start from starting rather it start from where there first stream is currently running…

hence i need that if first vlc play video then other vlc play video from starting , just like that vod in case /

so how can solve that problem . and i got mediacache package ???

hence i could not understand how solve out this problem???

help me

sir this configuration is same as window and linux

I am using fedora 14 …

thanx to support