# Re-streaming an RTSP stream through Wowza Pro (RTSP/RTP)

**URL:** <https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53>\
**Category:** Wowza Streaming Engine\
**Created:** [January 6, 2009, 2:42pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53 "2009-01-06T14:42:03Z")\
**Posts on this page:** 20\
**Page:** 7

<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:** [February 11, 2010, 4:22pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/121 "2010-02-11T16:22:46Z")

</div>

Check the stream profile, make sure the audio is supported format. And make sure sound is not muted in the player.

Richard

---

<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:** [February 11, 2010, 5:29pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/122 "2010-02-11T17:29:10Z")

</div>

I’m not sure. I’ve got m1011, which doesn’t have any audio.

Richard

---

<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:** [March 1, 2010, 1:38pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/123 "2010-03-01T13:38:47Z")

</div>

I would try it with the Wowza (home pc) as an Origin server, and the Wowza (work pc) as an Edge server in an Origin/Edge configuration.

See the “Live Stream Repeater (Multiple Server Live Streaming)” section of the User Guide.

Richard

---

<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:** [March 2, 2010, 1:47pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/124 "2010-03-02T13:47:19Z")

</div>

From what I understand, I think Darwin server will work, but I don’t think Windows Media Server will work

Richard

---

<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:** [March 3, 2010, 12:07pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/125 "2010-03-03T12:07:33Z")

</div>

There is a StreamType for that: “liverepeater-edge-origin”

Encoder \> liverepeater-origin \> liverepeater-edge-origin \> liverepeater-edge \> client

Richard

---

<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:** [March 3, 2010, 9:43pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/126 "2010-03-03T21:43:00Z")

</div>

Cool. Me too.

Richard

---

<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:** [March 4, 2010, 5:48pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/127 "2010-03-04T17:48:55Z")

</div>

You can do that with /conf/StartUpStreams.xml:

[https://www.wowza.com/forums/showthread.php?t=7096](https://www.wowza.com/forums/showthread.php?t=7096)

Or here is a module to do it:

[http://community.wowza.com/t/-/88](http://community.wowza.com/t/-/88)

Richard

---

<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:** [March 27, 2010, 12:35am UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/128 "2010-03-27T00:35:44Z")

</div>

You have covered just about everything I would have thought of. I assume you are on the latest patch and have tuned the server?

Richard

---

<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:** [March 28, 2010, 2:54pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/129 "2010-03-28T14:54:55Z")

</div>

What version of Jave are you using? Check with the command:

```auto
java -version

```

Richard

---

<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:** [April 1, 2010, 9:20am UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/130 "2010-04-01T09:20:48Z")

</div>

This seems to be [here now](https://www.wowza.com/forums/showthread.php?p=39353#post39353)

Richard

---

<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 3, 2010, 8:23pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/131 "2010-05-03T20:23:33Z")

</div>

Jan,

I’m not sure what you are asking and referring to.

Richard

---

<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 10, 2010, 10:27pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/132 "2010-05-10T22:27:30Z")

</div>

I’m not sure. I tested here and get the same results in vlc (video and audio ok) and Flash (video ok, no audio). I do see this warning each time I play or start the stream in Flash:

RTCPHandler.convertTimeSyncTimecode: Invalid timescale value: 0

Richard

---

<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 13, 2010, 4:22pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/133 "2010-05-13T16:22:03Z")

</div>

I was just reporting my findings. I re-streamed the same stream from an application here with StreamType “rtp-live”, and I had the same results that you reported, and saw that error repeatedly. I don’t know how to fix it.

Richard

---

<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:** [August 31, 2010, 2:43am UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/134 "2010-08-31T02:43:41Z")

</div>

Try adding forceInterleaved property to Application.xml /MediaCaster Properties list:

```auto
<Property>
	<Name>forceInterleaved</Name>
	<Value>true</Value>
	<Type>Boolean</Type>
</Property>

```

Richard

---

<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:** [January 26, 2011, 4:34pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/135 "2011-01-26T16:34:16Z")

</div>

Copy all the files in that client folder to your computer and open in file explorer at location you copied to, or move them to a web server and open in a browser.

Change “localhost” in box labeled “Stream:” to the ip of your Wowza server.

Richard

---

<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:** [January 27, 2011, 12:43pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/136 "2011-01-27T12:43:53Z")

</div>

You are trying to play a stream named “rtplive”, but the stream is really “rtsp://admin:password@XXXXXX.dyndns.org:8554/CH002.sdp”, which won’t work in JW player, you have to create an Alias:

Create a text file with a .stream extension in the content folder, name it ch002.stream:

/content/ch002.stream

Make this the contents of choo2.stream:

> rtsp://admin:password@XXXXXX.dyndns.org:8554/CH002.sdp

Then use choo2.stream as the file Flashvar “&file=choo2.stream”

Make sure your text editor does not add a .txt extension, it has to be name ch002.stream

Richard

---

<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:** [January 27, 2011, 1:51pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/137 "2011-01-27T13:51:03Z")

</div>

You can use VLC to play the RTSP stream direct, then look at Tools \> Codec Info to see what the video format is. It might not be h.264.

Richard

---

<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:** [January 27, 2011, 8:07pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/138 "2011-01-27T20:07:36Z")

</div>

Wowza handles rtsp streaming. Take a look at “To play using RTSP/RTP player or device” in this tutorial:

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

You can’t restream the smil exactly, it’s the smil items that are restreamed.

Richard

Richard

---

<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:** [January 27, 2011, 11:57pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/139 "2011-01-27T23:57:33Z")

</div>

It has to be mpeg-4 part 10, or h.264.

What you have is probably mpeg-4 part 2, which is not supported in Flash and Wowza.

Richard

---

<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:** [January 27, 2011, 11:59pm UTC](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53/140 "2011-01-27T23:59:28Z")

</div>

Try transcoding with ffmpeg or VLC, there are examples with rtsp input in both of these guides:

[https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts](https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts))

[https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts))

Richard

[Previous page](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53.md?page=6)

[Next page](https://community.wowza.com/t/re-streaming-an-rtsp-stream-through-wowza-pro-rtsp-rtp/53.md?page=8)
