Results 1 to 3 of 3

Thread: Server Custom Global Variables

  1. #1

    Default Server Custom Global Variables

    is it possible to have for a wowza server instance (or an application instance) custom global variables?
    For example to define Server.NumberOfCurrentlyRunningStreams (update this variable from within the applications running), and if yes, how can this be accessed realtime?
    At the moment the only thing I figured is to define at application level and to call it from a flash client (not player,just any flash app) with and retrieve the variable.

  2. #2
    Join Date
    Dec 2007


    You can use WMSProperties. You can set Properties in the Application.xml Properties container or the Server.xml, then retrieve and set in an Application module.

    Get property from Server.xml:
    Server server = server.getInstance();
    String runningStreams = server.getProperties().getProperty("NumberOfCurrentlyRunningStreams");
    //set property
    server.getProperties().setProperty("NumberOfCurrentlyRunningStreams ", "100");
    Same with appInstance.		
    String runningStreams = appInstance.getProperties().getProperty("NumberOfCurrentlyRunningStreams");
    You can do this with IMediaStream, IClient, etc. also

  3. #3


    Thank you Richard.

Similar Threads

  1. Custom module to stop stream from post variables
    By FrankTrog in forum Wowza Streaming Server Java API
    Replies: 8
    Last Post: 05-06-2014, 12:54 PM
  2. Starting Out Global Use Questions
    By pixelsmith in forum General Forum
    Replies: 1
    Last Post: 05-20-2013, 07:38 AM

Posting Permissions

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