# Streammanager auto start streams

**URL:** <https://community.wowza.com/t/streammanager-auto-start-streams/33757>\
**Category:** Wowza Streaming Engine\
**Created:** [October 21, 2011, 1:27am UTC](https://community.wowza.com/t/streammanager-auto-start-streams/33757 "2011-10-21T01:27:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomas\_Alkyras](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@Tomas\_Alkyras](https://community.wowza.com/u/Tomas_Alkyras)\
**Post date:** [October 21, 2011, 1:27am UTC](https://community.wowza.com/t/streammanager-auto-start-streams/33757/1 "2011-10-21T01:27:51Z")

</div>

How to make streammanager to start some streams automatically, not manually everytime accesing [http://localhost:8086/streammanager](http://localhost:8086/streammanager) ? Is there any way to automate this?

---

<div class="post-metadata">

**Author:** ![Benjamin\_Higginbotha](https://avatars.discourse-cdn.com/v4/letter/b/e8c25b/32.png) [@Benjamin\_Higginbotha](https://community.wowza.com/u/Benjamin_Higginbotha)\
**Post date:** [October 21, 2011, 4:45pm UTC](https://community.wowza.com/t/streammanager-auto-start-streams/33757/2 "2011-10-21T16:45:22Z")

</div>

Absolutely. If you edit the StartupStreams.xml file in your Wowza Conf directory you can add any stream you would like to auto-start when the server starts.

Thanks,

Benjamin

---

<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:** [December 21, 2011, 1:54pm UTC](https://community.wowza.com/t/streammanager-auto-start-streams/33757/3 "2011-12-21T13:54:06Z")

</div>

Use a .stream file to contain the url

file: /content/teststream3.stream

contents: [http://localhost:8000/teststream3](http://localhost:8000/teststream3)

Then start like this:

```auto
<Root>
<StartupStreams>
<StartupStream>
<Application>teststream3/_definst_</Application>
<MediaCasterType>shoutcast</MediaCasterType>
<StreamName>teststream3.stream</StreamName>
</StartupStream>
</StartupStreams>
</Root>

```

Then playback:

```auto
http://[wowza-address]:1935/shoutcast/teststream3.stream/playlist.m3u8

```

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:** [September 11, 2012, 1:24pm UTC](https://community.wowza.com/t/streammanager-auto-start-streams/33757/4 "2012-09-11T13:24:26Z")

</div>

Take a look at the MediaCaster API

[https://www.wowza.com/docs/how-to-mediacaster-api-to-start-native-rtp-and-mpeg-ts-streams](https://www.wowza.com/docs/how-to-mediacaster-api-to-start-native-rtp-and-mpeg-ts-streams)

This HTTPProvider example starts a MediaCaster stream with the above API:

[https://www.wowza.com/docs/how-to-parse-post-or-get-variables-in-an-http-provider](https://www.wowza.com/docs/how-to-parse-post-or-get-variables-in-an-http-provider)

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:** [September 12, 2012, 10:52am UTC](https://community.wowza.com/t/streammanager-auto-start-streams/33757/5 "2012-09-12T10:52:48Z")

</div>

You seem to have concatenated the shoutcast url with a .stream file. Put the shoutcast url in a .stream file.

Richard

---

<div class="post-metadata">

**Author:** ![Tomas\_Alkyras](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@Tomas\_Alkyras](https://community.wowza.com/u/Tomas_Alkyras)\
**Post date:** [November 9, 2011, 11:33pm UTC](https://community.wowza.com/t/streammanager-auto-start-streams/33757/6 "2011-11-09T23:33:30Z")

</div>

Nice and easy, thank you!

---

<div class="post-metadata">

**Author:** ![Rick\_Stevens](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@Rick\_Stevens](https://community.wowza.com/u/Rick_Stevens)\
**Post date:** [December 19, 2011, 6:39pm UTC](https://community.wowza.com/t/streammanager-auto-start-streams/33757/7 "2011-12-19T18:39:23Z")

</div>

I have set up the StartupStreams.xml file with all the streams I need started. Note that these are Shoutcast (really Icecast) relays. While the stream manager shows all the streams as started, they actually aren’t. If I try to play one of them via a HTTP URL (e.g. an iPad), I get a “file not found” on the player. If I stop and restart the stream in the stream manager, it plays correctly. Here’s a sample of what I have in my StartupStreams.xml:

teststream3/_definst_

shoutcast

[http://localhost:8000/teststream3](http://localhost:8000/teststream3)

The stream is playable via VLC from [http://localhost:8000/teststream3](http://localhost:8000/teststream3), so the Icecast side of things is peachy. As I said, the stream manager shows the stream as started, but it appears it really isn’t. Any ideas?

---

<div class="post-metadata">

**Author:** ![Jakub\_Szczygie\_322](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@Jakub\_Szczygie\_322](https://community.wowza.com/u/Jakub_Szczygie_322)\
**Post date:** [September 11, 2012, 4:15am UTC](https://community.wowza.com/t/streammanager-auto-start-streams/33757/8 "2012-09-11T04:15:28Z")

</div>

Hello,

I am developing custom webservice for Wowza server that would handle dynamic addition of new icecast servers based on this example:

[https://www.wowza.com/downloads/forums/webservice/WebService.zip](https://www.wowza.com/downloads/forums/webservice/WebService.zip)

but I am stuck on part where I have to provide stream name for wowza server to start. I am aware that based on stream name wowza takes info from file named like stream name and then connects to url inside it. But my question is it possible to connect to such server without relaying on files with URL inside?

> Use a .stream file to contain the url
> 
> file: /content/teststream3.stream
> 
> contents: [http://localhost:8000/teststream3](http://localhost:8000/teststream3)
> 
> Then start like this:
> 
> ```auto
> <Root>
> <StartupStreams>
> <StartupStream>
> <Application>teststream3/_definst_</Application>
> <MediaCasterType>shoutcast</MediaCasterType>
> <StreamName>teststream3.stream</StreamName>
> </StartupStream>
> </StartupStreams>
> </Root>
> 
> ```
> 
> Then playback:
> 
> ```auto
> http://[wowza-address]:1935/shoutcast/teststream3.stream/playlist.m3u8
> 
> ```
> 
> Richard

---

<div class="post-metadata">

**Author:** ![Jakub\_Szczygie\_322](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@Jakub\_Szczygie\_322](https://community.wowza.com/u/Jakub_Szczygie_322)\
**Post date:** [September 11, 2012, 11:36pm UTC](https://community.wowza.com/t/streammanager-auto-start-streams/33757/9 "2012-09-11T23:36:37Z")

</div>

Hello,

Thank you for your response.

I’ve managed to start recording the session from icecast with “shoutcast-record” stream type and name “mp4:[http://10.10.30.171:8000/w.stream](http://10.10.30.171:8000/w.stream)” passed as stream name. I am recording this session in dvr application and I was using your example player (LiveDvrStreaming) to start playing track. With use of this link: “[http://127.0.0.1:1935/dvr/http\_\_\_10.10.30.171\_8000\_w.stream/manifest.f4m?DVR](http://127.0.0.1:1935/dvr/http___10.10.30.171_8000_w.stream/manifest.f4m?DVR)” tracks starts playing but unlike record started from streammanger with URL in file called for example radio.stream I am unable to seek with player, also there is no live seek bar. Is this player or server issue?
