Results 1 to 2 of 2

Thread: how to create applications programmatically from another server

  1. #1

    Question how to create applications programmatically from another server

    we have
    server 1 as wowza server
    server 2 as application server

    we would like to programmatically create application on server 1 from server 2 ?

    will we have to create folders conf/appname and copy the xml files to create a new application or is there any other way of doing it
    how do we call server 1 to trigger the creation of application
    may be a custom module which will listen (tcp) on some port and server 2 will connect and send command to server 1 to trigger the applicaton creation
    is this the right way to do it ?

  2. #2



    There are a few ways of doing this but the easiest is to just use something like ftp or scp to create the remote folders and upload or copy the Application.xml file and any other files needed.

    If all of your applications use the same configuration then you only need one application.xml in the conf folder. You only need separate Application.xml files in their own folders when the configuration differs between applications. You still need a separate folder for each in the applications folder though.

    You could also use a custom http provider on Wowza to listen for application creation commands. Essentially, it would do the same thing. It would create the folders and then copy and perhaps modify an existing Application.xml file from somewhere.

    In the IVHost api, there are a couple of very old methods for createApplication and deleteApplication. These are pretty limited on what can be done and are no longer used so may be removed at some stage.


Similar Threads

  1. advice on how to create a stream programmatically
    By tartartartartar in forum Server-side Modules and Code Samples Discussion
    Replies: 1
    Last Post: 01-02-2014, 05:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts