Page 9 of 9 FirstFirst ... 789
Results 81 to 86 of 86

Thread: Article: How to dynamically control Stream class streams

  1. #81
    Join Date
    Dec 2007
    Posts
    25,643

    Default

    Take a look at this example:

    http://www.wowza.com/forums/content....eam-controller

    Richard

  2. #82
    Join Date
    Jan 2012
    Posts
    7

    Default

    Hi, im trying to use the ModuleStreamControl, inside an httpprovider, to create or destroy streams
    All the examples i have found are using activescript clients, so i am a bit confused about params to use in .addNewStream function, cant either find an API for this module (just source code)

    We can suppose, that there is no one stream created yet. And i create then on demand way through an http request.
    Let that i have parsed the http petition an get the parameters kind_of_stream=dvr, streanname=live5

    In my Httpprovider code i aldo got this

    ModuleStreamControl controlador =new ModuleStreamControl();
    controlador.addNewStream(IClient client, RequestFunction function, AMFDataList params); ANS is HERE where i sont know how to pass kind_of stream and streammame as parameters to this method.


    Thanks
    Last edited by javicho; 04-25-2012 at 09:47 AM. Reason: Best problem explanation

  3. #83

    Default

    Hai everybody i tried to install the application,am getting error like this

    INFO server comment - ServerListenerStreamPublisher Started.
    INFO server comment -ServerListenerStreamPublisher: Failed to get Application can not run.
    INFO server comment - Wowza Media Server is started!

    And also my application is not runing

    Thanks
    Nath

  4. #84
    Join Date
    Dec 2007
    Posts
    25,643

  5. #85
    Join Date
    Feb 2013
    Posts
    3

    Default

    Is there any other way to control streams besides RTMP? I need exactly this functionality but I'm trying to drive the scheduling from a Rails app. My research so far has shown me that Ruby support for the RTMP protocol is relatively immature.

  6. #86
    Join Date
    Dec 2007
    Posts
    25,643

    Default

    It could be done with a HTTPProvider. Take a look at this example, which shows how to read querystring and get a reference to an application instance. From there you can do just about anything you do in a module.

    http://www.wowza.com/forums/content....n-HTTPProvider

    Richard

Page 9 of 9 FirstFirst ... 789

Posting Permissions

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