Results 1 to 2 of 2

Thread: reloading streamSchedule / calling loadSchedule from external application

  1. #1
    Join Date
    Feb 2014
    Posts
    5

    Question reloading streamSchedule / calling loadSchedule from external application

    Hello,

    I have set up scheduled streaming with StreamPublisher following the guide from

    http://www.wowza.com/forums/content....-class-streams

    In total I have 11 separate streams that all run in parallel (start date in the past) and this works fine.

    However, I have the need to modify the smil file with the playlists every night automatically. this is being done in a scheduled task, by reading the new video files from the DB and over-writing the smil file. Here is the part where I'm stuck: now I need to reload the schedule by issuing a "loadSchedule" command:

    Use JConsole to connect to the JMX interface on your Wowza Media Server, and then run the loadSchedule operation directly on the module instance. In the MBeans tab, navigate to the AppInstance Modules/ModuleStreamPublisher/Instances/Operations tab, and then run the loadSchedule operation. An unloadSchedule operation is also available to shut down the streams.
    I'd like to issue the reload notification from either a .net program (if code exists for that) or simply by calling a windows executable/script/java command line app (if possible on another host that the wowza server). Is there any way to do this from either another external application or another scheduled task?

    I've tried the method from http://www.wowza.com/forums/showthre...dules-from-jmx -- but I have the same problem as described in there.

    The only other way I found so far is by stopping and restarting the Wowza service from a batch file, but that is far from ideal.

    thanks!

  2. #2

    Default

    This question is answered here

    Salvadore

Similar Threads

  1. Reloading schedules from jmx
    By aleksaad4 in forum Server-side Modules and Code Samples Discussion
    Replies: 4
    Last Post: 07-25-2014, 06:07 AM
  2. Replies: 1
    Last Post: 03-26-2014, 03:00 PM
  3. Missing function: loadSchedule
    By DrakaSAN in forum Server-side Modules and Code Samples Discussion
    Replies: 8
    Last Post: 07-22-2013, 08:54 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
  •