Results 1 to 10 of 21

Thread: Starting and stoping live streams programmatically

Hybrid View

  1. #1

    Default Starting and stoping live streams programmatically

    I need to start and stop a live stream programmatically.

    I've been told before to look into HTTPProviders for this, which appear to allow me to create an API to interact with as far as I can tell, and the authentication would work the same way that it does for the localhost:8500/streammanager interface (am I right here?).

    My question is that if the HTTPProvider allows me to create a streammanager like API, then why can't I just use the streammanger API?

    It looks like I just need to create a form post to the 'streamAction' page with the right data and that would work? assuming I get the authentication part working right.. does anyone have any tips on how to do this authentication too, if it is possible?

    Thanks,

  2. #2
    Join Date
    Dec 2007
    Posts
    25,681

    Default

    If you are stopping and starting MediaCaster streams, e.g. IP camera or mpeg-ts stream, then you can use StreamManager.

    If you are talking about stopping and starting RTMP or RTP push encoder, a software or hardware encoder that is pushing a stream to Wowza, StreamManager or HTTPProvider won't work.

    Richard

  3. #3

    Default

    Quote Originally Posted by rrlanham View Post
    If you are stopping and starting MediaCaster streams, e.g. IP camera or mpeg-ts stream, then you can use StreamManager.
    This one, IP camera.

    How can I use the streammanager? is it possible to make a http request to get these start/stop actions done?

  4. #4

    Default

    Is it possible to execute actions on the streammanager via command line? http request (appears so)? or programmatically via Java class living in the same Java environment or something?

  5. #5
    Join Date
    May 2011
    Posts
    470

    Default

    You can use HTTP requests and send those requests to the Stream Manager or use the MediaCaster API directly to stop/start streams.

    -Lisa

  6. #6

    Default

    Since we want to be able to scale (ie: introduce as many wowza servers as we want), I'm thinking http requests would be a better method. This does look possible, if I read the html source code for the stream manager, but is there not any documentation for this?

  7. #7
    Join Date
    Dec 2007
    Posts
    25,681

    Default

    The MediaCaster API which StreamManager uses is very simple really:

    http://www.wowza.com/forums/content....-stop-a-stream

    Richard

Posting Permissions

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