# Relaying multiple mountpoints from Icecast/Shoutcast

**URL:** <https://community.wowza.com/t/relaying-multiple-mountpoints-from-icecast-shoutcast/35077>\
**Category:** Wowza Streaming Engine\
**Created:** [July 15, 2010, 9:35am UTC](https://community.wowza.com/t/relaying-multiple-mountpoints-from-icecast-shoutcast/35077 "2010-07-15T09:35:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_W](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Rob\_W](https://community.wowza.com/u/Rob_W)\
**Post date:** [July 15, 2010, 9:35am UTC](https://community.wowza.com/t/relaying-multiple-mountpoints-from-icecast-shoutcast/35077/1 "2010-07-15T09:35:30Z")

</div>

Hi forum,

I’ve successfully set up my Icecast server to relay through Wowza and RTMP, which is fantastic.

However, my mount points change dynamically, so a static list of Icecast URLs in the /content directory doesn’t work for me. How can I set some sort of wildcard so that Wowza will relay _all_ mountpoints from my Icecast server automatically?

In other words, when I request rtmp://mydomain/anyWordHere, I want it to connect to and relay [http://myLocalIcecastServer:8000/anyWordHere](http://myLocalIcecastServer:8000/anyWordHere).

Any help much appreciated

---

<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:** [July 15, 2010, 10:49am UTC](https://community.wowza.com/t/relaying-multiple-mountpoints-from-icecast-shoutcast/35077/2 "2010-07-15T10:49:02Z")

</div>

That isn’t a requirement. You can make .stream files with shoutcast urls in your content folder, but that’s optional. If you set up a Wowza application with a StreamType “shoutcast” you can play any shoutcast 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:** [July 15, 2010, 11:17am UTC](https://community.wowza.com/t/relaying-multiple-mountpoints-from-icecast-shoutcast/35077/3 "2010-07-15T11:17:06Z")

</div>

Playback on IPhone of shoutcast streams requires that you start with StreamManager. In that case you do have to maintain .stream files, or use /conf/StartUpStream.xml, or you can use MediaCaster API in module.

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:** [July 15, 2010, 11:21am UTC](https://community.wowza.com/t/relaying-multiple-mountpoints-from-icecast-shoutcast/35077/4 "2010-07-15T11:21:47Z")

</div>

What kind of live applications?

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:** [July 15, 2010, 11:40am UTC](https://community.wowza.com/t/relaying-multiple-mountpoints-from-icecast-shoutcast/35077/5 "2010-07-15T11:40:28Z")

</div>

Here’s an example:

[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:** [July 15, 2010, 12:35pm UTC](https://community.wowza.com/t/relaying-multiple-mountpoints-from-icecast-shoutcast/35077/6 "2010-07-15T12:35:06Z")

</div>

Yes, and there are several options: You could add it to an application module and call it from Flash app, or you could do it with a HTTProvider and call it through http from a server page in your application server or directly in a browser, or you can do with JMX/JConsole, OR, command line JMX interface:

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

Richard

---

<div class="post-metadata">

**Author:** ![Rob\_W](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Rob\_W](https://community.wowza.com/u/Rob_W)\
**Post date:** [July 15, 2010, 10:55am UTC](https://community.wowza.com/t/relaying-multiple-mountpoints-from-icecast-shoutcast/35077/7 "2010-07-15T10:55:17Z")

</div>

ok, thanks.

Does the same apply to “live” applications? I have followed the instructions for setting up Icecast -\> iPhone streaming, but I assume it would work here too?

---

<div class="post-metadata">

**Author:** ![Rob\_W](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Rob\_W](https://community.wowza.com/u/Rob_W)\
**Post date:** [July 15, 2010, 11:32am UTC](https://community.wowza.com/t/relaying-multiple-mountpoints-from-icecast-shoutcast/35077/8 "2010-07-15T11:32:26Z")

</div>

I followed the “All player instructions” at [https://www.wowza.com/quickstart.html#live-shoutcast](https://www.wowza.com/quickstart.html#live-shoutcast), I think I meant StreamType though… is this still a shoutcast application?

I’m having a look at IApplicationInstance.startMediaCasterStream now, I take it this is the way to stop and start streams programmatically?

thanks

---

<div class="post-metadata">

**Author:** ![Rob\_W](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Rob\_W](https://community.wowza.com/u/Rob_W)\
**Post date:** [July 15, 2010, 12:26pm UTC](https://community.wowza.com/t/relaying-multiple-mountpoints-from-icecast-shoutcast/35077/9 "2010-07-15T12:26:21Z")

</div>

quick question:

would the call to the mediacaster API have to be in a module? I was envisaging a small command-line utility which could be passed in the name and URL of a stream to start.

However, if I have to build a module, what callbacks would I be best relying upon?

thanks
