# Stream file works with rtsp source, but not with rtmp source

**URL:** https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216
**Category:** Wowza Streaming Engine
**Created:** [November 21, 2019, 4:47pm UTC](https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216 "2019-11-21T16:47:39Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Dev\_Ops](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dev\_Ops](https://community.wowza.com/u/Dev_Ops)
#### Post date: [November 21, 2019, 4:47pm UTC](https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216/1 "2019-11-21T16:47:39Z")

</div>

hi, i have a live streaming application using stream files. stream file with source rtsp://10.8.5.41:5544/this\_stream

works fine. it is served by evostream

but with rtmp source served by nginx rtmp://10.8.5.41:1935/live/this\_stream wowz://10.8.5.41:1935/live/this\_stream

wowza does not work.

i see the following message in the wowza logs

RTPSessionDescriptionDataProviderBasic.getStreamInfo: SDP file missing: /usr/local/WowzaStreamingEngine/content/rtmp://10.8.5.41:1935/live/this\_stream

in the incoming streams menu, i can see the incoming stream is stuck in status ‘waiting for stream’

note that i can stream the rtmp source fine through vlc.

any idea why wowza can’t connect/restream the source of this stream file, but vlc is working fine, and the rtsp source works fine with wowza? what can i do to fix it?

---

<div class="post-metadata">

### Author: ![Mac\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/mac_hill/32/434_2.png) [@Mac\_Hill](https://community.wowza.com/u/Mac_Hill)
#### Post date: [November 21, 2019, 8:39pm UTC](https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216/2 "2019-11-21T20:39:17Z")

</div>

Hello,

How the way Wowza Streaming Engine connects to RTSP and RTMP is different. With the RTMP connection, please be certain to choose the MediaCaster type of “liverepeater” and not the “rtp” option.

[https://www.wowza.com/docs/how-to-specify-per-stream-settings-in-stream-files#lsrstreams](https://www.wowza.com/docs/how-to-specify-per-stream-settings-in-stream-files#lsrstreams)

[https://www.wowza.com/docs/how-to-create-and-use-stream-files-in-wowza-streaming-engine-manager#configure-wowza-streaming-engine-to-re-stream-a-live-stream](https://www.wowza.com/docs/how-to-create-and-use-stream-files-in-wowza-streaming-engine-manager#configure-wowza-streaming-engine-to-re-stream-a-live-stream)

MediaCaster types correspond to the following stream types:

- rtp. IP Camera streams (RTSP/RTP streams) and streams from native RTP and MPEG-TS encoders.
- shoutcast. SHOUTCast/Icecast streams.
- liverepeater. Streams pulled from another server running Wowza Streaming Engine.
- applehls (supported in Wowza Streaming Engine 4.5.0.01 and later). Apple HLS streams pulled from a live source.
- mpegtstcp (supported in Wowza Streaming Engine 4.5.0.02 and later). MPEG-TS streams pulled from a live source over a TCP/IP connection.
- srt (supported in Wowza Streaming Engine 4.7.2 and later for Linux and Wowza Streaming Engine 4.7.3 and later for Windows). Secure Reliable Transport (SRT)connections.

Regards,

Mac Hill

Wowza Media Systems

---

<div class="post-metadata">

### Author: ![Dev\_Ops](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dev\_Ops](https://community.wowza.com/u/Dev_Ops)
#### Post date: [November 21, 2019, 10:23pm UTC](https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216/3 "2019-11-21T22:23:29Z")

</div>

Thank you very much!

It works by choosing the liverepeater type when connecting to the stream.

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [November 21, 2019, 10:38pm UTC](https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216/4 "2019-11-21T22:38:17Z")

</div>

Awesome to hear! Thanks @Mac Hill for providing the solution.

---

<div class="post-metadata">

### Author: ![Dev\_Ops](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dev\_Ops](https://community.wowza.com/u/Dev_Ops)
#### Post date: [December 12, 2019, 8:09pm UTC](https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216/5 "2019-12-12T20:09:22Z")

</div>

Hi @Mac Hill / @Rose Power-Wowza Community Manager

As a follow up to this, the live origin application that is restreaming is set to ‘record all incoming streams’. and for rtp sources we were using ‘rtp-record’ stream type, which automatically recorded the streamed contant. But streams using ‘liverepeater’ type are not being recorded.

I notice there’s no ‘liverepeater-record’ type. And I don’t seen anything in the logs relating to why the liverepeater streams are being recorded.

Do you have any suggestions as to why these are not being recorded automatically? I can record them manually through the ‘incoming stream’ dashboard

---

<div class="post-metadata">

### Author: ![Dev\_Ops](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dev\_Ops](https://community.wowza.com/u/Dev_Ops)
#### Post date: [December 12, 2019, 8:45pm UTC](https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216/6 "2019-12-12T20:45:28Z")

</div>

does the ‘record all inoming streams’ option on an application work for stream file sources?

i see an alternative - [https://www.wowza.com/docs/how-to-start-recording-streams-automatically-livestreamrecordautorecord](https://www.wowza.com/docs/how-to-start-recording-streams-automatically-livestreamrecordautorecord) - is that required for liverepeater stream types?

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [December 12, 2019, 9:04pm UTC](https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216/7 "2019-12-12T21:04:57Z")

</div>

Looking into it for you and be right back @Dev Ops.

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [December 12, 2019, 10:43pm UTC](https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216/8 "2019-12-12T22:43:49Z")

</div>

Yes, that module will work with liverepeater stream types and one of our engineers just tested it to be sure @Dev Ops.

If you still have an issue, feel free to submit a support ticket and we’ll take a closer look.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)

---

<div class="post-metadata">

### Author: ![Dev\_Ops](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dev\_Ops](https://community.wowza.com/u/Dev_Ops)
#### Post date: [December 13, 2019, 7:16pm UTC](https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216/9 "2019-12-13T19:16:12Z")

</div>

indeed, that module also works for us with liverepeater.

I am still curious why the default ‘record all incoming streams’ doesn’t work on its own :). However, this module solution is great. Thanks for checking!

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [December 13, 2019, 7:49pm UTC](https://community.wowza.com/t/stream-file-works-with-rtsp-source-but-not-with-rtmp-source/54216/10 "2019-12-13T19:49:44Z")

</div>

You’re welcome! Anytime…
