# How to start the live streams with URL queries ?

**URL:** <https://community.wowza.com/t/how-to-start-the-live-streams-with-url-queries/43123>\
**Category:** Wowza Streaming Engine\
**Created:** [May 28, 2014, 11:39am UTC](https://community.wowza.com/t/how-to-start-the-live-streams-with-url-queries/43123 "2014-05-28T11:39:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Donald\_Lee](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@Donald\_Lee](https://community.wowza.com/u/Donald_Lee)\
**Post date:** [May 28, 2014, 11:39am UTC](https://community.wowza.com/t/how-to-start-the-live-streams-with-url-queries/43123/1 "2014-05-28T11:39:19Z")

</div>

We publish live streams from IP cam.

We need more format than RTMP, the “rtp-live” in Application.xml is not meet our requirement.

Can we start the live streams with URL queries like “Recording live streams with URL queries” in “[How to record live steams](https://www.wowza.com/docs/how-to-record-live-streams-wowza-streaming-engine)” ?

I found “MediaCaster API” maybe can solve our problem, can someone tell me more ?

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [May 28, 2014, 1:24am UTC](https://community.wowza.com/t/how-to-start-the-live-streams-with-url-queries/43123/2 "2014-05-28T01:24:19Z")

</div>

You could initiate a IP camera ingest via curl as follows:

```auto
curl --digest -u myuser:mypassword "http://[wowza-ip-address]:8086/streammanager/streamAction?action=startStream" --data "vhostName=[vhostname]&appName=[appname]/[appinstance]&streamName=[streamname]&mediaCasterType=[mediacaster-option]"
// You can also utilize action=deleteStream and action=resetStream accordingly (if/when needed). The mediaCasterType parameter would not be needed in the latter two cases.

```

Alternatively, you can use the [MediaCaster API](https://www.wowza.com/docs/how-to-use-the-wowza-streaming-engine-java-api-to-start-and-stop-mediacaster-streams) and setup a [HTTP Provider](https://www.wowza.com/docs/http-providers) to implement it (such that you could invoke the http provider in a similar manner via HTTP).

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [May 29, 2014, 5:59am UTC](https://community.wowza.com/t/how-to-start-the-live-streams-with-url-queries/43123/3 "2014-05-29T05:59:07Z")

</div>

I believe it must be a POST request so you won’t be able to place the url in a browser and expect the same results.

---

<div class="post-metadata">

**Author:** ![Donald\_Lee](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@Donald\_Lee](https://community.wowza.com/u/Donald_Lee)\
**Post date:** [May 28, 2014, 6:13pm UTC](https://community.wowza.com/t/how-to-start-the-live-streams-with-url-queries/43123/4 "2014-05-28T18:13:23Z")

</div>

Thanks for reply.

I test the curl command, it works in linux.

Can I use the URL in windows? Maybe with IE or Chrome ?
