# start and stop MediaCaster streams

**URL:** <https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466>\
**Category:** Wowza Streaming Engine\
**Created:** [April 12, 2012, 6:45am UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466 "2012-04-12T06:45:15Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enrico\_Schulze](https://avatars.discourse-cdn.com/v4/letter/e/ce7236/32.png) [@Enrico\_Schulze](https://community.wowza.com/u/Enrico_Schulze)\
**Post date:** [April 12, 2012, 6:45am UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466/1 "2012-04-12T06:45:15Z")

</div>

Hallo,

is there a possibility to start and stop a mediacasterstream per URL?

I know, i can start and stop mediacasterstreams with the streammanager and with StartupStreams.xml. But i need a possibility to start with a url, like start and stop recording a live stream per url.

Enrico

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [April 12, 2012, 3:41pm UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466/2 "2012-04-12T15:41:50Z")

</div>

Hi

Steam manager uses a url format, if you hover over the links with the mouse you should be able to see what the url that is being sent.

Just type that into your web browser or copy link address and paste.

You could also save the link addresses into a text document for reference.

Jason

---

<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 12, 2012, 5:37pm UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466/3 "2012-04-12T17:37:11Z")

</div>

And take a look at this HTTPProvider, the 2nd example here:

[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:** [April 15, 2014, 12:05pm UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466/4 "2014-04-15T12:05:44Z")

</div>

Kris,

I am not sure about the long-range for StreamManager. How are you leveraging StreamManager on port 8086 programatically?

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 19, 2014, 9:08pm UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466/5 "2014-04-19T21:08:40Z")

</div>

Kris,

I would continue to use these, I don’t see StreamManager going anywhere, but you could easily replace this functionality. Take a look at this HTTPProvider that shows how to use POST or GET with HTTPProviders, and happens to show staring of a MediaCaster stream, though it uses a deprecated method (article update soon), but you can fold-in the recommended [method which is shown here](https://www.wowza.com/docs/how-to-mediacaster-api-to-start-native-rtp-and-mpeg-ts-streams).

Richard

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [April 16, 2012, 9:52am UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466/6 "2012-04-16T09:52:14Z")

</div>

Hi

Looking through the [http://localhost:8086/streammanager/](http://localhost:8086/streammanager/) I opened view page source, Starting a stream in an application called live with the content being mystream.stream

The closest I got to figuring it out was this url:

[http://localhost:8086/streammanager/addstream.html?startStream=1&uuid=20&action=startStream&vhostName=_defaulVHost_&appName=live/_definst_&streamName=mystream.stream&mediaCasterType=rtp](http://localhost:8086/streammanager/addstream.html?startStream=1&uuid=20&action=startStream&vhostName=_defaulVHost_&appName=live/_definst_&streamName=mystream.stream&mediaCasterType=rtp)

but needs some work, I hope this is a good start for you.

Jason

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [April 17, 2012, 12:55pm UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466/7 "2012-04-17T12:55:51Z")

</div>

Hi

Well that’s good news thank you for letting us know I’m glad we could help with this issue.

Jason

---

<div class="post-metadata">

**Author:** ![Enrico\_Schulze](https://avatars.discourse-cdn.com/v4/letter/e/ce7236/32.png) [@Enrico\_Schulze](https://community.wowza.com/u/Enrico_Schulze)\
**Post date:** [April 15, 2012, 9:34am UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466/8 "2012-04-15T09:34:46Z")

</div>

This is the url of the stream manager [http://localhost:8086/streammanager/](http://localhost:8086/streammanager/).

And I can surly start receiving stream with click on “start receiving stream”. Bit when I hover over it, there is no URL I can copy.

Enrico

---

<div class="post-metadata">

**Author:** ![Enrico\_Schulze](https://avatars.discourse-cdn.com/v4/letter/e/ce7236/32.png) [@Enrico\_Schulze](https://community.wowza.com/u/Enrico_Schulze)\
**Post date:** [April 17, 2012, 2:29am UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466/9 "2012-04-17T02:29:58Z")

</div>

Hi,

Thanks for answer. I found out this url-formats, which works fine:

Start Stream:

[URL=“http://[wowza-address]:8086/streammanager/streamAction?action=startStream&vhostName=undefined&appName=vod%2F\_definst\_&streamName=camera.stream&groupId=&mediaCasterType=rtp”]http://[wowza-address]:8086/streammanager/streamAction?action=startStream&vhostName=undefined&appName=vod%2F\_definst\_&streamName=camera.stream&groupId=&mediaCasterType=rtp

Stop Stream:

[URL=“http://[wowza-address]:8086/streammanager/streamAction?action=deleteStream&vhostName=undefined&appName=vod%2F\_definst\_&streamName=camera.stream&groupId=&mediaCasterType=rtp”]http://[wowza-address]:8086/streammanager/streamAction?action=deleteStream&vhostName=undefined&appName=vod%2F\_definst\_&streamName=camera.stream&groupId=&mediaCasterType=rtp

It is similar to your given your url. But your Url don’t work for me.

Thanks,

Enrico

---

<div class="post-metadata">

**Author:** ![Kris\_Dudkiewicz](https://avatars.discourse-cdn.com/v4/letter/k/ac8455/32.png) [@Kris\_Dudkiewicz](https://community.wowza.com/u/Kris_Dudkiewicz)\
**Post date:** [April 15, 2014, 12:47pm UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466/10 "2014-04-15T12:47:09Z")

</div>

A followup to the Wowza Support.

We are in a kind of similar use case now, this time using the contemporary Streaming Engine 4.0: we would like to programmatically control connecting/disconnecting to/from the stream files, but avoid implementing our own HTTPProvider plugin. Can we still rely on the future existence of the service on port 8086?

Best regards,

Kris.

---

<div class="post-metadata">

**Author:** ![Kris\_Dudkiewicz](https://avatars.discourse-cdn.com/v4/letter/k/ac8455/32.png) [@Kris\_Dudkiewicz](https://community.wowza.com/u/Kris_Dudkiewicz)\
**Post date:** [April 16, 2014, 10:19am UTC](https://community.wowza.com/t/start-and-stop-mediacaster-streams/38466/11 "2014-04-16T10:19:29Z")

</div>

Richard,

We are going to use GET requests on URLs similar to these:

```auto
http://[wowza-address]:8086/streammanager/streamAction?action=startStream&vhostName=undefined&appName=live%2F_definst_&streamName=cam.stream&mediaCasterType=rtp

```

plus of course we will have to handle http authentication.

But maybe Wowza is in fact blessing the use of such URLs for that purpose same way it officially supports “Recording live streams using URL queries” ([https://www.wowza.com/docs/how-to-record-live-streams-httplivestreamrecord](https://www.wowza.com/docs/how-to-record-live-streams-httplivestreamrecord)):

```auto
http://[wowza-ip-address]:8086/livestreamrecord?app=live&streamname=myStream&action=startRecording

```

?

Sure, if it happened that the new EngineManager running on port 8088 was capable of digesting such URLs I’d love to use them. Engine manager is likely to live much longer.

Best regards,

Kris.
