Results 1 to 2 of 2

Thread: How to create a new Publisher programmatically?

  1. #1
    Join Date
    May 2015

    Default How to create a new Publisher programmatically?


    is there a way to create a wowza publisher account with username and password programmatically? while i was cheking the serverside api manual, i found a method named addPublisher which takes a publisher object. but i dont know where to use it or how to fill publisher object. Can you help me about using it ?
    Last edited by metesoy; 05-10-2015 at 11:38 PM.

  2. #2
    Join Date
    May 2013


    The Publisher API isn't associated with the publishing account as specified in the publish.password file. Here are couple of options:

    >> Write a module that modifies the publish.password file to add/remove access to/from it.

    >> You could look into doing something a bit more dynamic by taking advantage of User Authentication via JDBC article. You could modify this to leverage a file as well in lieu of a database. Or perhaps you might find this module as more direct drop-in replacement for the publish.password file.

    >> Alternatively, take a look into our REST Preview as you could initiate this via a request to the API. You could do a POST to http://localhost:8087/v2/servers/_defaultServer_/publishers endpoint and pass in the name and password accordingly (for creation).
    Last edited by matt_y; 05-12-2015 at 11:14 AM.

Similar Threads

  1. Create PHP/Java script to create stream on live
    By BadHash in forum Tutorials
    Replies: 1
    Last Post: 04-20-2015, 05:44 AM
  2. Create Publisher Programatically
    By balasubramanianp in forum General Forum
    Replies: 1
    Last Post: 06-20-2014, 05:07 AM
  3. 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
  4. Replies: 1
    Last Post: 06-19-2013, 08:53 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