# Create Application through server side API

**URL:** <https://community.wowza.com/t/create-application-through-server-side-api/33905>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [March 31, 2014, 10:31pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905 "2014-03-31T22:31:40Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhilash\_Krishnan](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Abhilash\_Krishnan](https://community.wowza.com/u/Abhilash_Krishnan)\
**Post date:** [March 31, 2014, 10:31pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/1 "2014-03-31T22:31:40Z")

</div>

Is there any API available to create applications (live, void)?

---

<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:** [April 1, 2014, 8:27am UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/2 "2014-04-01T08:27:44Z")

</div>

This is not supported within the API any longer. You can create this manually by setting up the appropriate folders within the install or via the UI accordingly.

---

<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 1, 2014, 6:15pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/3 "2014-04-01T18:15:19Z")

</div>

No, you don’t have to re-start Wowza after adding a new application. It will be immediately available.

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 2, 2014, 5:01pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/4 "2014-04-02T17:01:16Z")

</div>

You really don’t, and I checked to be 100% sure that nothing has changed in Wowza Engine. You can create an empty folder named “testvod” to the [install-dir]/applications and use testvod immediately for simple video on demand streaming.

However, the Manager will not list this application on the Application page, so you can’t modify it through the manager. At least at present, you have to create applications with the Manager to be able to modify them in the Manager… Actually you just have to restart Wowza Engine and Manager.

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 2, 2014, 5:13pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/5 "2014-04-02T17:13:47Z")

</div>

If, perhaps, you are using .stream files, and adding them to StartUpStreams as part of your work-flow, you would then have to re-start Wowza, because StartUpStreams starts these streams when Wowza starts. You can start a single stream without adding to StartUpStreams and re-starting. If the live source is an RTMP live encoder (like Wirecast or a Flash app used as encoder) then you don’t have to re-start Wowza to start streaming with a newly created application.

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 3, 2014, 6:56pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/6 "2014-04-03T18:56:32Z")

</div>

As an update and correction, in my tests, after you add an application manually, you have to re-start Wowza Engine and the Wowza Manager for the new app to appear in the Manager. It will be listed under “Other Apps” unless you modify the Application.xml /AppType and make that “VOD” or “LIVE”, as appropriate.

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 7, 2014, 9:14pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/7 "2014-04-07T21:14:29Z")

</div>

The current [version of the scheduler](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher%28StreamPublisher%29) can be configured by application, and the schedule for an application can be reloaded.

And the [basic API behind the scheduler](https://www.wowza.com/docs/how-to-do-basic-server-side-publishing-with-stream-class-streams) might be useful to you.

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 22, 2014, 12:14pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/8 "2014-04-22T12:14:17Z")

</div>

The current scheduler supports one scheduler per application, but it can have many streams defined in that schedule. It is Wowza that reads the smil file, creating server-side streams. The source of these server-side (Stream class) streams can be a file, or another live stream.

Richard

---

<div class="post-metadata">

**Author:** ![Abhilash\_Krishnan](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Abhilash\_Krishnan](https://community.wowza.com/u/Abhilash_Krishnan)\
**Post date:** [April 1, 2014, 7:32pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/9 "2014-04-01T19:32:56Z")

</div>

Once I set up appropriate folders within the install, do I need to restart the server?

---

<div class="post-metadata">

**Author:** ![Abhilash\_Krishnan](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Abhilash\_Krishnan](https://community.wowza.com/u/Abhilash_Krishnan)\
**Post date:** [April 2, 2014, 9:16pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/10 "2014-04-02T21:16:51Z")

</div>

> No, you don’t have to re-start Wowza after adding a new application. It will be immediately available.
> 
> Richard

I can see that you need to restart wowza once you manually create the folders within the install.

---

<div class="post-metadata">

**Author:** ![Abhilash\_Krishnan](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Abhilash\_Krishnan](https://community.wowza.com/u/Abhilash_Krishnan)\
**Post date:** [April 2, 2014, 10:35pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/11 "2014-04-02T22:35:08Z")

</div>

> You really don’t, and I checked to be 100% sure that nothing has changed in Wowza Engine. You can create an empty folder named “testvod” to the [install-dir]/applications and use testvod immediately for simple video on demand streaming.
> 
> However, the Manager will not list this application on the Application page, so you can’t modify it through the manager. At least at present, you have to create applications with the Manager to be able to modify them in the Manager.
> 
> Richard

I am trying to setup live video streaming by creating the folders within the install. I found that it requires a restart of the server for the playback.

---

<div class="post-metadata">

**Author:** ![Abhilash\_Krishnan](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Abhilash\_Krishnan](https://community.wowza.com/u/Abhilash_Krishnan)\
**Post date:** [April 4, 2014, 12:54am UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/12 "2014-04-04T00:54:15Z")

</div>

> If, perhaps, you are using .stream files, and adding them to StartUpStreams as part of your work-flow, you would then have to re-start Wowza, because StartUpStreams starts these streams when Wowza starts. You can start a single stream without adding to StartUpStreams and re-startingtio. If the live source is an RTMP live encoder (like Wirecast or a Flash app used as encoder) then you don’t have to re-start Wowza to start streaming with a newly created application.
> 
> Richard

I am using streamPublisher add-on module to work like a TV station. Is there any way I can create live stream application through the server-side API without server restart. I want the customers to create live application once they signup. Server restarts will be costly affair since there may be many connected clients.

---

<div class="post-metadata">

**Author:** ![Abhilash\_Krishnan](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Abhilash\_Krishnan](https://community.wowza.com/u/Abhilash_Krishnan)\
**Post date:** [April 20, 2014, 8:58pm UTC](https://community.wowza.com/t/create-application-through-server-side-api/33905/13 "2014-04-20T20:58:54Z")

</div>

Can I use multiple smil files for the ‘live’ application i.e. each stream should read it’s own smil file instead of a common smil file?
